Browse Source

Removed YCM lazy loading that was causing double launching server.

master
Daniel Sissom 7 months ago
parent
commit
00454476e4
Signed by: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 11 additions and 11 deletions
  1. + 11
    - 11
      vim/vimrc

+ 11
- 11
vim/vimrc

@ -177,17 +177,17 @@ endfunction
" Pick a more convenient spot for the latency from loading YCM " Pick a more convenient spot for the latency from loading YCM
let g:YouCompleteMeLazyLoaded = 0
function! LazyLoadingYMC()
if g:YouCompleteMeLazyLoaded == 0
let g:YouCompleteMeLazyLoaded = 1
call plug#load('YouCompleteMe') | call youcompleteme#Enable()
endif
endfunction
if g:use_pluggin_manager == 1
autocmd BufRead * call timer_start(1, {id->execute('call LazyLoadingYMC()')} )
" (also try BufWinEnter, InsertEnter, or CursorHold and CursorHoldI events)
endif
"let g:YouCompleteMeLazyLoaded = 0
"function! LazyLoadingYMC()
" if g:YouCompleteMeLazyLoaded == 0
" let g:YouCompleteMeLazyLoaded = 1
" call plug#load('YouCompleteMe') | call youcompleteme#Enable()
" endif
"endfunction
"if g:use_pluggin_manager == 1
" autocmd BufRead * call timer_start(1, {id->execute('call LazyLoadingYMC()')} )
" " (also try BufWinEnter, InsertEnter, or CursorHold and CursorHoldI events)
"endif
" Enable vimtex completions for YCM " Enable vimtex completions for YCM

Loading…
Cancel
Save