From b74f76e26755b4c6f2c0fc61e00176587848953d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 11 Apr 2023 14:06:32 +0100 Subject: Adds back tab for Ultisnips expansion And removes tab from YCM, which is useless. --- vim/vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index 35d0661..1e63413 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -82,12 +82,16 @@ nnoremap h (YCMToggleInlayHints) nnoremap gd :YcmCompleter GoToDefinition nnoremap gr :YcmCompleter GoToReferences nnoremap K :YcmCompleter GetDoc +" this will disable tab, allowing it to be used for ultisnips +let g:ycm_key_list_select_completion = ['', ''] +let g:ycm_key_list_previous_completion = ['', ''] + " snippets " Trigger configuration. You need to change this to something other than if you use one of the following: " - https://github.com/Valloric/YouCompleteMe " - https://github.com/nvim-lua/completion-nvim -let g:UltiSnipsExpandTrigger="" +let g:UltiSnipsExpandTrigger="" let g:UltiSnipsJumpForwardTrigger="" let g:UltiSnipsJumpBackwardTrigger="" -- cgit v1.2.3