Merge pull request #5302 from holyfight6/format-all-lsp
Changed editor/format lsp feature requirement from textDocument/rangeFormatting to textDocument/formatting
This commit is contained in:
commit
56107744df
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))
|
||||
((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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue