lsp-prettier
v0.2.0
Published
Formatter-only LSP server powered by Prettier.
Readme
lsp-prettier
A formatter-only Language Server that formats documents using Prettier.
Install
npm (as a CLI)
npm install -g lsp-prettier
# or
pnpm add -g lsp-prettier
# or
bun add -g lsp-prettierUsage
This server communicates over stdio. Start it with --stdio:
lsp-prettier --stdioIf you downloaded a GitHub Release binary, run the corresponding executable with --stdio, for example on Windows:
lsp-prettier-windows-x64.exe --stdio