Enable nvim omni completion

This commit is contained in:
Arti Zirk 2019-12-02 22:30:07 +02:00
parent 8db0ee83a3
commit ce8ad09411
1 changed files with 3 additions and 0 deletions

View File

@ -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 <C-X><C-O> 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.