-
-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Plan on supporting textDocument/rangeFormatting
?
#1815
Comments
I don't think there is much reason to implement this feature since your entire document should just be formatted based on |
I used zls in Emacs through lsp-mode, but I couldn't get the formatting work by formatting the entire buffer. It makes sense since formatting the whole buffer still uses the |
Could you show me how you performed formatting and checked that it used I was able to use The zig-mode plugin also has |
A variable See the source from (when (and lsp-enable-indentation
(lsp-feature? "textDocument/rangeFormatting"))
(add-function :override (local 'indent-region-function) #'lsp-format-region)) I know there is a command It's not a big issue since we can always use |
I noticed this feature isn't supported. Is there a reason why this feature isn't implemented? 馃
The text was updated successfully, but these errors were encountered: