Add highlighting for JSON and PHPDoc with TreeSitter
This commit is contained in:
parent
f2d0ea069a
commit
dcb81c5bd3
2 changed files with 19 additions and 0 deletions
|
@ -1,5 +1,12 @@
|
|||
# Changelog
|
||||
|
||||
## v1.5.0 2023-10-30
|
||||
|
||||
### Added
|
||||
|
||||
- Add highlighting for JSON with TreeSitter.
|
||||
- Add highlighting for PHPDoc with TreeSitter.
|
||||
|
||||
## v1.4.1 2023-10-25
|
||||
|
||||
### Added
|
||||
|
|
|
@ -112,6 +112,18 @@ hi link @text.title.5.html @string
|
|||
hi link @text.title.6.html @string
|
||||
hi @operator.html cterm=none ctermbg=none ctermfg=blue
|
||||
|
||||
" PHPDoc Treesitter (Keep everything as comment)
|
||||
hi link @type.phpdoc @comment
|
||||
hi link @attribute.phpdoc @comment
|
||||
hi link @parameter.phpdoc @comment
|
||||
hi link @variable.phpdoc @comment
|
||||
hi link @keyword.phpdoc @comment
|
||||
hi link @text.phpdoc @comment
|
||||
hi link @text.uri.phpdoc @comment
|
||||
|
||||
" JSON Treesitter
|
||||
hi link @label.json @string
|
||||
|
||||
" Diff
|
||||
hi DiffAdd cterm=bold ctermbg=2 ctermfg=15
|
||||
hi DiffChange cterm=bold ctermbg=4 ctermfg=15
|
||||
|
|
Loading…
Reference in a new issue