[nvim] Minor deoplete, echodoc fixes

Simplified deoplete setup by removing options which only reiterate the
default. Fixed echodoc completion option list.
This commit is contained in:
Marty Oehme 2020-03-02 21:38:16 +01:00
parent 502d3ef821
commit 43a21d4775
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A
3 changed files with 10 additions and 7 deletions

View file

@ -9,14 +9,15 @@ let g:deoplete#enable_refresh_always =1
let g:deoplete#max_abbr_width =0 let g:deoplete#max_abbr_width =0
let g:deoplete#max_menu_width =0 let g:deoplete#max_menu_width =0
call deoplete#custom#option( {
\ 'camel_case': v:true,
\ 'max_abbr_width': 0,
\ 'max_menu_width': 0
\} )
call deoplete#custom#var('omni', 'input_patterns', { call deoplete#custom#var('omni', 'input_patterns', {
\'pandoc': '@\w*', \'pandoc': '@\w*',
\}) \})
call deoplete#custom#var('omni', 'functions', { call deoplete#custom#var('omni', 'functions', {
\'pandoc': 'pandoc#completion#Complete', \'pandoc': 'pandoc#completion#Complete',
\}) \})
call deoplete#custom#option({
\ 'auto_complete_delay': 0,
\ 'smart_case': v:true,
\})

View file

@ -2,7 +2,6 @@
let g:echodoc#type="virtual" let g:echodoc#type="virtual"
let g:echodoc_enable_at_startup=1 let g:echodoc_enable_at_startup=1
set splitbelow set splitbelow
set completeopt+=menuone,noinsert,noselect set completeopt+=menu,menuone,noinsert,noselect
set completeopt-=preview set completeopt-=preview
autocmd CompleteDone * pclose autocmd CompleteDone * pclose

View file

@ -25,3 +25,6 @@ Escobar
Sklair Sklair
Castells Castells
informationalism informationalism
Prestholdt
internet
Beckert