dense-analysis / ale

Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
BSD 2-Clause "Simplified" License
13.51k stars 1.43k forks source link

Update dart analysis_server command #4761

Closed macuyler closed 4 months ago

macuyler commented 5 months ago

In 2021 the dart team added a new sub-command language-server to replace the original ./snapshots/analysis_server.dart.snapshot --lsp convention for starting the language server.

The original convention does not work with the latest versions of dart.

w0rp commented 5 months ago

Can we add an option to switch the command back to the old version for those who need to keep using it? Changing right away is a little bit of a breaking change, but it's been unstable so I'm okay with an option to change it back and using the stable command right away.

macuyler commented 4 months ago

@w0rp I added the option to switch back to the old version. Let me know if there is anything else I can do to help!