From: martin f. krafft Date: Thu, 14 Oct 2021 02:06:41 +0000 (+1300) Subject: Enable YCM X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/3b1e45575f7227d910413bc0358481894b9da825?ds=sidebyside;hp=-c Enable YCM --- 3b1e45575f7227d910413bc0358481894b9da825 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 = ""