mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
feat(vim): highlight "trim" in script heredocs
Allow the optional "trim", as documented in ":help :lua-heredoc".
This commit is contained in:
parent
0d32ec3c3e
commit
4400990e73
2 changed files with 4 additions and 1 deletions
|
|
@ -2499,7 +2499,7 @@ return {
|
||||||
},
|
},
|
||||||
vim = {
|
vim = {
|
||||||
install_info = {
|
install_info = {
|
||||||
revision = 'ccc312e878aa84f32d180b8528a3585c7b86a545',
|
revision = 'a93e834bea0975ec0ccb3f6d18540e9bd8170a4d',
|
||||||
url = 'https://github.com/tree-sitter-grammars/tree-sitter-vim',
|
url = 'https://github.com/tree-sitter-grammars/tree-sitter-vim',
|
||||||
},
|
},
|
||||||
maintainers = { '@clason' },
|
maintainers = { '@clason' },
|
||||||
|
|
|
||||||
|
|
@ -253,6 +253,9 @@
|
||||||
(heredoc
|
(heredoc
|
||||||
(parameter) @keyword)
|
(parameter) @keyword)
|
||||||
|
|
||||||
|
(script
|
||||||
|
(parameter) @keyword)
|
||||||
|
|
||||||
[
|
[
|
||||||
(marker_definition)
|
(marker_definition)
|
||||||
(endmarker)
|
(endmarker)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue