editor/format lsp feature requirement from textDocument/rangeFormatting to textDocument/formatting.
This commit is contained in:
parent
caf480e18a
commit
bf488394e9
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ Prompts for a formatter if universal arg is set."
|
||||||
(list +format-with t))
|
(list +format-with t))
|
||||||
((and +format-with-lsp
|
((and +format-with-lsp
|
||||||
(bound-and-true-p lsp-managed-mode)
|
(bound-and-true-p lsp-managed-mode)
|
||||||
(lsp-feature? "textDocument/rangeFormatting"))
|
(lsp-feature? "textDocument/formatting"))
|
||||||
(list 'lsp nil))
|
(list 'lsp nil))
|
||||||
((and +format-with-lsp
|
((and +format-with-lsp
|
||||||
(bound-and-true-p eglot--managed-mode)
|
(bound-and-true-p eglot--managed-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue