Skip to content

Commit 2f72a48

Browse files
authored
Deal with 'workspace/diagnostic/refresh' message (#4600)
1 parent 4f987cb commit 2f72a48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lsp-mode.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3716,6 +3716,7 @@ disappearing, unset all the variables related to it."
37163716
:json-false))))))
37173717
,@(when lsp-lens-enable '((codeLens . ((refreshSupport . t)))))
37183718
,@(when lsp-inlay-hint-enable '((inlayHint . ((refreshSupport . :json-false)))))
3719+
(diagnostics . ((refreshSupport . :json-false)))
37193720
(fileOperations . ((didCreate . :json-false)
37203721
(willCreate . :json-false)
37213722
(didRename . t)
@@ -6954,6 +6955,8 @@ server. WORKSPACE is the active workspace."
69546955
(fboundp 'lsp--lens-on-refresh))
69556956
(lsp--lens-on-refresh workspace))
69566957
nil)
6958+
((equal method "workspace/diagnostic/refresh")
6959+
nil)
69576960
(t (lsp-warn "Unknown request method: %s" method) nil))))
69586961
;; Send response to the server.
69596962
(unless (eq response 'delay-response)

0 commit comments

Comments
 (0)