Browse Source

Enable nvim omni completion

master
Arti Zirk 5 years ago
parent
commit
ce8ad09411
  1. 3
      .config/nvim/init.vim

3
.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 " https://begriffs.com/posts/2019-07-19-history-use-vim.html?hn=3#backups-and-undo
runtime swap.vim 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 let g:deoplete#enable_at_startup = 1
" Allow saving of files as sudo when I forgot to start vim using sudo. " Allow saving of files as sudo when I forgot to start vim using sudo.

Loading…
Cancel
Save