Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recognize Dart Projects. #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion elpa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions frontmacs-dart.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@
;; use lsp-mode for dart
(add-hook 'dart-mode-hook #'lsp)

;; teach projectile how to recognize a dart project (it's one that has
;; a pubspec.yml or BUILD file in its root)
(with-eval-after-load "projectile"
(add-to-list 'projectile-project-root-files-bottom-up "pubspec.yaml")
(add-to-list 'projectile-project-root-files-bottom-up "BUILD"))

(provide 'frontmacs-dart)
2 changes: 1 addition & 1 deletion frontmacs-pkg.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;; -*- eval: (flycheck-mode -1) -*-
(define-package "frontmacs" "0.2.24" "Frontside config package for emacs"
(define-package "frontmacs" "0.2.25" "Frontside config package for emacs"
'((f "0.19.0")
(editorconfig "0.8.0")
(magit "2.8.0")
Expand Down