Dirty fix completed snippet problem in Python
This commit is contained in:
parent
bd22f4ed56
commit
b9e80738b9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user