dotfiles/nvim/.config/nvim/plugin/deoplete.vim
Marty Oehme c8f9d31312
[nvim] Update plugin options to new versions
Updated deoplete to remove legacy options. Updated wiki.vim custom
function call to new name. Changed simple vim-go options.
2020-05-05 09:53:46 +02:00

20 lines
526 B
VimL

" PLUGIN: DEOPLETE
" For async completion
" enable deoplete at startup
let g:deoplete#enable_at_startup =1
call deoplete#custom#option( {
\ 'camel_case': v:true,
\ 'smart_case': v:true,
\ 'ignore_case': v:true,
\ 'refresh_always': v:true,
\ 'max_abbr_width': 0,
\ 'max_menu_width': 0
\} )
call deoplete#custom#var('omni', 'input_patterns', {
\'pandoc': '@\w*',
\})
call deoplete#custom#var('omni', 'functions', {
\'pandoc': 'pandoc#completion#Complete',
\})