diff --git a/frontmacs-dart.el b/frontmacs-dart.el new file mode 100644 index 0000000..7a44eb3 --- /dev/null +++ b/frontmacs-dart.el @@ -0,0 +1,7 @@ +(require 'dart-mode) +(require 'lsp-mode) + +;; use lsp-mode for dart +(add-hook 'dart-mode-hook #'lsp) + +(provide 'frontmacs-dart) diff --git a/frontmacs-pkg.el b/frontmacs-pkg.el index df100cd..e7e2fb8 100644 --- a/frontmacs-pkg.el +++ b/frontmacs-pkg.el @@ -48,6 +48,7 @@ (drag-stuff "0.3.0") (lsp-mode "20190517.435") (company-lsp "20190505.615") + (dart-mode "1.0.4") (use-package "2.3"))) :keywords '("emacs" "awesome" "starterkit") diff --git a/frontmacs.el b/frontmacs.el index 7e6d606..d0ff1b7 100644 --- a/frontmacs.el +++ b/frontmacs.el @@ -22,6 +22,7 @@ (require 'frontmacs-ruby) (require 'frontmacs-yaml) (require 'frontmacs-markdown) +(require 'frontmacs-dart) (require 'frontmacs-language-server) (provide 'frontmacs)