summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-08-22 04:52:44 +0100
committerMatthew Lemon <y@yulqen.org>2023-08-22 04:52:44 +0100
commitee588460d348bb79d1df23e24af62372a0282188 (patch)
tree8b6213699056469682653904d44274dd882cb541
parent93a8f2d6032e898eba9d4f159585f8bf5dba7cc6 (diff)
Removes inlay hints from YCM config
Diffstat (limited to '')
-rw-r--r--vim/vimrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index dc7631f..41d605a 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -133,12 +133,12 @@ autocmd BufEnter *.html,*.slim if s:is_tailwind() |
\ endif
" YCM
-let g:ycm_enable_inlay_hints = 1
nnoremap <silent> <localleader>h <Plug>(YCMToggleInlayHints)
nnoremap gd :YcmCompleter GoToDefinition<CR>
nnoremap <leader>gr :YcmCompleter GoToReferences<CR>
nnoremap K :YcmCompleter GetDoc<CR>
" this will disable tab, allowing it to be used for ultisnips
+let g:ycm_enable_inlay_hints = 0
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
let g:ycm_python_interpreter_path = '.venv/bin/python3'
@@ -154,8 +154,6 @@ nnoremap <leader>jd :YcmCompleter GoTo<CR>
imap <silent> <C-l> <Plug>(YCMToggleSignatureHelp)'.
-let g:ycm_enable_inlay_hints = 1
-
" ALE ale config
let g:ale_enabled = 1
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'