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 Jun 24, 2024
1 parent 026d57d commit d64a217
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 @@ -4296,6 +4296,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 d64a217

Please sign in to comment.