Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDon't use lsp-format-region as indent-region-function #398
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
vibhavp
Aug 18, 2018
Member
Doing that would break someone else's setup. You could set lsp-enable-indentation to nil instead.
|
Doing that would break someone else's setup. You could set |
vibhavp
closed this
Aug 18, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
j3kyl
Sep 29, 2018
lsp-enable-indentation as I turned it off lsp-java is now running smoothly! cant say why!
j3kyl
commented
Sep 29, 2018
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
muffinmad commentedJul 19, 2018
Region formatting may include various corrections like whitespace around operators etc. but indent-region-function must be used just for indentation.
lsp-mode/lsp-methods.el
Line 894 in 5ea5c63