diff options
author | mattn <mattn.jp@gmail.com> | 2019-03-15 16:05:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-15 16:05:54 +0900 |
commit | 89a80b787754b348071a905d1705a1aaceebf59f (patch) | |
tree | 3d96e37be0b782bda7edb5ab86b04df7fc1c237f /autoload | |
parent | bc011a7f16da82584bda70bb7b4d575c2525fa88 (diff) | |
parent | ae8e1818efe27bb946fd948fc2fe8cc3f38e0e2d (diff) | |
download | vim-sonictemplate-89a80b787754b348071a905d1705a1aaceebf59f.tar.gz vim-sonictemplate-89a80b787754b348071a905d1705a1aaceebf59f.tar.bz2 vim-sonictemplate-89a80b787754b348071a905d1705a1aaceebf59f.zip |
Merge pull request #30 from Jagua/fix-postfix-escape
Fix missing backslash escape at postfix and add some postfix patterns
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/sonictemplate.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/sonictemplate.vim b/autoload/sonictemplate.vim index a98f3e2..9397efa 100644 --- a/autoload/sonictemplate.vim +++ b/autoload/sonictemplate.vim @@ -340,6 +340,7 @@ function! sonictemplate#postfix() return '' endif let line = getline('.')[:col('.')] + let line = escape(line, '\&') for k in keys(s:pat[s:get_raw_filetype()]) let m = matchstr(line, k) if len(m) > 0 |