nvim: fix lsp notify integration
This commit is contained in:
parent
aa7e3b4fc8
commit
db402a079a
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,8 @@
|
||||||
(vim.lsp.inlay_hint bufnr true)
|
(vim.lsp.inlay_hint bufnr true)
|
||||||
(setup-inlay-hint-toggle bufnr))
|
(setup-inlay-hint-toggle bufnr))
|
||||||
(diagnostic.maybe-enable-lsp client bufnr)
|
(diagnostic.maybe-enable-lsp client bufnr)
|
||||||
(formatting.maybe-enable-lsp client bufnr)))
|
(formatting.maybe-enable-lsp client bufnr)
|
||||||
|
((. (require :lsp-notify) :setup) {})))
|
||||||
:group augroup
|
:group augroup
|
||||||
:desc "Automatic LSP setup"})
|
:desc "Automatic LSP setup"})
|
||||||
;; Servers
|
;; Servers
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
(let [notify (require :notify)]
|
(let [notify (require :notify)]
|
||||||
(notify.setup {:stages :fade})
|
(notify.setup {:stages :fade})
|
||||||
(set vim.notify notify)
|
(set vim.notify notify))
|
||||||
((. (require :lsp-notify) :setup) {}))
|
|
||||||
|
|
Loading…
Reference in a new issue