doomemacs/modules/editor
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 Correct map! indentation 2020-05-04 16:53:26 -04:00
file-templates Bump :editor 2020-04-30 01:28:02 -04:00
fold Bump :editor 2020-04-30 01:28:02 -04:00
format Use lsp-format-region-or-buffer if available 2020-05-05 09:52:44 +01:00
god Bump :editor 2020-04-30 01:28:02 -04:00
lispy Bump :editor 2020-04-30 01:28:02 -04:00
multiple-cursors Bump :editor 2020-04-30 01:28:02 -04:00
objed Bump :editor 2020-04-30 01:28:02 -04:00
parinfer Bump :editor 2020-04-30 01:28:02 -04:00
rotate-text Bump :editor 2020-04-30 01:28:02 -04:00
snippets Bump :editor 2020-04-30 01:28:02 -04:00
word-wrap Bump :editor 2020-04-30 01:28:02 -04:00