Improve NeoSnippetClearMarkers behavior
This commit is contained in:
parent
58ac259dc5
commit
a272ad16d1
@ -175,6 +175,8 @@ function! neosnippet#commands#_clear_markers() "{{{
|
||||
endif
|
||||
|
||||
call setpos('.', pos)
|
||||
|
||||
call neosnippet#variables#clear_expand_stack()
|
||||
endtry
|
||||
endfunction"}}}
|
||||
|
||||
|
@ -46,6 +46,9 @@ function! neosnippet#variables#expand_stack() "{{{
|
||||
|
||||
return s:expand_stack
|
||||
endfunction"}}}
|
||||
function! neosnippet#variables#clear_expand_stack() "{{{
|
||||
let s:expand_stack = []
|
||||
endfunction"}}}
|
||||
function! neosnippet#variables#snippets() "{{{
|
||||
if !exists('s:snippets')
|
||||
let s:snippets= {}
|
||||
|
Loading…
Reference in New Issue
Block a user