[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:
Marty Oehme 2020-05-05 09:53:46 +02:00
parent 3f855e5a8a
commit c8f9d31312
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A
3 changed files with 7 additions and 10 deletions

View file

@ -2,15 +2,12 @@
" For async completion
" enable deoplete at startup
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( {
\ 'camel_case': v:true,
\ 'smart_case': v:true,
\ 'ignore_case': v:true,
\ 'refresh_always': v:true,
\ 'max_abbr_width': 0,
\ 'max_menu_width': 0
\} )

View file

@ -16,10 +16,10 @@ let g:go_highlight_operators = 1
let g:go_highlight_structs = 1
let g:go_highlight_types = 1
" 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
" TODO do I need this? not doing it automatically does lead to more conscious
" decision making on imports
let g:go_fmt_command = "goimports"
" show type information for variables in the status line
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

View file

@ -36,7 +36,7 @@ function! PrependDatestamp(text) abort
endfunction
" 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]']