doomemacs/modules/editor/format
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
..
autoload Use lsp-format-region-or-buffer if available 2020-05-05 09:52:44 +01:00
test fix: format-all upstream definitions 2019-06-08 17:45:42 +02:00
config.el Fix #2605: update editor/format module 2020-03-10 01:48:20 -04:00
packages.el Revert to lassik/emacs-format-all-the-code@47d862d 2020-03-11 00:57:44 -04:00