[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:
parent
502d3ef821
commit
43a21d4775
3 changed files with 10 additions and 7 deletions
|
@ -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,
|
|
||||||
\})
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -25,3 +25,6 @@ Escobar
|
||||||
Sklair
|
Sklair
|
||||||
Castells
|
Castells
|
||||||
informationalism
|
informationalism
|
||||||
|
Prestholdt
|
||||||
|
internet
|
||||||
|
Beckert
|
||||||
|
|
Loading…
Reference in a new issue