Many formatters/linters such as biome or ruff are also available as LSP, even though they aren't "real" language servers.
Offering an LSP, even if it is just for the formatting command, has its advantages, as it allows for easier integration into editors. With editors like nvim, for example, integrating stylua requires an extra plugin, while an LSP could be used out of the box.
Many formatters/linters such as
biomeorruffare also available as LSP, even though they aren't "real" language servers.Offering an LSP, even if it is just for the formatting command, has its advantages, as it allows for easier integration into editors. With editors like nvim, for example, integrating
styluarequires an extra plugin, while an LSP could be used out of the box.