mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
editor/format lsp feature requirement from textDocument/rangeFormatting to textDocument/formatting.
This commit is contained in:
@ -112,7 +112,7 @@ Prompts for a formatter if universal arg is set."
|
||||
(list +format-with t))
|
||||
((and +format-with-lsp
|
||||
(bound-and-true-p lsp-managed-mode)
|
||||
(lsp-feature? "textDocument/rangeFormatting"))
|
||||
(lsp-feature? "textDocument/formatting"))
|
||||
(list 'lsp nil))
|
||||
((and +format-with-lsp
|
||||
(bound-and-true-p eglot--managed-mode)
|
||||
|
Reference in New Issue
Block a user