aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2021-11-15 22:53:57 +0900
committernsfisis <nsfisis@gmail.com>2021-11-15 23:09:52 +0900
commit9d46d234de3ac2d5c754932375e0cfe79b436939 (patch)
tree497f678f7427e85484529682ffb018c9da4bb7b7
parent87487bdaf68e4f836276e4d39c10ff9c58a4df3d (diff)
downloaddotfiles-9d46d234de3ac2d5c754932375e0cfe79b436939.tar.gz
dotfiles-9d46d234de3ac2d5c754932375e0cfe79b436939.tar.zst
dotfiles-9d46d234de3ac2d5c754932375e0cfe79b436939.zip
vim: do not load CSApprox if &termguicolors is enabled
-rw-r--r--.vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index d66c241..2e62b90 100644
--- a/.vimrc
+++ b/.vimrc
@@ -415,7 +415,9 @@ Plug 'cocopon/colorswatch.vim'
" Write git commit message.
Plug 'rhysd/committia.vim'
" Make gui-only color schemes 256colors-compatible.
-Plug 'godlygeek/csapprox'
+if !exists('+termguicolors') || !&termguicolors
+ Plug 'godlygeek/csapprox'
+endif
" Fast Fuzzy Finder.
Plug 'ctrlpvim/ctrlp.vim'
" CtrlP's matcher by builtin `matchfuzzy()`.