From 3b1e45575f7227d910413bc0358481894b9da825 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 14 Oct 2021 15:06:41 +1300 Subject: [PATCH 1/1] Enable YCM --- .vim/autoload/youcompleteme.vim | 1 + .vim/doc/youcompleteme.txt | 1 + .vim/plugin/youcompleteme.vim | 1 + .vimrc | 3 +++ 4 files changed, 6 insertions(+) create mode 120000 .vim/autoload/youcompleteme.vim create mode 120000 .vim/doc/youcompleteme.txt create mode 120000 .vim/plugin/youcompleteme.vim diff --git a/.vim/autoload/youcompleteme.vim b/.vim/autoload/youcompleteme.vim new file mode 120000 index 0000000..861db0b --- /dev/null +++ b/.vim/autoload/youcompleteme.vim @@ -0,0 +1 @@ +/usr/share/vim-youcompleteme/autoload/youcompleteme.vim \ No newline at end of file diff --git a/.vim/doc/youcompleteme.txt b/.vim/doc/youcompleteme.txt new file mode 120000 index 0000000..f5669d2 --- /dev/null +++ b/.vim/doc/youcompleteme.txt @@ -0,0 +1 @@ +/usr/share/vim-youcompleteme/doc/youcompleteme.txt \ No newline at end of file diff --git a/.vim/plugin/youcompleteme.vim b/.vim/plugin/youcompleteme.vim new file mode 120000 index 0000000..b6f29b6 --- /dev/null +++ b/.vim/plugin/youcompleteme.vim @@ -0,0 +1 @@ +/usr/share/vim-youcompleteme/plugin/youcompleteme.vim \ No newline at end of file diff --git a/.vimrc b/.vimrc index 5db511d..3ea3e40 100644 --- a/.vimrc +++ b/.vimrc @@ -1510,6 +1510,9 @@ endtry let g:is_posix = 1 +let g:ycm_add_preview_to_completeopt="popup" +let g:ycm_autoclose_preview_window_after_completion = 1 + let g:UltiSnipsExpandTrigger = "" let g:UltiSnipsJumpForwardTrigger = "" let g:UltiSnipsJumpBackwardTrigger = "" -- 2.39.5