We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d22a49 commit 7c21320Copy full SHA for 7c21320
lsp-mode.el
@@ -3747,7 +3747,8 @@ in that particular folder."
3747
(run-hooks 'lsp-unconfigure-hook)
3748
3749
(lsp--remove-overlays 'lsp-color)
3750
- (setq-local indent-region-function nil)
+ (when (eq indent-region-function #'lsp-format-region)
3751
+ (setq-local indent-region-function nil))
3752
(remove-hook 'lsp-on-change-hook #'lsp--document-color t)
3753
(remove-hook 'lsp-on-idle-hook #'lsp--document-highlight t)
3754
(remove-hook 'lsp-on-idle-hook #'lsp--document-links t))
0 commit comments