[vim/vim] runtime(screen): Bring the syntax up to version 5 (PR #20550)

3 views
Skip to first unread message

Aliaksei Budavei

unread,
Jun 17, 2026, 6:23:55 PM (8 hours ago) Jun 17
to vim/vim, Subscribed
  • Match command names introduced in v.5.0.0 (August 2024):
    auth, multiinput, status, truecolor.
  • Match command names introduced in v.4.5.0 (January 2017):
    defdynamictitle and dynamictitle.
  • Deprecate command names that have been retired thus far:
    debug, maxwin, nethack, password, time.
  • Remove a spurious defzombie command name (this name is
    just lamented over in the documentation entry for the
    zombie command as being more fitting than zombie
    because its effects are not local to a window; no such
    name is entered in comm.c).
  • Separately group the Braille navigation commands, bd_*,
    that may belong to another, superset program Dotscreen:
    (see doc/README.DOTSCREEN and commit 848af83f5 elsewhere).
  • Revise string escape characters:
    • Recognise more characters, %[`<>=eEfFHOPSxX].
    • Recognise undocumented characters, %[gNpT], and list
      relevant Screen commits in the comments.
    • Match optional qualifiers, %\%([-+L]\|\d\+\)..
  • Match more items in double-quoted command arguments.
  • Match unquoted environment variable references.
  • Match octal and hexadecimal (version 5) numbers.
  • Match whole escaped numbers, e.g. bind \077 help.

Unless a Dotscreen program (c. 1995) or an older than
v.4.3.1 (c. 2015) Screen program, that was compiled with
HAVE_BRAILLE defined, is installed and needs configuring,
add to .vim/after/syntax/screen.vim:

if hlexists('dotscreenCommands')
    syn clear dotscreenCommands
endif

To BACKPORT the updated syntax file to version 4 of Screen,
add to .vim/after/syntax/screen.vim:

if hlexists('screenDeprecatedCommands')
    syn clear screenDeprecatedCommands
endif

if hlexists('screenVersion5Commands')
    syn clear screenVersion5Commands
endif

if hlexists('screenHexadecimalNumber')
    syn clear screenHexadecimalNumber
endif

References:
https://lists.gnu.org/archive/html/info-gnu/2024-08/msg00004.html
https://lists.gnu.org/archive/html/info-gnu/2017-01/msg00007.html
https://git.savannah.gnu.org/git/screen.git


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

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

Commit Summary

  • 4560ec8 runtime(screen): Bring the syntax up to version 5

File Changes

(5 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/20550@github.com>

Aliaksei Budavei

unread,
Jun 17, 2026, 6:25:36 PM (8 hours ago) Jun 17
to vim/vim, Subscribed
zzzyxwvut left a comment (vim/vim#20550)

I have requested a review from the maintainer by email.


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/20550/c4736062347@github.com>

Reply all
Reply to author
Forward
0 new messages