Skip to content

Commit

Permalink
Enable dart mode.
Browse files Browse the repository at this point in the history
Dart is a language from google that is used for the Flutter
framework.

This adds `dart-mode` supported by its corresponding language server protocol.`
  • Loading branch information
Charles Lowell authored and cowboyd committed May 29, 2019
1 parent 668c61f commit fb05db9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontmacs-dart.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(require 'dart-mode)
(require 'lsp-mode)

;; use lsp-mode for dart
(add-hook 'dart-mode-hook #'lsp)

(provide 'frontmacs-dart)
1 change: 1 addition & 0 deletions frontmacs-pkg.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions frontmacs.el
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
(require 'frontmacs-ruby)
(require 'frontmacs-yaml)
(require 'frontmacs-markdown)
(require 'frontmacs-dart)
(require 'frontmacs-language-server)

(provide 'frontmacs)
Expand Down

0 comments on commit fb05db9

Please sign in to comment.