From 4dda39363b0d276dc82d319d249ed1d2ea9892da Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Tue, 6 Dec 2022 15:37:25 +0100 Subject: [PATCH] (vim) Complete healthcheck, disable mouse and fix coc auto completion --- .config/nvim/coc.vim | 2 ++ .config/nvim/init.vim | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/nvim/coc.vim b/.config/nvim/coc.vim index 6fdd232..74f01b9 100644 --- a/.config/nvim/coc.vim +++ b/.config/nvim/coc.vim @@ -158,6 +158,8 @@ inoremap inoremap coc#pum#visible() ? coc#pum#prev(1) : "\" inoremap coc#refresh() +inoremap coc#pum#visible() ? "=coc#pum#confirm()\ " : "\" + hi CocSearch ctermfg=12 guifg=#18A3FF hi CocMenuSel ctermbg=109 guibg=#13354A diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 7ca5a53..277f208 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -53,6 +53,11 @@ Plug 'mboughaba/i3config.vim' call plug#end() +" Disable integrated providers +let g:loaded_ruby_provider = 0 +let g:loaded_perl_provider = 0 +let g:loaded_node_provider = 0 + " autocmd vimenter * NERDTree | wincmd w map :NERDTreeToggle autocmd BufEnter * lcd %:p:h @@ -84,7 +89,7 @@ set splitbelow " Remove the duplicate --INSERT-- information set noshowmode -" rg smart root founder and adds git ingore loading for faster execution +" rg smart root founder and adds git ignore loading for faster execution if executable('rg') let g:rg_derive_root="true" endif @@ -175,3 +180,4 @@ augroup python \ | highlight def link pythonSelf Special augroup end +set mouse=