Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | languages.toml | 6 | ||||
| -rw-r--r-- | runtime/queries/esdl/highlights.scm | 7 |
2 files changed, 5 insertions, 8 deletions
diff --git a/languages.toml b/languages.toml index fe056794..c52251a3 100644 --- a/languages.toml +++ b/languages.toml @@ -3047,14 +3047,14 @@ source = { git = "https://github.com/synaptiko/tree-sitter-xit", rev = "7d790245 name = "esdl" scope = "source.esdl" injection-regex = "esdl" -file-types = ["esdl"] +file-types = ["gel", "esdl"] comment-token = "#" indent = { tab-width = 2, unit = " " } -roots = ["edgedb.toml"] +roots = ["gel.toml", "edgedb.toml"] [[grammar]] name ="esdl" -source = { git = "https://github.com/greym0uth/tree-sitter-esdl", rev = "df83acc8cacd0cfb139eecee0e718dc32c4f92e2" } +source = { git = "https://github.com/hongquan/tree-sitter-esdl", rev = "c824fe2bbbed6b29e50c694420aa2b377782f80a" } [[language]] name = "pascal" diff --git a/runtime/queries/esdl/highlights.scm b/runtime/queries/esdl/highlights.scm index a009933f..8ed0edba 100644 --- a/runtime/queries/esdl/highlights.scm +++ b/runtime/queries/esdl/highlights.scm @@ -28,15 +28,13 @@ (comment) @comment -; Properties +; Properties (includes both property and link declarations, since link keyword is optional) (property) @variable.other.member -(link) @variable.other.member -(annotation) @variable.other.member (string) @string (edgeql_fragment) @string -; Builtins +; Builtins (type) @type [ "str" @@ -72,4 +70,3 @@ "->" ":=" ] @operator - |