mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3646: using <sfile> in a function gives an unexpected result
Problem: Using <sfile> in a function gives an unexpected result. Solution: Give an error in a Vim9 function. (issue #9189)
This commit is contained in:
@@ -684,3 +684,5 @@ EXTERN char e_ascii_code_not_in_range[]
|
||||
INIT(= N_("E1243: ASCII code not in 32-127 range"));
|
||||
EXTERN char e_bad_color_string_str[]
|
||||
INIT(= N_("E1244: Bad color string: %s"));
|
||||
EXTERN char e_cannot_expand_sfile_in_vim9_function[]
|
||||
INIT(= N_("E1245: Cannot expand <sfile> in a Vim9 function"));
|
||||
|
Reference in New Issue
Block a user