Enable configuring Dart's LSP from other means of installation types. Some users don't install the `dart` binary, but uses version manager. In the example, I uses [FVM](https://fvm.app/) (short for "Flutter Version Manager"). I have tested this with "Install Dev Extensions". Release Notes: - N/A cc other maintainer: @agent3bood @flo80 --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
705 B
705 B
Dart
Dart support is available through the Dart extension.
- Tree Sitter: UserNobody14/tree-sitter-dart
- Language Server: dart language-server
Configuration
The dart binary can be configured in a Zed settings file with:
{
"lsp": {
"dart": {
"binary": {
"path": "/opt/homebrew/bin/fvm",
"arguments": ["dart", "language-server", "--protocol=lsp"]
}
}
}
}