From 71d2fd1bd410da85d03ee1da7a35e895ee7a8494 Mon Sep 17 00:00:00 2001 From: Noah Bogart Date: Wed, 28 May 2025 16:44:34 -0400 Subject: fix(just): do not restrict `@function.call` to explicit list (#7905) --- runtime/queries/just/highlights.scm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'runtime/queries/just') diff --git a/runtime/queries/just/highlights.scm b/runtime/queries/just/highlights.scm index fbbf4eece..743de4314 100644 --- a/runtime/queries/just/highlights.scm +++ b/runtime/queries/just/highlights.scm @@ -135,15 +135,5 @@ argument: (string) @string.special.path)) (#eq? @_dir "working-directory")) -; Ref: https://just.systems/man/en/chapter_31.html -;(function_call (identifier) @error) (function_call - (identifier) @function.call - (#any-of? @function.call - "arch" "num_cpus" "os" "os_family" "env_var" "env_var_or_default" "env" "invocation_directory" - "invocation_directory_native" "justfile" "justfile_directory" "just_executable" "quote" - "replace" "replace_regex" "trim" "trim_end" "trim_end_match" "trim_end_matches" "trim_start" - "trim_start_match" "trim_start_matches" "capitalize" "kebabcase" "lowercamelcase" "lowercase" - "shoutykebabcase" "shoutysnakecase" "snakecase" "titlecase" "uppercamelcase" "uppercase" - "absolute_path" "extension" "file_name" "file_stem" "parent_directory" "without_extension" - "clean" "join" "path_exists" "error" "sha256" "sha256_file" "uuid" "semver_matches")) + (identifier) @function.call) -- cgit v1.2.3-70-g09d2