From 7747ff9d4bcb74d37bd8b1c456d243bd92e6fdda Mon Sep 17 00:00:00 2001 From: Rawley Fowler <75388349+rawleyfowler@users.noreply.github.com> Date: Sat, 24 Sep 2022 21:49:14 -0500 Subject: [PATCH] Update .emacs --- debian/home/.emacs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/home/.emacs b/debian/home/.emacs index a044910..a19f297 100644 --- a/debian/home/.emacs +++ b/debian/home/.emacs @@ -44,9 +44,17 @@ (use-package haml-mode) (use-package rescript-mode) (use-package reason-mode) +(use-package dune) +(use-package dune-format) +(if (package-installed-p 'dune-format) + (add-hook 'dune-mode-hook 'dune-format-on-save-mode)) (setq utop-commands "opam config exec -- utop -emacs") +(defun copy-all () + (interactive) + (clipboard-kill-ring-save (point-min) (point-max))) + (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -55,8 +63,9 @@ '(custom-enabled-themes '(gruber-darker)) '(custom-safe-themes '("3d2e532b010eeb2f5e09c79f0b3a277bfc268ca91a59cdda7ffd056b868a03bc" default)) + '(ispell-dictionary nil) '(package-selected-packages - '(reason-mode rescript-mode utop haml-mode tuareg caml-mode ocaml-mode smex gruber-darker-theme use-package))) + '(dune dune-format reason-mode rescript-mode utop haml-mode tuareg caml-mode ocaml-mode smex gruber-darker-theme use-package))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.