From ce8ad09411ddf4476aee6a74567085fbccd87fc1 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Mon, 2 Dec 2019 22:30:07 +0200 Subject: [PATCH] Enable nvim omni completion --- .config/nvim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index f007249..3187430 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -12,6 +12,9 @@ highlight CursorLine guibg=#303000 ctermbg=234 " https://begriffs.com/posts/2019-07-19-history-use-vim.html?hn=3#backups-and-undo runtime swap.vim +" enable omni completion +set omnifunc=syntaxcomplete#Complete +" more advanced deoplete completion let g:deoplete#enable_at_startup = 1 " Allow saving of files as sudo when I forgot to start vim using sudo.