1
0
Fork 0

nvim: fix lsp notify integration

This commit is contained in:
Daniel Kempkens 2023-10-05 13:14:18 +02:00
parent aa7e3b4fc8
commit db402a079a
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,8 @@
(vim.lsp.inlay_hint bufnr true)
(setup-inlay-hint-toggle 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
:desc "Automatic LSP setup"})
;; Servers

View file

@ -1,4 +1,3 @@
(let [notify (require :notify)]
(notify.setup {:stages :fade})
(set vim.notify notify)
((. (require :lsp-notify) :setup) {}))
(set vim.notify notify))