1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-25 01:10:59 +02:00

Enable nvim omni completion

This commit is contained in:
Arti Zirk 2019-12-02 22:30:07 +02:00
parent 8db0ee83a3
commit ce8ad09411

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.