Skip to content
Brady Trainor edited this page Jan 9, 2019 · 2 revisions
;; Installing
(setq package-archives
      '(("gnu" . "https://elpa.gnu.org/packages/")
        ("melpa" . "https://melpa.org/packages/")))
(package-initialize)
(unless (package-installed-p 'dart-mode)
  (package-refresh-contents)
  (package-install 'dart-mode))

;; Formatting
(setq dart-format-on-save t)