Fix #304 complete_done problem

This commit is contained in:
Shougo Matsushita 2015-12-13 15:53:44 +09:00
parent 2e188180fd
commit 03e1a6ef79

View File

@ -28,6 +28,7 @@ set cpo&vim
function! neosnippet#handlers#_complete_done() "{{{ function! neosnippet#handlers#_complete_done() "{{{
if empty(v:completed_item) || !g:neosnippet#enable_complete_done if empty(v:completed_item) || !g:neosnippet#enable_complete_done
\ || v:completed_item.word !~ '($'
return return
endif endif