Skip to content

Commit 8bc97ed

Browse files
committed
fix nvim lsp deprecation - nvim11
1 parent cca37b3 commit 8bc97ed

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

fnl/mods/lsp/lsp.fnl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
cmp_nvim_lsp cmp_nvim_lsp
55
lspkind lspkind
66
lspsignature lsp_signature
7-
lspconfig lspconfig
87
lsputil lspconfig/util
98
nullls null-ls
109
mason mason
@@ -170,5 +169,5 @@
170169
(let [opts (or (. lsp_opt server) {})]
171170
(tset opts :on_attach on_attach)
172171
(tset opts :capabilities (cmp_nvim_lsp.default_capabilities))
173-
;; start via lspconfig (no vim.lsp.config, no manual autocmd)
174-
((. lspconfig server :setup) opts))))
172+
(vim.lsp.config server opts)
173+
(vim.lsp.enable server))))

0 commit comments

Comments
 (0)