mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 09:49:48 +01:00
fix: use correct dart cli options for lsp
This commit is contained in:
parent
9af9bd7f3a
commit
dc2dddeda2
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ with builtins; let
|
|||
lspconfig.dartls.setup{
|
||||
capabilities = capabilities;
|
||||
on_attach=default_on_attach;
|
||||
cmd = {"${pkgs.dart}/bin/dart"};
|
||||
cmd = {"${pkgs.dart}/bin/dart", "language-server", "--protocol=lsp"};
|
||||
${optionalString (cfg.lsp.opts != null) "init_options = ${cfg.lsp.dartOpts}"}
|
||||
}
|
||||
'';
|
||||
|
|
|
@ -15,7 +15,7 @@ with builtins; let
|
|||
lspconfig.dartls.setup{
|
||||
capabilities = capabilities;
|
||||
on_attach=default_on_attach;
|
||||
cmd = {"${pkgs.dart}/bin/dart"};
|
||||
cmd = {"${pkgs.dart}/bin/dart", "language-server", "--protocol=lsp"};
|
||||
${optionalString (cfg.lsp.opts != null) "init_options = ${cfg.lsp.dartOpts}"}
|
||||
}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue