diff options
author | Jimmy Zelinskie | 2024-02-12 01:28:52 +0000 |
---|---|---|
committer | GitHub | 2024-02-12 01:28:52 +0000 |
commit | d9f7aaacaf65272dfce092954ec49a78961e8112 (patch) | |
tree | 780f6885391b872fed90617c380258f87c093a87 /languages.toml | |
parent | 7d8ce1a4000939bb1d1e0a67277f7733735607c7 (diff) |
languages: add CEL, SpiceDB schema language (#9296)
* languages: add CEL language and grammar
* languages: add spicedb schema language
* chore: docgen
* runtime/queries: refine spicedb & cel highlights
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* languages: update spicedb
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index c2432c27..6fc81181 100644 --- a/languages.toml +++ b/languages.toml @@ -515,6 +515,30 @@ name = "c-sharp" source = { git = "https://github.com/tree-sitter/tree-sitter-c-sharp", rev = "5b60f99545fea00a33bbfae5be956f684c4c69e2" } [[language]] +name = "cel" +scope = "source.cel" +injection-regex = "cel" +file-types = ["cel"] +comment-token = "//" +indent = { tab-width = 2, unit = " " } + +[[grammar]] +name = "cel" +source = { git = "https://github.com/bufbuild/tree-sitter-cel", rev = "9f2b65da14c216df53933748e489db0f11121464" } + +[[language]] +name = "spicedb" +scope = "source.zed" +injection-regex = "spicedb" +file-types = ["zed"] +comment-token = "//" +indent = { tab-width = 2, unit = " " } + +[[grammar]] +name = "spicedb" +source = { git = "https://github.com/jzelinskie/tree-sitter-spicedb", rev = "a4e4645651f86d6684c15dfa9931b7841dc52a66" } + +[[language]] name = "go" scope = "source.go" injection-regex = "go" |