forked from doomemacs/doomemacs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable formatter if LSP formatter is available
The :editor format module uses either the formatter available through an LSP server or a formatter that the format-all package supports. With :editor (format +onsave), this formatter is triggered when a file is saved. However, if no format-all formatter is available, this on-save behavior is disabled, even if an LSP formatter is available. This fixes that.
- Loading branch information
Showing
1 changed file
with
29 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters