mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-26 15:18:41 +02:00
workaround changes in nvim-lsp API
This commit is contained in:
parent
04febcfcb5
commit
990eae242b
|
@ -7,6 +7,8 @@
|
||||||
(local caps
|
(local caps
|
||||||
((. (require :cmp_nvim_lsp) :default_capabilities) (vim.lsp.protocol.make_client_capabilities)))
|
((. (require :cmp_nvim_lsp) :default_capabilities) (vim.lsp.protocol.make_client_capabilities)))
|
||||||
|
|
||||||
|
(set caps.textDocument.formatting {:dynamicRegistration false})
|
||||||
|
|
||||||
(local (bundle-info dirs) (values (mztenv.getBundleInfo) (mztenv.getDirs)))
|
(local (bundle-info dirs) (values (mztenv.getBundleInfo) (mztenv.getDirs)))
|
||||||
|
|
||||||
(fn on-attach [client bufnr]
|
(fn on-attach [client bufnr]
|
||||||
|
|
Loading…
Reference in a new issue