feat: improve clojure support
This commit is contained in:
parent
a004a76a70
commit
662f36d4da
@ -49,6 +49,19 @@ lspconfig.csharp_ls.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
lspconfig.clojure_lsp.setup({
|
||||
root_dir = function()
|
||||
return vim.fs.root(0, "deps.edn")
|
||||
end,
|
||||
capabilities = capabilities,
|
||||
})
|
||||
lspconfig.clj_kondo.setup({
|
||||
root_dir = function()
|
||||
return vim.fs.root(0, "deps.edn")
|
||||
end,
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- Global mappings.
|
||||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||
vim.keymap.set("n", "<space>e", vim.diagnostic.open_float, {
|
||||
|
||||
@ -8,7 +8,7 @@ return {
|
||||
"olical/conjure",
|
||||
config = function()
|
||||
-- vim.g["conjure#filetype#fennel"] = "conjure.client.fennel.stdio"
|
||||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
"windwp/nvim-ts-autotag",
|
||||
@ -60,4 +60,10 @@ return {
|
||||
"dbeniamine/cheat.sh-vim",
|
||||
cmd = { "Cheat", "CheatReplace", "CheatPast", "CheatPager" },
|
||||
},
|
||||
{
|
||||
"catgoose/nvim-colorizer.lua",
|
||||
event = "BufReadPre",
|
||||
opts = { -- set to setup table
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user