mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-15 19:45:46 +08:00
Fix lint
This commit is contained in:
parent
b98ab6ea7a
commit
747c7cf926
9
.vintrc.yaml
Normal file
9
.vintrc.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
cmdargs:
|
||||||
|
# Checking more strictly
|
||||||
|
severity: style_problem
|
||||||
|
|
||||||
|
policies:
|
||||||
|
ProhibitImplicitScopeVariable:
|
||||||
|
enabled: false
|
||||||
|
ProhibitAbbreviationOption:
|
||||||
|
enabled: false
|
@ -18,7 +18,7 @@ function! s:my_complete_done() abort "{{{
|
|||||||
if snippet ==# ''
|
if snippet ==# ''
|
||||||
return
|
return
|
||||||
endif
|
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)
|
call neosnippet#view#_insert(snippet, {}, cur_text, col)
|
||||||
endif
|
endif
|
||||||
endfunction"}}}
|
endfunction"}}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user