1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

10 Commits

Author SHA1 Message Date
jdhao
00cbed4cdc fix style issues as per vint 2020-09-24 23:01:10 +08:00
jdhao
d1b5076f9d move guicursor setting to ginit.vim 2020-09-22 22:25:23 +08:00
jdhao
1b97735bf2 chore: remove short url and replace with true url 2020-03-30 23:32:11 +08:00
jdhao
36de495cd8 Change cursor color and shape 2020-03-05 01:08:34 +08:00
jdhao
f16ae086ad
Update firenvim setting 2020-01-01 17:30:16 +08:00
jdhao
fd92f48677
Fix an issue with termguicolors option
According to https://github.com/equalsraf/neovim-qt/issues/604, nvim-qt will set the termguicolors
options when it is started. However, if we add `set notermguicolors` in init.vim, the nvim-qt setting will
not take effect after nvim-qt is started. So we need to remove the `set notermguicolors` setting in the
config.
2019-10-28 10:48:07 +08:00
jdhao
9d8d46197a
Fix a bug about termguicolors option
We can not detect whether nvim-qt is loaded when sourcing `init.vim`.
If termguicolors option is not set, we use a better color (badwolf in this case).
Gruvbox8 is terrible when termguicolors is not set.
2019-10-26 21:41:02 +08:00
jdhao
35a4fffe9d
Fix a bug about termguicolors
If we use nvim-qt, the TERM env variable may be empty. We should check if
we are using the GUI.
2019-10-26 17:23:24 +08:00
jdhao
09a84d1622
Fix true color support issue
Some terminal, for example, xshell, does not support true colors. In this case, we should not set the termguicolors option.
2019-10-24 12:10:06 +08:00
jdhao
460ec98052 Split large nvim config into several files for easier management 2019-09-26 23:18:19 +08:00