diff --git a/.vintrc.yaml b/.vintrc.yaml new file mode 100644 index 000000000..45a77de54 --- /dev/null +++ b/.vintrc.yaml @@ -0,0 +1,9 @@ +cmdargs: + # Checking more strictly + severity: style_problem + +policies: + ProhibitImplicitScopeVariable: + enabled: false + ProhibitAbbreviationOption: + enabled: false diff --git a/config/plugins/neosnippet.vim b/config/plugins/neosnippet.vim index 94fdae3f2..7bf90f22f 100644 --- a/config/plugins/neosnippet.vim +++ b/config/plugins/neosnippet.vim @@ -18,7 +18,7 @@ function! s:my_complete_done() abort "{{{ if snippet ==# '' return endif - let [cur_text, col, _] = neosnippet#mappings#_pre_trigger() + let [cur_text, col] = neosnippet#mappings#_pre_trigger()[0:1] call neosnippet#view#_insert(snippet, {}, cur_text, col) endif endfunction"}}}