Fix #343 check modifiable

This commit is contained in:
Shougo Matsushita 2016-05-17 20:50:40 +09:00
parent ce3c3d209c
commit 9eac227835
1 changed files with 4 additions and 0 deletions

View File

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