mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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.
This commit is contained in:
@@ -342,7 +342,7 @@ handle_import(
|
||||
goto erret;
|
||||
}
|
||||
|
||||
arg = skipwhite_and_linebreak_keep_string(arg + 4, evalarg);
|
||||
arg = skipwhite_and_linebreak(arg + 4, evalarg);
|
||||
tv.v_type = VAR_UNKNOWN;
|
||||
// TODO: should we accept any expression?
|
||||
if (*arg == '\'')
|
||||
|
Reference in New Issue
Block a user