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