mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
Add clojure language support (#2780)
Co-authored-by: Mateusz Ledwoń <mateusz.ledwon@iteo.com>
This commit is contained in:
parent
3b1866f959
commit
4d604d3b50
@ -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" }
|
||||||
|
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…
Reference in New Issue
Block a user