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 Jul 3, 2024
1 parent b3f4237 commit b591ff3
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 @@ -4297,6 +4297,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 b591ff3

Please sign in to comment.