Prefer language server formatting to external formatters #9543
Labels
A-language-server
Area: Language server client
C-enhancement
Category: Improvements
E-easy
Call for participation: Experience needed to fix: Easy / not much
Auto-formatting currently prefers external formatters to language servers:
helix/helix-view/src/document.rs
Lines 725 to 815 in 0975d9c
But I believe this should be reversed: the language server is probably more efficient than us shelling out to the formatter and computing the diff ourselves.
If one wants to prefer the formatter to the language server formatting they can turn off the formatting feature for that language server using
only-features
/except-features
(https://docs.helix-editor.com/languages.html#configuring-language-servers-for-a-language).The text was updated successfully, but these errors were encountered: