Single Flutter package at the repo root. All code, tests, assets, and platform directories moved from app/ to root. Package renamed from clide_app to clide — all imports rewritten. Merged pubspec combines core (ffi) and app (flutter, yaml, xterm) dependencies. Makefile simplified: no APP_PRESENT conditionals, no cd, no daemon lifecycle. 317 tests pass. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
159 lines
2.1 KiB
Scheme
159 lines
2.1 KiB
Scheme
; File autogenerated by build-flavored-queries.py; do not edit
|
|
|
|
; This file specifies how matched syntax patterns should be highlighted
|
|
|
|
[
|
|
"export"
|
|
"import"
|
|
] @keyword.import
|
|
|
|
"mod" @module
|
|
|
|
[
|
|
"alias"
|
|
"set"
|
|
"shell"
|
|
] @keyword
|
|
|
|
[
|
|
"if"
|
|
"else"
|
|
] @keyword.conditional
|
|
|
|
; Variables
|
|
|
|
(value
|
|
(identifier) @variable)
|
|
|
|
(alias
|
|
left: (identifier) @variable)
|
|
|
|
(assignment
|
|
left: (identifier) @variable)
|
|
|
|
; Functions
|
|
|
|
(recipe_header
|
|
name: (identifier) @function)
|
|
|
|
(dependency
|
|
name: (identifier) @function.call)
|
|
|
|
(dependency_expression
|
|
name: (identifier) @function.call)
|
|
|
|
(function_call
|
|
name: (identifier) @function.call)
|
|
|
|
; Parameters
|
|
|
|
(parameter
|
|
name: (identifier) @variable.parameter)
|
|
|
|
; Namespaces
|
|
|
|
(module
|
|
name: (identifier) @module)
|
|
|
|
; Operators
|
|
|
|
[
|
|
":="
|
|
"?"
|
|
"=="
|
|
"!="
|
|
"=~"
|
|
"@"
|
|
"="
|
|
"$"
|
|
"*"
|
|
"+"
|
|
"&&"
|
|
"@-"
|
|
"-@"
|
|
"-"
|
|
"/"
|
|
":"
|
|
] @operator
|
|
|
|
; Punctuation
|
|
|
|
"," @punctuation.delimiter
|
|
|
|
[
|
|
"{"
|
|
"}"
|
|
"["
|
|
"]"
|
|
"("
|
|
")"
|
|
"{{"
|
|
"}}"
|
|
] @punctuation.bracket
|
|
|
|
[ "`" "```" ] @punctuation.special
|
|
|
|
; Literals
|
|
|
|
(boolean) @boolean
|
|
|
|
[
|
|
(string)
|
|
(external_command)
|
|
] @string
|
|
|
|
(escape_sequence) @string.escape
|
|
|
|
; Comments
|
|
|
|
(comment) @spell @comment
|
|
|
|
(shebang) @keyword.directive
|
|
|
|
; highlight known settings (filtering does not always work)
|
|
(setting
|
|
left: (identifier) @keyword
|
|
(#any-of? @keyword
|
|
"allow-duplicate-recipes"
|
|
"allow-duplicate-variables"
|
|
"dotenv-filename"
|
|
"dotenv-load"
|
|
"dotenv-path"
|
|
"dotenv-required"
|
|
"export"
|
|
"fallback"
|
|
"ignore-comments"
|
|
"positional-arguments"
|
|
"shell"
|
|
"shell-interpreter"
|
|
"tempdir"
|
|
"windows-powershell"
|
|
"windows-shell"
|
|
"working-directory"))
|
|
|
|
; highlight known attributes (filtering does not always work)
|
|
(attribute
|
|
(identifier) @attribute
|
|
(#any-of? @attribute
|
|
"confirm"
|
|
"doc"
|
|
"extension"
|
|
"group"
|
|
"linux"
|
|
"macos"
|
|
"metadata"
|
|
"no-cd"
|
|
"no-exit-message"
|
|
"no-quiet"
|
|
"openbsd"
|
|
"parallel"
|
|
"positional-arguments"
|
|
"private"
|
|
"script"
|
|
"unix"
|
|
"windows"
|
|
"working-directory"))
|
|
|
|
; Numbers are part of the syntax tree, even if disallowed
|
|
(numeric_error) @error
|