[vim/vim] runtime(vim): Update base syntax, match user-command args (PR #21035)

5 views
Skip to first unread message

dkearns

unread,
Aug 12, 2026, 11:03:25 PMAug 12
to vim/vim, Subscribed
  • Trailing bar and tail comments are not explicitly supported. The
    command is matched to EOL.

  • In Vim9 script the following always matches as an assignment:
    UserCommand = 2
    Use a leading colon to force matching the user command:
    :UserCommand = 2

Fixes #20854.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21035

Commit Summary

  • 251fc36 runtime(vim): Update base syntax, match user-command args

File Changes

(8 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21035@github.com>

Christian Brabandt

unread,
Aug 13, 2026, 2:37:31 PMAug 13
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#21035)

thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21035/c5284882514@github.com>

Magnus Groß

unread,
12:55 PM (9 hours ago) 12:55 PM
to vim/vim, Subscribed
vimpostor left a comment (vim/vim#21035)

FYI this broke highlighting in vimrc for plugin manager related lines.

For example consider the line

Plug 'tpope/vim-surround' "comment

Before this patch the string inside the string literals was highlighted as string, and the comment was highlighted as comment, now nothing gets highlighted anymore.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21035/c5543799491@github.com>

dkearns

unread,
1:30 PM (9 hours ago) 1:30 PM
to vim/vim, Subscribed
dkearns left a comment (vim/vim#21035)

See: #21160


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/21035/c5544177245@github.com>

Reply all
Reply to author
Forward
0 new messages