Skip to content

Commit

Permalink
Make sure that the update is processed properly
Browse files Browse the repository at this point in the history
  • Loading branch information
yyoncho committed Feb 26, 2021
1 parent 711af00 commit 74a02f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm-lsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ With a prefix ARG invalidates the cache first."
(interactive "P")
(if (get-buffer "*helm-lsp-diagnostics*")
(progn
(helm-resume "*helm-lsp-diagnostics*")
(helm-update))
(run-with-timer 0 nil #'helm-update)
(helm-resume "*helm-lsp-diagnostics*"))
(helm
:sources
(helm-build-sync-source "Diagnostics"
Expand Down

0 comments on commit 74a02f8

Please sign in to comment.