fix: use dartls instead of dart in lspconfig

This commit is contained in:
FlafyDev 2023-04-18 14:57:11 +03:00
parent 008ea23033
commit e108df3ba4
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ with builtins; let
dart = { dart = {
package = pkgs.dart; package = pkgs.dart;
lspConfig = '' lspConfig = ''
lspconfig.dart.setup{ lspconfig.dartls.setup{
capabilities = capabilities; capabilities = capabilities;
on_attach=default_on_attach; on_attach=default_on_attach;
cmd = {"${pkgs.dart}/bin/dart"}; cmd = {"${pkgs.dart}/bin/dart"};

View file

@ -12,7 +12,7 @@ with builtins; let
dart = { dart = {
package = pkgs.dart; package = pkgs.dart;
lspConfig = '' lspConfig = ''
lspconfig.dart.setup{ lspconfig.dartls.setup{
capabilities = capabilities; capabilities = capabilities;
on_attach=default_on_attach; on_attach=default_on_attach;
cmd = {"${pkgs.dart}/bin/dart"}; cmd = {"${pkgs.dart}/bin/dart"};