aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-04-24 00:30:18 -0400
committerAmaan Qureshi <amaanq12@gmail.com>2023-04-25 03:04:05 -0400
commit01b42a1a57b020f18c2bf73fb545a3a7833166c9 (patch)
treeb22e449d4ac1d412e612c16d981f85bda344c02d /tests/query
parentfix(python,starlark): update field match pattern (diff)
downloadnvim-treesitter-01b42a1a57b020f18c2bf73fb545a3a7833166c9.tar
nvim-treesitter-01b42a1a57b020f18c2bf73fb545a3a7833166c9.tar.gz
nvim-treesitter-01b42a1a57b020f18c2bf73fb545a3a7833166c9.tar.bz2
nvim-treesitter-01b42a1a57b020f18c2bf73fb545a3a7833166c9.tar.lz
nvim-treesitter-01b42a1a57b020f18c2bf73fb545a3a7833166c9.tar.xz
nvim-treesitter-01b42a1a57b020f18c2bf73fb545a3a7833166c9.tar.zst
nvim-treesitter-01b42a1a57b020f18c2bf73fb545a3a7833166c9.zip
feat(python,starlark): highlight type conversions as `@function.macro`
Diffstat (limited to 'tests/query')
-rw-r--r--tests/query/highlights/python/pattern_matching.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/query/highlights/python/pattern_matching.py b/tests/query/highlights/python/pattern_matching.py
index 38622cf4b..2d7d7d0c0 100644
--- a/tests/query/highlights/python/pattern_matching.py
+++ b/tests/query/highlights/python/pattern_matching.py
@@ -29,6 +29,7 @@ match command.split():
case ["drop", *objects]: pass
case _:
print(f"Sorry, I couldn't understand {command!r}")
+ # ^^ @function.macro
match command.split():
# ^ conditional