zeertzjq
9505dfb9ed
vim-patch:076366b: runtime(javascript): Fix regex highlighting after (
...
- Fix regex highlighting after opening parens, javascriptParens was
matching later. Fixes issue vim/vim#20069 .
- Add missing regex flags.
- Mark the file as unmaintained. Thanks Claudio for all your work.
closes : vim/vim#20076
https://github.com/vim/vim/commit/076366bd4e8b89e722efc72a1b62d5b3d2ba62e0
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2026-04-27 06:21:25 +08:00
zeertzjq
0be3dee44f
vim-patch:4b97fc9: runtime(javascript): Add "using" keyword to JavaScript syntax highlighting ( #35910 )
...
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 : vim/vim#18381
https://github.com/vim/vim/commit/4b97fc901fd5fc52c2e9ac77c3710976cec5ea9a
Co-authored-by: Devin Weaver <suki@tritarget.org >
2025-09-24 23:28:21 +00:00
Christian Clason
6502dd43c4
vim-patch:589aa28: runtime(javascript): add "as" as a reserved keyword to syntax script
...
closes : vim/vim#17912
https://github.com/vim/vim/commit/589aa284f6a31184683505c8a6ba885ff3349316
Co-authored-by: Nir Lichtman <nir@lichtman.org >
2025-08-07 17:10:44 +02:00
tobil4sk
615f7bbff0
vim-patch:ea76096: runtime(javascript): fix a few issues with syntax higlighting ( #30049 )
...
It addresses the following issues:
- Fix highlight of let and var javascript keywords
According to runtime/doc/syntax.txt, Identifier is for variable names.
let/var are not variable names, they are keywords
- Add highlighting for "from" keyword in javascript
- Fix highlight of function keyword in javascript
According to docs, Function is for function names, so the function
keyword should just be Keyword.
- Fix highlight of static keyword in javascript
According to vim docs: StorageClass static, register, volatile, etc.
closes : vim/vim#15480
https://github.com/vim/vim/commit/ea76096fa98ac26c23703bffdc4d9b3dc8a94d7e
2024-08-14 22:43:34 +00:00
Christian Clason
60037feb56
vim-patch:e71e9d9ad368
...
runtime(javascript): fix default link of javaScriptNumber in syntax file (vim/vim#11788 )
cool unused matching
https://github.com/vim/vim/commit/e71e9d9ad368f83162a9c08217a9faf9bda909a7
Co-authored-by: Meqa <106783764+Meqativ@users.noreply.github.com >
2023-08-21 20:32:28 +09:00
Christian Clason
f0b3defecb
vim-patch:a5988f582e48
...
Keywords 'of' and 'yield' for Javascript. (vim/vim#7873 )
* Keyword 'of' in for...of statement.
* Keyword 'yield' for generator function.
https://github.com/vim/vim/commit/a5988f582e482150023862052d41e5215253a3de
Co-authored-by: Yuri Klimov <yuri@klimov.net >
2023-08-18 07:48:42 +02:00
Christian Clason
6eaf10502c
vim-patch:partial:63f32603789d ( #18916 )
...
Update runtime files
https://github.com/vim/vim/commit/63f32603789d1a27c559fc440325955fd0b8b500
skip translations
skip user manual rewrite
2022-06-10 08:40:32 +02:00
Jan Edmund Lazo
b8f3ef10c9
vim-patch:dad4473f02e1
...
Update runtime files.
https://github.com/vim/vim/commit/dad4473f02e1fec86d43a2fc094536a4b27d3b25
Omit :echoconsole. Patch v8.2.2638 is not ported.
2021-05-02 11:51:38 -04:00
Jan Edmund Lazo
a2f8a795cd
runtime/javascript: 388a5d4f20b4b64341d1604aa238cab85827b892
...
Port javascript syntax file only.
Ref https://github.com/neovim/neovim/issues/13185
2020-12-12 11:38:31 -05:00
Jan Edmund Lazo
e2be382977
runtime/javascript: 5be4ceecea5520265066eac972460ebb1cdf05e7
...
Port javascript syntax files only.
Ref: https://github.com/neovim/neovim/issues/13185
2020-12-12 11:38:25 -05:00
Justin M. Keyes
07fdbba9d0
vim-patch:91f84f6e11cd
...
Update runtime files.
https://github.com/vim/vim/commit/91f84f6e11cd879d43d651c0903d85bff95f0716
2018-10-29 09:55:07 +01:00
Justin M. Keyes
9ef01272b2
vim-patch:7dda86f2ff35
...
Update runtime files.
https://github.com/vim/vim/commit/7dda86f2ff35bb80afce4da24782fd58216bbe50
2018-10-29 08:30:39 +01:00
Justin M. Keyes
86b596dc7a
vim-patch:f37506f60f87
...
Updated runtime files. Remove HiLink commands.
https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
2017-04-28 21:25:15 +02:00
Justin M. Keyes
a53409b564
vim-patch:89bcfda6834a
...
Updated runtime files. Remove version checks for Vim older than 6.0.
https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
2017-04-28 21:13:55 +02:00
Justin M. Keyes
a98a6996c2
re-integrate runtime/ vim-patch:0 #938
...
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7
Excluding:
Amiga icons (*.info, icons/)
doc/hangulin.txt
tutor/
spell/
lang/ (only used for menu translations)
macros/maze/, macros/hanoi/, macros/life/, macros/urm/
These were used to test vi compatibility.
termcap
"Demonstration of a termcap file (for the Amiga and Archimedes)"
Helped-by: Rich Wareham <rjw57@cam.ac.uk >
Helped-by: John <john.schmidt.h@gmail.com >
Helped-by: Yann <yann@yann-salaun.com >
Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com >
Helped-by: drasill <github@tof2k.com >
Helped-by: Tae Sandoval Murgan <taecilla@gmail.com >
Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com >
2014-07-29 02:12:31 +00:00