From 600f6abecffdb332bca316833020818271a55945 Mon Sep 17 00:00:00 2001 From: uncenter Date: Wed, 5 Mar 2025 14:05:41 -0500 Subject: [PATCH] fix(tera): keyword captures, more specific function captures --- queries/tera/highlights.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/queries/tera/highlights.scm b/queries/tera/highlights.scm index c99eb4760..408288805 100644 --- a/queries/tera/highlights.scm +++ b/queries/tera/highlights.scm @@ -69,18 +69,18 @@ "elif" "else" "endif" -] @keyword.control.conditional +] @keyword.conditional [ "for" "endfor" -] @keyword.control.repeat +] @keyword.repeat [ "include" "import" "extends" -] @keyword.control.import +] @keyword.import [ "in" @@ -93,7 +93,7 @@ [ "break" "continue" -] @keyword.control.return +] @keyword.return [ "set" @@ -120,7 +120,7 @@ (call_expression scope: (identifier)? @namespace - name: (identifier) @function) + name: (identifier) @function.call) (call_expression name: (identifier) @function.builtin @@ -129,7 +129,7 @@ "range" "now" "throw" "get_random" "get_env")) (test_expression - test: (identifier) @function) + test: (identifier) @function.call) (test_expression test: (identifier) @function.builtin