1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-13 02:05:40 +08:00
This commit is contained in:
wsdjeg 2016-12-26 21:42:07 +08:00
parent b98ab6ea7a
commit 747c7cf926
2 changed files with 10 additions and 1 deletions

9
.vintrc.yaml Normal file
View File

@ -0,0 +1,9 @@
cmdargs:
# Checking more strictly
severity: style_problem
policies:
ProhibitImplicitScopeVariable:
enabled: false
ProhibitAbbreviationOption:
enabled: false

View File

@ -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"}}}