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') \ (options.vertical ? 'vnew' : 'new')
endif endif
if filereadable(filename) edit `=filename`
edit `=filename`
else
enew
silent! setfiletype snippet
saveas `=filename`
endif
endfunction"}}} endfunction"}}}
function! s:initialize_options(options)"{{{ function! s:initialize_options(options)"{{{