fix(dart): remove hardcoded path to flutter SDK

Instead, flutter.el looks for the executable in PATH.
This commit is contained in:
Luis 2021-11-16 08:34:32 -06:00 committed by Henrik Lissner
parent 012b97fafb
commit 3231db863c

View file

@ -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"