From 244b4bf6c60b9ae1fd9373480419531d27379fcf Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 12 Feb 2024 14:24:35 +0100 Subject: [PATCH] Add highlighting for rst and markdown with TreeSitter --- CHANGELOG.md | 7 +++++++ colors/smyckblue.vim | 24 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44590c1..4ca6d0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## v1.6.0 2024-02-12 + +### Added + +- Add highlighting for rst with TreeSitter. +- Add highlighting for markdown with TreeSitter. + ## v1.5.0 2023-10-30 ### Added diff --git a/colors/smyckblue.vim b/colors/smyckblue.vim index 859b4d5..9c41db5 100644 --- a/colors/smyckblue.vim +++ b/colors/smyckblue.vim @@ -91,6 +91,7 @@ hi @property cterm=none ctermbg=none ctermfg=blue hi @method cterm=none ctermbg=none ctermfg=white hi @method.call cterm=none ctermbg=none ctermfg=white hi link @function.call @method.call +hi link @function.builtin @function.call hi @attribute cterm=none ctermbg=none ctermfg=blue hi link @text @string hi link @punctuation @operator @@ -112,6 +113,29 @@ hi link @text.title.5.html @string hi link @text.title.6.html @string hi @operator.html cterm=none ctermbg=none ctermfg=blue +" reStructuredText Treesitter +hi @markup.list.rst cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.rst cterm=none ctermbg=none ctermfg=blue + +" markdown Treesitter +hi @markup.list.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.1.marker.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.2.marker.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.3.marker.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.4.marker.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.5.marker.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.6.marker.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.1.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.2.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.3.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.4.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.5.markdown cterm=none ctermbg=none ctermfg=blue +hi @markup.heading.6.markdown cterm=none ctermbg=none ctermfg=blue + +" SQL Treesitter +hi link @keyword.operator.sql @type.builtin +hi link @keyword.sql @type.builtin + " PHPDoc Treesitter (Keep everything as comment) hi link @type.phpdoc @comment hi link @attribute.phpdoc @comment