doomemacs/modules/editor/format/autoload
James Ravn 300bc65918
Use lsp-format-region-or-buffer if available
Currently the user has to select `SPC c F` for lsp format. But if
lsp-mode is enabled, the user will always want to use the LSP formatter.
So this changes the default `SPC c f` to use lsp formatter if available.
This simplifies the interface a bit so the user doesn't have to worry
about selecting the "right" format, just like how other commands get
auto bound to LSP functions.
2020-05-05 09:52:44 +01:00
..
evil.el 💥 Remove :feature category 2019-04-24 18:16:04 -04:00
format.el Use lsp-format-region-or-buffer if available 2020-05-05 09:52:44 +01:00
settings.el Fix invalid-function 116 when formatting with tidy 2020-01-04 03:33:42 -05:00