Don't create file in editting snippet file

This commit is contained in:
Shougo Matsushita 2012-10-06 20:04:08 +09:00
parent 4e8f2ab813
commit 23dd5a099e

View File

@ -262,13 +262,7 @@ function! neosnippet#edit_snippets(args)"{{{
\ (options.vertical ? 'vnew' : 'new')
endif
if filereadable(filename)
edit `=filename`
else
enew
silent! setfiletype snippet
saveas `=filename`
endif
edit `=filename`
endfunction"}}}
function! s:initialize_options(options)"{{{