From 3231db863cda08d16e227d0c34e7d27e92708311 Mon Sep 17 00:00:00 2001 From: Luis Date: Tue, 16 Nov 2021 08:34:32 -0600 Subject: [PATCH] fix(dart): remove hardcoded path to flutter SDK Instead, flutter.el looks for the executable in PATH. --- modules/lang/dart/config.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/lang/dart/config.el b/modules/lang/dart/config.el index def927dc0..966983cad 100644 --- a/modules/lang/dart/config.el +++ b/modules/lang/dart/config.el @@ -4,9 +4,6 @@ :when (featurep! +lsp) :hook (dart-mode-local-vars . lsp!) :config - (when (and (featurep! +flutter) IS-LINUX) - (when-let (path (doom-glob "/opt/flutter/bin/cache/dart-sdk")) - (setq flutter-sdk-path (car path)))) (set-ligatures! '(dart-mode) ;; Functional :def "Function"