mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00
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.
962d721319
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -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".
|
/// Allocate a variable for a Dictionary and fill it from "*arg".
|
||||||
///
|
///
|
||||||
|
/// @param arg "*arg" points to the "{".
|
||||||
/// @param literal true for #{key: val}
|
/// @param literal true for #{key: val}
|
||||||
/// @param flags can have EVAL_EVALUATE and other EVAL_ flags.
|
|
||||||
///
|
///
|
||||||
/// @return OK or FAIL. Returns NOTDONE for {expr}.
|
/// @return OK or FAIL. Returns NOTDONE for {expr}.
|
||||||
static int eval_dict(char **arg, typval_T *rettv, evalarg_T *const evalarg, bool literal)
|
static int eval_dict(char **arg, typval_T *rettv, evalarg_T *const evalarg, bool literal)
|
||||||
|
Reference in New Issue
Block a user