diff options
author | Matthew Lemon <y@yulqen.org> | 2023-08-20 17:41:03 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-08-20 17:41:03 +0100 |
commit | 98165e4932e9bb0871f27b6461983e4a099eed3c (patch) | |
tree | a02da79e41b00c9150509f42797bcfa97414d6b2 /vim/vimrc | |
parent | d88e25d2282df5c08f1551d3435f65adda5a6b29 (diff) |
Some YCM config
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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' |