aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/sonictemplate.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/sonictemplate.vim b/autoload/sonictemplate.vim
index 913d7d3..9397efa 100644
--- a/autoload/sonictemplate.vim
+++ b/autoload/sonictemplate.vim
@@ -340,7 +340,7 @@ function! sonictemplate#postfix()
return ''
endif
let line = getline('.')[:col('.')]
- let line = escape(line, '\')
+ let line = escape(line, '\&')
for k in keys(s:pat[s:get_raw_filetype()])
let m = matchstr(line, k)
if len(m) > 0