forked from aniani/vim
patch 9.0.0104: going beyond allocated memory when evaluating string constant
Problem: Going beyond allocated memory when evaluating string constant. Solution: Properly skip over <Key> form.
This commit is contained in:
@@ -617,4 +617,9 @@ func Test_modified_char_no_escape_special()
|
||||
nunmap <M-…>
|
||||
endfunc
|
||||
|
||||
func Test_eval_string_in_special_key()
|
||||
" this was using the '{' inside <> as the start of an interpolated string
|
||||
silent! echo 0{1-$"\<S--{>n|nö% |