From 9d46d234de3ac2d5c754932375e0cfe79b436939 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 15 Nov 2021 22:53:57 +0900 Subject: vim: do not load CSApprox if &termguicolors is enabled --- .vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()`. -- cgit v1.2.3-70-g09d2