Fix lsp.fnl not correctly calling on_attach
This commit is contained in:
parent
9b12ee74ba
commit
043d485629
@ -39,9 +39,10 @@
|
||||
(fn configure []
|
||||
(let [lsp (require :lspconfig)
|
||||
configs (require :lspconfig.configs)
|
||||
lsp_cap ((. (require :cmp_nvim_lsp) :default_capabilities))]
|
||||
lsp_cap ((. (require :cmp_nvim_lsp) :default_capabilities))
|
||||
lsp_utils (require :plugin.lsp)]
|
||||
(macro setup_server! [name ...]
|
||||
(let [opts { :on_attach `on_attach
|
||||
(let [opts { :on_attach `lsp_utils.on_attach
|
||||
:capabilities `lsp_cap }]
|
||||
(var last_key nil)
|
||||
(each [_ val (ipairs [...])]
|
||||
|
Reference in New Issue
Block a user