aboutsummaryrefslogtreecommitdiffstats
path: root/queries/teal
diff options
context:
space:
mode:
authorCorey Williamson <euclidianAce@protonmail.com>2020-10-04 20:35:13 -0500
committerStephan Seitz <stephan.lauf@yahoo.de>2020-10-05 12:02:59 +0200
commit73ef705eb2fbe91b6ef99eb5f6e1912d7b9d2f8c (patch)
tree5b88aed17fc42c50879da78d6b588f3dae745bdc /queries/teal
parentSet function scope (diff)
downloadnvim-treesitter-73ef705eb2fbe91b6ef99eb5f6e1912d7b9d2f8c.tar
nvim-treesitter-73ef705eb2fbe91b6ef99eb5f6e1912d7b9d2f8c.tar.gz
nvim-treesitter-73ef705eb2fbe91b6ef99eb5f6e1912d7b9d2f8c.tar.bz2
nvim-treesitter-73ef705eb2fbe91b6ef99eb5f6e1912d7b9d2f8c.tar.lz
nvim-treesitter-73ef705eb2fbe91b6ef99eb5f6e1912d7b9d2f8c.tar.xz
nvim-treesitter-73ef705eb2fbe91b6ef99eb5f6e1912d7b9d2f8c.tar.zst
nvim-treesitter-73ef705eb2fbe91b6ef99eb5f6e1912d7b9d2f8c.zip
Fix typearg brackets not highlighting for multiple typeargs
Diffstat (limited to 'queries/teal')
-rw-r--r--queries/teal/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/teal/highlights.scm b/queries/teal/highlights.scm
index 778002019..7d13674c8 100644
--- a/queries/teal/highlights.scm
+++ b/queries/teal/highlights.scm
@@ -33,7 +33,7 @@
[ "," "." ":"] @punctuation.delimiter
[ "(" ")" "[" "]" "{" "}" ] @punctuation.bracket
("<" @punctuation.bracket
-. (typearg)+ .
+. (typearg) . ("," (typearg))* .
">" @punctuation.bracket)
(identifier) @variable