[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.
This commit is contained in:
parent
3f855e5a8a
commit
c8f9d31312
3 changed files with 7 additions and 10 deletions
|
@ -2,15 +2,12 @@
|
||||||
" For async completion
|
" For async completion
|
||||||
" enable deoplete at startup
|
" enable deoplete at startup
|
||||||
let g:deoplete#enable_at_startup =1
|
let g:deoplete#enable_at_startup =1
|
||||||
let g:deoplete#enable_ignore_case =1
|
|
||||||
let g:deoplete#enable_smart_case =1
|
|
||||||
let g:deoplete#enable_camel_case =1
|
|
||||||
let g:deoplete#enable_refresh_always =1
|
|
||||||
let g:deoplete#max_abbr_width =0
|
|
||||||
let g:deoplete#max_menu_width =0
|
|
||||||
|
|
||||||
call deoplete#custom#option( {
|
call deoplete#custom#option( {
|
||||||
\ 'camel_case': v:true,
|
\ 'camel_case': v:true,
|
||||||
|
\ 'smart_case': v:true,
|
||||||
|
\ 'ignore_case': v:true,
|
||||||
|
\ 'refresh_always': v:true,
|
||||||
\ 'max_abbr_width': 0,
|
\ 'max_abbr_width': 0,
|
||||||
\ 'max_menu_width': 0
|
\ 'max_menu_width': 0
|
||||||
\} )
|
\} )
|
||||||
|
|
|
@ -16,10 +16,10 @@ let g:go_highlight_operators = 1
|
||||||
let g:go_highlight_structs = 1
|
let g:go_highlight_structs = 1
|
||||||
let g:go_highlight_types = 1
|
let g:go_highlight_types = 1
|
||||||
" enable highlighting of other uses of the same variable
|
" enable highlighting of other uses of the same variable
|
||||||
let g:go_auto_sameids = 1
|
let g:go_auto_sameids = 0
|
||||||
" automatically import needed dependencies
|
" automatically import needed dependencies
|
||||||
" TODO do I need this? not doing it automatically does lead to more conscious
|
|
||||||
" decision making on imports
|
|
||||||
let g:go_fmt_command = "goimports"
|
let g:go_fmt_command = "goimports"
|
||||||
" show type information for variables in the status line
|
" show type information for variables in the status line
|
||||||
let g:go_auto_type_info = 1
|
let g:go_auto_type_info = 1
|
||||||
|
" disable go info in status window, since it overlaps ALE linter information
|
||||||
|
let g:go_echo_go_info = 0
|
||||||
|
|
|
@ -36,7 +36,7 @@ function! PrependDatestamp(text) abort
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" sets wiki.vim to automatically apply datestamp function to links
|
" sets wiki.vim to automatically apply datestamp function to links
|
||||||
let g:wiki_link_target_map = "PrependDatestamp"
|
let g:wiki_map_link_target = "PrependDatestamp"
|
||||||
|
|
||||||
let g:wiki_list_todos = ['[ ]', '[x]']
|
let g:wiki_list_todos = ['[ ]', '[x]']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue