Skip to content

vim syntax: comments after command is not recognized after v9.2.0957 #21160

Description

@bennyyip

Steps to reproduce

Pack 'chrisbra/NrrwRgn' # :NR :NW :NRV :WR
Image

Pack is a command, and after v9.2.0957 it's highlighted as vimUsrCmd. The rest of the line is highlighted as vimUsrCmdArgs.

Probably 21e5e76 introduced this regression.

https://github.com/vim/vim-win32-installer/releases/download/v9.2.0957/gvim_9.2.0957_x64_signed.exe
https://github.com/vim/vim-win32-installer/releases/download/v9.2.0957/gvim_9.2.0957_x64_signed.exe

Expected behaviour

Image

On v9.2.0933, Pack is highlighted as vimUsrCmd and the rest of the line is highlighted as vimString and vim9Comment

Version of Vim

9.2.0957

Environment

Windows 11

Logs and stack traces

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions