aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vim/vimrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 2628c5c..d39f406 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -138,6 +138,14 @@ autocmd BufEnter *.html,*.slim if s:is_tailwind() |
\ endif
" YCM
+" *** STARTING AND ENABLING ***
+" Don't start on start - or use show_diagnostics below
+"let g:loaded_youcompleteme = 1
+"
+" with this set to 0, YCM doesn't load/start
+let g:ycm_show_diagnostics_ui = 1
+" ******************************
+
let g:ycm_enable_inlay_hints = 1
nnoremap <silent> <localleader>h <Plug>(YCMToggleInlayHints)
nnoremap gd :YcmCompleter GoToDefinition<CR>
@@ -149,7 +157,6 @@ let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
let g:ycm_python_interpreter_path = '.venv/bin/python3'
let g:ycm_auto_trigger = 0
let g:ycm_python_sys_path = []
-let g:ycm_show_diagnostics_ui = 1
let g:ycm_extra_conf_vim_data = [
\ 'g:ycm_python_interpreter_path',
\ 'g:ycm_python_sys_path'