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>
63 lines
1.4 KiB
Scheme
63 lines
1.4 KiB
Scheme
[
|
|
"if" "else" "guard"
|
|
"for" "while" "repeat"
|
|
"switch" "case" "default" "fallthrough"
|
|
"break" "continue" "return" "throw"
|
|
"do" "catch" "try" "defer"
|
|
"import"
|
|
"class" "struct" "enum" "protocol" "extension" "typealias" "associatedtype"
|
|
"func" "init" "deinit" "subscript" "operator"
|
|
"var" "let"
|
|
"static" "override" "mutating" "nonmutating"
|
|
"public" "private" "fileprivate" "internal" "open"
|
|
"final" "required" "convenience" "lazy" "weak" "unowned"
|
|
"async" "await"
|
|
"where" "in" "is" "as"
|
|
"self" "super" "Self"
|
|
"nil"
|
|
"true" "false"
|
|
"inout" "some" "any"
|
|
"get" "set" "willSet" "didSet"
|
|
"throws" "rethrows"
|
|
"indirect"
|
|
"precedencegroup" "infix" "prefix" "postfix"
|
|
] @keyword
|
|
|
|
(function_declaration (identifier) @function)
|
|
(initializer_declaration "init" @function)
|
|
|
|
(class_declaration (identifier) @type)
|
|
(struct_declaration (identifier) @type)
|
|
(enum_declaration (identifier) @type)
|
|
(protocol_declaration (identifier) @type)
|
|
(typealias_declaration (identifier) @type)
|
|
(type_identifier) @type
|
|
(standard_type) @type.builtin
|
|
|
|
(string) @string
|
|
(static_string_literal) @string
|
|
|
|
(number) @number
|
|
(boolean_literal) @boolean
|
|
|
|
(identifier) @variable
|
|
|
|
(modifier) @keyword
|
|
|
|
[
|
|
"(" ")" "[" "]" "{" "}"
|
|
] @punctuation.bracket
|
|
|
|
[
|
|
"," "." ":" ";" "->" "=>"
|
|
] @punctuation.delimiter
|
|
|
|
[
|
|
"=" "+" "-" "*" "/" "%"
|
|
"==" "!=" "<" ">" "<=" ">="
|
|
"&&" "||" "!"
|
|
"&" "|" "^" "~"
|
|
"?" "??"
|
|
"..<" "..."
|
|
] @operator
|