commit | b8a9296cedb9fae35572041ef5cfa894f3ad9fbb | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Aug 20 18:02:47 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Aug 20 18:02:47 2020 +0200 |
tree | 4fc8dd365cd0a7f66a583e0d457b5e13a8252b72 | |
parent | df2524bbb495c880d094d9542abf7c23d739cc53 [diff] [blame] |
patch 8.2.1496: Vim9: cannot use " #" in a mapping Problem: Vim9: cannot use " #" in a mapping. Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746)
diff --git a/src/vim9compile.c b/src/vim9compile.c index 00572e3..025e8cb 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -6251,6 +6251,7 @@ usefilter = TRUE; if ((argt & EX_TRLBAR) && !usefilter) { + eap->argt = argt; separate_nextcmd(eap); if (eap->nextcmd != NULL) nextcmd = eap->nextcmd;