From 3b7136de3e13eb0329b5d751a4e65219d5954de8 Mon Sep 17 00:00:00 2001 From: Donaldttt Date: Sat, 23 Jul 2022 23:11:12 -0400 Subject: [PATCH] fix bugs --- .vimrc.bundles | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.vimrc.bundles b/.vimrc.bundles index aaf32e8..d7f67a6 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -86,7 +86,11 @@ " } " only work with nvim > 0.5 - Plug 'xiyaowong/nvim-transparent' + " For other versions, just loading the plugin may + " cause error + if g:vim_type == 'nvim' && g:vim_version > 0.5 + Plug 'xiyaowong/nvim-transparent' + endif Plug 'EdenEast/nightfox.nvim' Plug 'catppuccin/vim', { 'as': 'catppuccin' } @@ -297,6 +301,7 @@ " { " vim theme elseif isdirectory(expand(plugin_dir . "/papercolor-theme")) + " improve coc color in this theme let g:light_theme = 'PaperColor' let g:dark_theme = 'PaperColor' endif