diff options
author | tobil4sk <tobil4sk@outlook.com> | 2024-08-14 23:43:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-14 22:43:34 +0000 |
commit | 615f7bbff06c0585aacce542fac4bc823070ebee (patch) | |
tree | 85499ce10e7c58db59f82dedd752eb9ec3ceda34 /src/nvim/diff.c | |
parent | 32d17cb6d23248ec50286df8a2dfd0e5c0f28f3b (diff) | |
download | rneovim-615f7bbff06c0585aacce542fac4bc823070ebee.tar.gz rneovim-615f7bbff06c0585aacce542fac4bc823070ebee.tar.bz2 rneovim-615f7bbff06c0585aacce542fac4bc823070ebee.zip |
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
Diffstat (limited to 'src/nvim/diff.c')
0 files changed, 0 insertions, 0 deletions