Fix #383 escape problem

This commit is contained in:
Shougo Matsushita
2017-04-20 07:25:32 +09:00
parent 1a6653b69d
commit c91ac0b67f
2 changed files with 2 additions and 2 deletions

View File

@@ -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, '\\\(\\\|`\)', '\1', 'g')
let snip_word = substitute(snip_word, '\\\(\\\|`\|\$\)', '\1', 'g')
" Insert snippets.
let next_line = getline('.')[a:col-1 :]