Fix completed snippets error

This commit is contained in:
Shougo Matsushita 2017-03-31 08:02:21 +09:00
parent b869a031a9
commit 368f83d39c

View File

@ -318,6 +318,7 @@ function! neosnippet#parser#_get_completed_snippet(completed_item, cur_text, nex
if item.info != '' if item.info != ''
let abbr .= split(item.info, '\n')[0] let abbr .= split(item.info, '\n')[0]
endif endif
let abbr = escape(abbr, '\')
let pairs = neosnippet#util#get_buffer_config( let pairs = neosnippet#util#get_buffer_config(
\ &filetype, '', \ &filetype, '',
\ 'g:neosnippet#completed_pairs', 'g:neosnippet#_completed_pairs', {}) \ 'g:neosnippet#completed_pairs', 'g:neosnippet#_completed_pairs', {})