Dirty fix completed snippet problem in Python

This commit is contained in:
Shougo Matsushita 2016-08-17 11:56:01 +09:00
parent bd22f4ed56
commit b9e80738b9

View File

@ -120,6 +120,8 @@ function! neosnippet#view#_insert(snippet, options, cur_text, col) abort "{{{
\ }) \ })
if snip_word =~ neosnippet#get_placeholder_marker_pattern() if snip_word =~ neosnippet#get_placeholder_marker_pattern()
\ && (expand('<amatch>') == '' || &filetype !=# 'python')
" Note: Python filetype has completed snippet problem...
call neosnippet#view#_jump('', a:col) call neosnippet#view#_jump('', a:col)
endif endif
finally finally