summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/syntax/javascript.vim
AgeCommit message (Collapse)AuthorFiles
2025-09-24vim-patch:4b97fc9: runtime(javascript): Add "using" keyword to JavaScript ↵zeertzjq1
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-08-07vim-patch:589aa28: runtime(javascript): add "as" as a reserved keyword to ↵Christian Clason1
syntax script closes: vim/vim#17912 https://github.com/vim/vim/commit/589aa284f6a31184683505c8a6ba885ff3349316 Co-authored-by: Nir Lichtman <nir@lichtman.org>
2024-08-14vim-patch:ea76096: runtime(javascript): fix a few issues with syntax ↵tobil4sk1
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
2023-08-21vim-patch:e71e9d9ad368Christian Clason1
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-18vim-patch:a5988f582e48Christian Clason1
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>
2022-06-10vim-patch:partial:63f32603789d (#18916)Christian Clason1
Update runtime files https://github.com/vim/vim/commit/63f32603789d1a27c559fc440325955fd0b8b500 skip translations skip user manual rewrite
2021-05-02vim-patch:dad4473f02e1Jan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/dad4473f02e1fec86d43a2fc094536a4b27d3b25 Omit :echoconsole. Patch v8.2.2638 is not ported.
2020-12-12runtime/javascript: 388a5d4f20b4b64341d1604aa238cab85827b892Jan Edmund Lazo1
Port javascript syntax file only. Ref https://github.com/neovim/neovim/issues/13185
2020-12-12runtime/javascript: 5be4ceecea5520265066eac972460ebb1cdf05e7Jan Edmund Lazo1
Port javascript syntax files only. Ref: https://github.com/neovim/neovim/issues/13185
2018-10-29vim-patch:91f84f6e11cdJustin M. Keyes1
Update runtime files. https://github.com/vim/vim/commit/91f84f6e11cd879d43d651c0903d85bff95f0716
2018-10-29vim-patch:7dda86f2ff35Justin M. Keyes1
Update runtime files. https://github.com/vim/vim/commit/7dda86f2ff35bb80afce4da24782fd58216bbe50
2017-04-28vim-patch:f37506f60f87Justin M. Keyes1
Updated runtime files. Remove HiLink commands. https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
2017-04-28vim-patch:89bcfda6834aJustin M. Keyes1
Updated runtime files. Remove version checks for Vim older than 6.0. https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
2014-07-29re-integrate runtime/ vim-patch:0 #938Justin M. Keyes1
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>