Browse Source

Fix #382 escape problem

PR/fix-warning
Shougo Matsushita 7 years ago
parent
commit
1a6653b69d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoload/neosnippet/view.vim

+ 1
- 1
autoload/neosnippet/view.vim 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, '\\\\', '\\', 'g')
let snip_word = substitute(snip_word, '\\\(\\\|`\)', '\1', 'g')

" Insert snippets.
let next_line = getline('.')[a:col-1 :]


Loading…
Cancel
Save