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

5 Commits

Author SHA1 Message Date
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