blob: 852588359fa611b2e849ae66f8165c9a3222d502 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
(use-package eglot :ensure t)
;; Dart
(setq dart-server-format-on-save t)
(add-hook 'dart-mode-hook 'lsp)
(setq gc-cons-threshold (* 100 1024 1024)
read-process-output-max (* 1024 1024))
;; Python
(use-package blacken :ensure t)
;; Terraform
(use-package terraform-mode :ensure t :defer t)
;; YAML
(use-package yaml-mode :ensure t :defer t)
;; Rust
(use-package rust-mode
:init
(setq rust-mode-treesitter-derive t))
(add-hook 'rust-mode-hook 'eglot-ensure)
(provide 'rul-prog)
|