Skip to content

Commit

Permalink
fixes to grammar, highlight changes based on PR and grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
millergarym committed Apr 3, 2024
1 parent 933715d commit 754429a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3477,4 +3477,4 @@ indent = { tab-width = 2, unit = " " }

[[grammar]]
name = "adl"
source = { git = "https://github.com/adl-lang/tree-sitter-adl", rev = "0399ed80b9fb88865a02259e7c11dc98de1d5ee5" }
source = { git = "https://github.com/adl-lang/tree-sitter-adl", rev = "2787d04beadfbe154d3f2da6e98dc45a1b134bbf" }
10 changes: 5 additions & 5 deletions runtime/queries/adl/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
"annotation"
] @keyword

(scoped_name) @variable
(adl (scoped_name)) @namespace
(comment) @comment
(doc_comment) @info
(doc_comment) @comment.block.documentation
(name) @type

(fname) @property
(fname) @variable.other.member

(type_expr (scoped_name) @type)

(type_expr (scoped_name) @generic (type_param) @type.parameter)
(type_expr_params (param (scoped_name) @type.parameter))

; json
(key) @string.special.key
(key) @string.special

(string) @string

Expand Down

0 comments on commit 754429a

Please sign in to comment.