1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:20:06 +08:00
SpaceVim/bundle/nvim-lspconfig/lua/lspconfig/clojure_lsp.lua
2021-10-05 15:13:10 +08:00

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")]],
},
},
}