From e108df3ba49eda6735008bdf06c8d1eb44930014 Mon Sep 17 00:00:00 2001 From: FlafyDev Date: Tue, 18 Apr 2023 14:57:11 +0300 Subject: [PATCH] fix: use dartls instead of dart in lspconfig --- modules/languages/dart/config.nix | 2 +- modules/languages/dart/dart.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/languages/dart/config.nix b/modules/languages/dart/config.nix index 9866db4..6cd9273 100644 --- a/modules/languages/dart/config.nix +++ b/modules/languages/dart/config.nix @@ -12,7 +12,7 @@ with builtins; let dart = { package = pkgs.dart; lspConfig = '' - lspconfig.dart.setup{ + lspconfig.dartls.setup{ capabilities = capabilities; on_attach=default_on_attach; cmd = {"${pkgs.dart}/bin/dart"}; diff --git a/modules/languages/dart/dart.nix b/modules/languages/dart/dart.nix index 21bf960..79452e7 100644 --- a/modules/languages/dart/dart.nix +++ b/modules/languages/dart/dart.nix @@ -12,7 +12,7 @@ with builtins; let dart = { package = pkgs.dart; lspConfig = '' - lspconfig.dart.setup{ + lspconfig.dartls.setup{ capabilities = capabilities; on_attach=default_on_attach; cmd = {"${pkgs.dart}/bin/dart"};