Skip to content

Commit 646ef4c

Browse files
niontrixTobias Heinlein
and
Tobias Heinlein
authored
[feat] Handling nimlangserver extension/statusUpdate (#4628)
Why?: - Since version 1.6.0 `nimlangserver` periodically sends an `extension/statusUpdate` notification which triggers a warning by `lsp-mode`. Because of the notification being sent quite frequently it prevents the user from actually being able to work on a Nim file. So, at the moment we should just ignore the notification which can still be inspected when setting `lsp-log-io` to `t`. This change addresses the need by: - Add notification handler #'ignore to `lsp-nim.el` for `extension/statusUpdate` Co-authored-by: Tobias Heinlein <[email protected]>
1 parent 6b60f98 commit 646ef4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clients/lsp-nim.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
(lambda () lsp-nim-langserver))
9696
:synchronize-sections '("nim")
9797
:activation-fn (lsp-activate-on "nim")
98+
:notification-handlers
99+
(ht ("extension/statusUpdate" #'ignore))
98100
:server-id 'nimlangserver))
99101

100102
(lsp-consistency-check lsp-nim)

0 commit comments

Comments
 (0)