mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 20:00:06 +08:00
21 lines
473 B
Lua
21 lines
473 B
Lua
|
local configs = require 'lspconfig/configs'
|
||
|
local util = require 'lspconfig/util'
|
||
|
|
||
|
configs.clojure_lsp = {
|
||
|
default_config = {
|
||
|
cmd = { 'clojure-lsp' },
|
||
|
filetypes = { 'clojure', 'edn' },
|
||
|
root_dir = util.root_pattern('project.clj', 'deps.edn', '.git'),
|
||
|
},
|
||
|
docs = {
|
||
|
description = [[
|
||
|
https://github.com/snoe/clojure-lsp
|
||
|
|
||
|
Clojure Language Server
|
||
|
]],
|
||
|
default_config = {
|
||
|
root_dir = [[root_pattern("project.clj", "deps.edn", ".git")]],
|
||
|
},
|
||
|
},
|
||
|
}
|