1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-23 02:05:11 +01:00
Commit graph

21 commits

Author SHA1 Message Date
Tobiasz Laskowski
ea76096fa9
runtime(javascript): fix a few issues with syntax higlighting
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: 

Signed-off-by: Tobiasz Laskowski <tobil4sk@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-08-14 14:50:56 +02:00
Meqa
e71e9d9ad3
runtime(javascript): fix default link of javaScriptNumber in syntax file ()
cool unused matching
2023-08-20 21:20:59 +02:00
Yuri Klimov
a5988f582e
Keywords 'of' and 'yield' for Javascript. ()
* Keyword 'of' in for...of statement.

* Keyword 'yield' for generator function.
2023-08-18 00:03:23 +02:00
Bram Moolenaar
63f3260378 Update runtime files 2022-06-09 20:45:54 +01:00
Bram Moolenaar
dad4473f02 Update runtime files. 2021-03-31 20:07:33 +02:00
Bram Moolenaar
388a5d4f20 Update runtime files 2020-05-26 21:20:45 +02:00
Bram Moolenaar
5be4ceecea Update runtime files. 2019-09-27 19:34:08 +02:00
Bram Moolenaar
91f84f6e11 Update runtime files. 2018-07-29 15:07:52 +02:00
Bram Moolenaar
7dda86f2ff Update runtime files. 2018-04-20 22:36:41 +02:00
Bram Moolenaar
f37506f60f Updated runtime files. Remove HiLink commands. 2016-08-31 22:22:10 +02:00
Bram Moolenaar
89bcfda683 Updated runtime files. Remove version checks for Vim older than 6.0. 2016-08-30 23:26:57 +02:00
Bram Moolenaar
e2db695d31 Updated runtime files. 2013-07-24 19:53:36 +02:00
Bram Moolenaar
ec7944aaf2 Update runtime files. 2013-06-12 21:29:15 +02:00
Bram Moolenaar
0c5fa7d740 Updated runtime files. 2012-10-05 22:26:30 +02:00
Bram Moolenaar
00a927d62b Updated runtime files. 2010-05-14 23:24:24 +02:00
Bram Moolenaar
9964e468c0 updated for version 7.1a 2007-05-05 17:54:07 +00:00
Bram Moolenaar
9e54a0e753 updated for version 7.0d04 2006-04-14 20:42:25 +00:00
Bram Moolenaar
a5792f5890 updated for version 7.0158 2005-11-23 21:25:05 +00:00
Bram Moolenaar
fe3ca8ddd9 updated for version 7.0109 2005-07-18 21:43:02 +00:00
Bram Moolenaar
293ee4d421 updated for version 7.0021 2004-12-09 21:34:53 +00:00
Bram Moolenaar
071d4279d6 updated for version 7.0001 2004-06-13 20:20:40 +00:00