Add clojure language support (#2780)
Co-authored-by: Mateusz Ledwoń <mateusz.ledwon@iteo.com>
This commit is contained in:
parent
3b1866f959
commit
4d604d3b50
4 changed files with 101 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
| c | ✓ | ✓ | ✓ | `clangd` |
|
||||
| c-sharp | ✓ | | | `OmniSharp` |
|
||||
| cairo | ✓ | | | |
|
||||
| clojure | ✓ | | | `clojure-lsp` |
|
||||
| cmake | ✓ | ✓ | ✓ | `cmake-language-server` |
|
||||
| comment | ✓ | | | |
|
||||
| cpon | ✓ | | ✓ | |
|
||||
|
|
|
@ -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" }
|
||||
|
|
84
runtime/queries/clojure/highlights.scm
Normal file
84
runtime/queries/clojure/highlights.scm
Normal file
File diff suppressed because one or more lines are too long
2
runtime/queries/clojure/injections.scm
Normal file
2
runtime/queries/clojure/injections.scm
Normal file
|
@ -0,0 +1,2 @@
|
|||
((regex_lit) @injection.content
|
||||
(#set! injection.language "regex"))
|
Loading…
Add table
Reference in a new issue