From dcb81c5bd37a3a6dfd584e2cfa69c38065c74814 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 30 Oct 2023 10:47:53 +0100 Subject: [PATCH] Add highlighting for JSON and PHPDoc with TreeSitter --- CHANGELOG.md | 7 +++++++ colors/smyckblue.vim | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a9a6f6..44590c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/colors/smyckblue.vim b/colors/smyckblue.vim index b87daa9..859b4d5 100644 --- a/colors/smyckblue.vim +++ b/colors/smyckblue.vim @@ -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