commit 562840a2a16b4532f6d216c137506a7432c2e0e3
parent cf37630d1b1443427c13e0a35e0a12b39e1415db
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 14 Apr 2023 14:40:42 +0800
vim-patch:8.2.1125: Vim9: double quote can be a string or a comment
Problem: Vim9: double quote can be a string or a comment.
Solution: Only support comments starting with # to avoid confusion.
https://github.com/vim/vim/commit/962d7213194647e90f9bdc608f693d39dd07cbd5
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
@@ -4679,8 +4679,8 @@ static int get_literal_key(char **arg, typval_T *tv)
/// Allocate a variable for a Dictionary and fill it from "*arg".
///
+/// @param arg "*arg" points to the "{".
/// @param literal true for #{key: val}
-/// @param flags can have EVAL_EVALUATE and other EVAL_ flags.
///
/// @return OK or FAIL. Returns NOTDONE for {expr}.
static int eval_dict(char **arg, typval_T *rettv, evalarg_T *const evalarg, bool literal)