feat(vim): highlight "trim" in script heredocs

Allow the optional "trim", as documented in ":help :lua-heredoc".
This commit is contained in:
Christian Clason
2025-07-07 12:17:33 +02:00
committed by Christian Clason
parent 0d32ec3c3e
commit 4400990e73
2 changed files with 4 additions and 1 deletions

View File

@@ -2499,7 +2499,7 @@ return {
},
vim = {
install_info = {
revision = 'ccc312e878aa84f32d180b8528a3585c7b86a545',
revision = 'a93e834bea0975ec0ccb3f6d18540e9bd8170a4d',
url = 'https://github.com/tree-sitter-grammars/tree-sitter-vim',
},
maintainers = { '@clason' },

View File

@@ -253,6 +253,9 @@
(heredoc
(parameter) @keyword)
(script
(parameter) @keyword)
[
(marker_definition)
(endmarker)