Changes
- feat: experimental lsp (#803)
- feat: protect against plugin formatting non-empty file above 300 chars to empty file (#807)
- fix: upgrade wasmer to 4.2.5 (#809)
- fix: respect
NO_COLORenv var (#808)
Experimental Language Server
This release adds a language server to dprint found at dprint lsp. This will allow more easily using dprint in editors beside vscode and intellij, such as Neovim.
To try it out in vscode, add "dprint.experimentalLsp": true to your vscode settings. Please try it out and let me know if you run into any issues.
Outstanding tasks:
- Figure out how to do completions for dprint.json files (#806)
- Document how to use
dprint lspwith editors such as Neovim (#810)- If you use Neovim or any other editor that easily supports the LSP, please consider contributing some setup documentation instructions as I'm very unfamiliar with other editors.
Install
Run dprint upgrade or see https://dprint.dev/install/
Checksums
| Artifact | SHA-256 Checksum |
|---|---|
| dprint-x86_64-apple-darwin.zip | 6df01e0357049ad3bc62bbd2f60c9c448bd747b650ebf20f7ab5a38cefd36b44 |
| dprint-aarch64-apple-darwin.zip | cf23ab2785ca25f27ed5ca5127663dfe0131ae146d0b8d5159b06e0694ad74ac |
| dprint-x86_64-pc-windows-msvc.zip | 0a5a83b521f152cd83cfb95ef119286e472b3b43077b3ffaeb4b3297fbb52e7f |
| dprint-x86_64-pc-windows-msvc-installer.exe | 88d7bd63ce389f0ac2cacb53b020de1319bbe9ea104aa8390788cbfe10a74bea |
| dprint-x86_64-unknown-linux-gnu.zip | 581e44d57631498edfed6baad5dd77d832116a12c94dd6fb394045ed40af18ea |
| dprint-x86_64-unknown-linux-musl.zip | 8fb959aeeb441e0038217a7973f3a8e246e7aa46b77b33ba5f5e2f38d86f531b |
| dprint-aarch64-unknown-linux-gnu.zip | 45af380a82a65ebe173de25329093fc2e27cf64f3aeef9e39f723873b12fba7f |
| dprint-aarch64-unknown-linux-musl.zip | 48ba9f0910e32a66c869cffc6fd96d2d8f000ffb3d11234e71ae952f322dc849 |