mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -6251,6 +6251,7 @@ compile_exec(char_u *line, exarg_T *eap, cctx_T *cctx)
|
||||
usefilter = TRUE;
|
||||
if ((argt & EX_TRLBAR) && !usefilter)
|
||||
{
|
||||
eap->argt = argt;
|
||||
separate_nextcmd(eap);
|
||||
if (eap->nextcmd != NULL)
|
||||
nextcmd = eap->nextcmd;
|
||||
|
Reference in New Issue
Block a user