diff options
author | Axot | 2022-06-16 16:47:52 +0000 |
---|---|---|
committer | GitHub | 2022-06-16 16:47:52 +0000 |
commit | 4d604d3b50da482049de46af02febdc04c9f0079 (patch) | |
tree | 759f9235952fcd86fd31bc57513800557d0f9f91 /languages.toml | |
parent | 3b1866f959c45a964cc69a4d61a978a7cfd289ae (diff) |
Add clojure language support (#2780)
Co-authored-by: Mateusz LedwoĊ <mateusz.ledwon@iteo.com>
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 374865f1..e59803da 100644 --- a/languages.toml +++ b/languages.toml @@ -1463,3 +1463,17 @@ indent = { tab-width = 2, unit = " " } [[grammar]] name = "prisma" source = { git = "https://github.com/victorhqc/tree-sitter-prisma", rev = "17a59236ac25413b81b1613ea6ba5d8d52d7cd6c" } + +[[language]] +name = "clojure" +scope = "source.clojure" +injection-regex = "(clojure|clj)" +file-types = ["clj"] +roots = ["project.clj"] +comment-token = ";;" +language-server = { command = "clojure-lsp" } +indent = { tab-width = 2, unit = " " } + +[[grammar]] +name = "clojure" +source = { git = "https://github.com/sogaiu/tree-sitter-clojure", rev = "e57c569ae332ca365da623712ae1f50f84daeae2" } |