Add formatter and some other stuff
This commit is contained in:
parent
781b4c3095
commit
697984199a
11 changed files with 146 additions and 99 deletions
17
lang/dart.el
Normal file
17
lang/dart.el
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
;;; dart -- summary -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(require '+custom-pkg-prog-mode "$HOME/.emacs.d/pkg/prog-mode.el")
|
||||
|
||||
(use-package dart-mode :straight t :defer t)
|
||||
(use-package lsp-dart :defer t :straight t)
|
||||
|
||||
(defun +custom-lang-dart/activate-dart-mode ()
|
||||
"Reconfigure dart mode for your own purposes."
|
||||
(lsp))
|
||||
|
||||
(add-hook 'dart-mode-hook '+custom-lang-dart/activate-dart-mode)
|
||||
|
||||
(provide '+custom-lang-dart)
|
||||
;;; dart.el ends here
|
||||
Loading…
Add table
Add a link
Reference in a new issue