Add clojure language support (#2780)

Co-authored-by: Mateusz Ledwoń <mateusz.ledwon@iteo.com>
This commit is contained in:
Axot 2022-06-16 18:47:52 +02:00 committed by GitHub
parent 3b1866f959
commit 4d604d3b50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 101 additions and 0 deletions

View file

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

View file

@ -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" }

File diff suppressed because one or more lines are too long

View file

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