Fix #382 escape problem

This commit is contained in:
Shougo Matsushita 2017-04-18 08:26:27 +09:00
vecāks affc71bd9f
revīzija 1a6653b69d
1 mainīti faili ar 1 papildinājumiem un 1 dzēšanām

Parādīt failu

@ -67,7 +67,7 @@ function! neosnippet#view#_insert(snippet, options, cur_text, col) abort "{{{
\ '<|\1|>', 'g')
" Substitute escaped characters.
let snip_word = substitute(snip_word, '\\\\', '\\', 'g')
let snip_word = substitute(snip_word, '\\\(\\\|`\)', '\1', 'g')
" Insert snippets.
let next_line = getline('.')[a:col-1 :]