Fix lsp not calling on attach
This commit is contained in:
parent
ea3ef70214
commit
7a42c9ecf5
@ -42,7 +42,7 @@
|
|||||||
lsp-cap ((. (require :cmp_nvim_lsp) :default_capabilities))
|
lsp-cap ((. (require :cmp_nvim_lsp) :default_capabilities))
|
||||||
lsp-utils (require :plugin.lsp)]
|
lsp-utils (require :plugin.lsp)]
|
||||||
(macro setup-server! [name ...]
|
(macro setup-server! [name ...]
|
||||||
(let [opts { :on-attach `lsp-utils.on-attach
|
(let [opts { :on_attach `lsp-utils.on-attach
|
||||||
:capabilities `lsp-cap }]
|
:capabilities `lsp-cap }]
|
||||||
(var last-key nil)
|
(var last-key nil)
|
||||||
(each [_ val (ipairs [...])]
|
(each [_ val (ipairs [...])]
|
||||||
|
Reference in New Issue
Block a user