Skip to content

Commit

Permalink
fix: Inhibit lsp modification
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed May 20, 2024
1 parent e1da7ee commit 78f5ee3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vs-revbuf.el
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ This occurs when file was opened but has moved to somewhere else externally."
(was-flycheck (and (featurep 'flycheck) flycheck-mode))
(was-page-lines (and (featurep 'page-break-lines) page-break-lines-mode)))
;; Revert it!
(ignore-errors (revert-buffer :ignore-auto :noconfirm :preserve-modes))
(let ((lsp-inhibit-lsp-hooks t))
(ignore-errors (revert-buffer :ignore-auto :noconfirm :preserve-modes)))
(fextern-update-buffer-save-string)
(when (and (featurep 'line-reminder)
(or vs-revbuf--interactive-p
Expand Down

0 comments on commit 78f5ee3

Please sign in to comment.