Fix #343 check modifiable
This commit is contained in:
parent
ce3c3d209c
commit
9eac227835
@ -60,6 +60,10 @@ function! neosnippet#handlers#_cursor_moved() abort "{{{
|
||||
endfunction"}}}
|
||||
|
||||
function! neosnippet#handlers#_all_clear_markers() abort "{{{
|
||||
if !&l:modifiable
|
||||
return
|
||||
endif
|
||||
|
||||
let pos = getpos('.')
|
||||
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user