Skip to content

Commit

Permalink
Request pull diagnostics when file is opened
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruin0x11 committed Dec 28, 2023
1 parent 14dbf85 commit 8501368
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -4250,6 +4250,8 @@ yet."

(lsp-managed-mode 1)

(lsp-diagnostics--request-pull-diagnostics lsp--cur-workspace)

(run-hooks 'lsp-after-open-hook)
(when-let ((client (-some-> lsp--cur-workspace (lsp--workspace-client))))
(-some-> (lsp--client-after-open-fn client)
Expand Down

0 comments on commit 8501368

Please sign in to comment.