summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-17 21:18:32 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-17 21:18:32 +0200
commita9c696bde8ec106f8f3ecaedbf1bf2850ab3fbca (patch)
tree287d36c6b36d23c56d7d58ae71ad01ac80b700cd
parent4cebe5cc49090282faec84a6b412e30ee9a22619 (diff)
Update lsp api
-rw-r--r--fnl/config/lsp/handlers.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/config/lsp/handlers.fnl b/fnl/config/lsp/handlers.fnl
index 4cf904c..1e087d8 100644
--- a/fnl/config/lsp/handlers.fnl
+++ b/fnl/config/lsp/handlers.fnl
@@ -47,7 +47,7 @@
"<cmd>lua vim.lsp.buf.signature_help()<CR>" opts)))
(defn on-attach [client bufnr] (if (= client.name :html)
- (set client.resolved_capabilities.document_formatting
+ (set client.server_capabilities.document_formatting
false))
(lsp-keymaps bufnr))