mirror of
https://github.com/ribru17/ts_query_ls.git
synced 2025-08-09 19:38:02 +00:00

This commit also adds another test for formatting, and fixes an issue where the final newline was not appended to a formatted document.
37 lines
566 B
Scheme
37 lines
566 B
Scheme
(ERROR) @error
|
|
|
|
(MISSING) @missing
|
|
|
|
(anonymous_node
|
|
(string
|
|
(string_content) @node.anon))
|
|
|
|
(named_node
|
|
.
|
|
name: (identifier) @node.named)
|
|
|
|
(named_node
|
|
.
|
|
supertype: (identifier) @supertype)
|
|
|
|
(missing_node
|
|
name: (identifier) @node.named)
|
|
|
|
(missing_node
|
|
name: (string
|
|
(string_content) @node.anon))
|
|
|
|
(field_definition
|
|
name: (identifier) @field)
|
|
|
|
(capture) @capture
|
|
|
|
(predicate
|
|
name: (identifier) @predicate
|
|
(predicate_type) @_type
|
|
(#eq? @_type "?"))
|
|
|
|
(predicate
|
|
name: (identifier) @directive
|
|
(predicate_type) @_type
|
|
(#eq? @_type "!"))
|