Add clojure language support (#2780)

Co-authored-by: Mateusz Ledwoń <mateusz.ledwon@iteo.com>
pull/2791/head
Axot 2 years ago committed by GitHub
parent 3b1866f959
commit 4d604d3b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,6 +4,7 @@
| c | ✓ | ✓ | ✓ | `clangd` | | c | ✓ | ✓ | ✓ | `clangd` |
| c-sharp | ✓ | | | `OmniSharp` | | c-sharp | ✓ | | | `OmniSharp` |
| cairo | ✓ | | | | | cairo | ✓ | | | |
| clojure | ✓ | | | `clojure-lsp` |
| cmake | ✓ | ✓ | ✓ | `cmake-language-server` | | cmake | ✓ | ✓ | ✓ | `cmake-language-server` |
| comment | ✓ | | | | | comment | ✓ | | | |
| cpon | ✓ | | ✓ | | | cpon | ✓ | | ✓ | |

@ -1463,3 +1463,17 @@ indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
name = "prisma" name = "prisma"
source = { git = "https://github.com/victorhqc/tree-sitter-prisma", rev = "17a59236ac25413b81b1613ea6ba5d8d52d7cd6c" } 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" }

File diff suppressed because one or more lines are too long

@ -0,0 +1,2 @@
((regex_lit) @injection.content
(#set! injection.language "regex"))
Loading…
Cancel
Save