Add formatter and some other stuff

This commit is contained in:
Maciej 2023-10-17 15:05:40 +03:00
parent 781b4c3095
commit 697984199a
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
11 changed files with 146 additions and 99 deletions

17
lang/dart.el Normal file
View 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