emacs: Enable Dart support
This commit is contained in:
parent
9b21bacf5f
commit
f1a6f68ec3
@ -48,6 +48,8 @@ in {
|
||||
json-mode
|
||||
rust-mode
|
||||
yaml-mode
|
||||
lsp-mode lsp-treemacs flycheck company
|
||||
dart-mode lsp-dart
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -7,8 +7,7 @@
|
||||
(setq redisplay-dont-pause t)
|
||||
(setq jit-lock-defer-time 0)
|
||||
(setq fast-but-imprecise-scrolling t)
|
||||
(setq make-backup-files nil)
|
||||
(setq create-lockfiles nil)
|
||||
(setq make-backup-files nil) (setq create-lockfiles nil)
|
||||
|
||||
;; A trick for faster startup is to just disable GC for the init phase
|
||||
;;; See: https://github.com/nilcons/emacs-use-package-fast#a-trick-less-gc-during-startup
|
||||
@ -208,6 +207,11 @@
|
||||
(use-package json-mode)
|
||||
(use-package rust-mode)
|
||||
(use-package yaml-mode)
|
||||
(add-hook 'dart-mode-hook 'lsp)
|
||||
(setq lsp-lens-enable t
|
||||
lsp-signature-auto-activate nil
|
||||
company-minimum-prefix-length 1
|
||||
read-process-output-max (* 1024 1024))
|
||||
|
||||
;; Debugging
|
||||
;(use-package explain-pause-mode
|
||||
|
Loading…
Reference in New Issue
Block a user