diff options
Diffstat (limited to '.emacs.d/rul-lisp')
-rw-r--r-- | .emacs.d/rul-lisp/packages/rul-prog.el | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-prog.el b/.emacs.d/rul-lisp/packages/rul-prog.el index e82931b..581dbc1 100644 --- a/.emacs.d/rul-lisp/packages/rul-prog.el +++ b/.emacs.d/rul-lisp/packages/rul-prog.el @@ -1,12 +1,7 @@ +;;; rul-prog.el --- Configuration related to programming and markup +;;; languages (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)) - ;; Go (use-package go-mode :ensure t @@ -24,10 +19,6 @@ :init (add-hook 'go-mode-hook 'go-eldoc-setup)) -;; Define function to call when go-mode loads -(defun my-go-mode-hook () - (set 'compile-command "go build -v && go test -v && go vet")) - ;; Latex (add-hook 'latex-mode-hook 'flyspell-mode) (setq TeX-PDF-mode t) @@ -61,7 +52,6 @@ :init (setq rust-mode-treesitter-derive t) :config - (add-hook 'rust-mode-hook 'eglot-ensure) - ) + (add-hook 'rust-mode-hook 'eglot-ensure)) (provide 'rul-prog) |