all repos

init.lua @ cb142ba1f3b614864650bfbbdc5c0ea43385b934

my nvim config
1 files changed, 4 insertions(+), 0 deletions(-)
feat(lsp): allow clojure-lsp to format
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2023-06-10 01:09:46 +0300
Parent: 76791b5
M lua/plugins/lsp/attach.lua

@@ -15,6 +15,10 @@ if client.name == "gopls" then

vim.lsp.codelens.refresh() end + if client.name == "clojure_lsp" then + client.server_capabilities.documentFormattingProvider = true + end + map("K", vim.lsp.buf.hover) map("gd", "<cmd>Telescope lsp_definitions<cr>") map("gD", vim.lsp.buf.declaration)