]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(javascript): Add "using" keyword to JavaScript syntax highlighting
authorDevin Weaver <suki@tritarget.org>
Wed, 24 Sep 2025 17:56:00 +0000 (17:56 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 24 Sep 2025 17:56:00 +0000 (17:56 +0000)
commit4b97fc901fd5fc52c2e9ac77c3710976cec5ea9a
treec1e58e171e3ba953d51b818a84182365270609fd
parent7376fa3fd8589954e6c855ab8ed13583a50dae86
runtime(javascript): Add "using" keyword to JavaScript syntax highlighting

Prior to this change, const and let were keywords for variable
declarations.

This change adds `using` as another keyword for variable declaration.

This JavaScript feature was recently introduced.

Docs:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using

closes: #18381

Signed-off-by: Devin Weaver <suki@tritarget.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/javascript.vim