mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 02:21:51 +00:00
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.
1e56bda904
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -407,4 +407,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ö%
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
||||
Reference in New Issue
Block a user