summaryrefslogtreecommitdiff
path: root/emacs/.emacs
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-10-04 15:24:15 +0200
committerJulian T <julian@jtle.dk>2021-10-04 15:24:15 +0200
commitc9d3fd0cb71737c99de60e8eae6040974f88fc8e (patch)
tree23a3179eb4d716f77ae32f8753374ee6c829a64e /emacs/.emacs
parent820cae5478f87f50fef04f65673fab17f3ca1a64 (diff)
Add auctex emacs package and other config
Diffstat (limited to 'emacs/.emacs')
-rw-r--r--emacs/.emacs8
1 files changed, 7 insertions, 1 deletions
diff --git a/emacs/.emacs b/emacs/.emacs
index 9e804da..e2f65ad 100644
--- a/emacs/.emacs
+++ b/emacs/.emacs
@@ -12,6 +12,7 @@
'nix-mode
'lsp-mode
'magit
+ 'auctex
))
(defun install-stuff () (interactive)
(mapc (lambda (pack)
@@ -48,6 +49,8 @@
(tool-bar-mode -1)
(toggle-scroll-bar -1)
+(setq indent-tabs-mode nil)
+
(show-paren-mode 1)
(setq show-paren-when-point-inside-paren 1)
@@ -88,6 +91,8 @@
(global-set-key (kbd "C-x C-d") 'toggle-dark-mode)
+(add-hook 'direc-mode-hook 'auto-revert-mode)
+
;; Completion
(require 'lsp-mode)
@@ -112,7 +117,8 @@
[default default default italic underline success warning error])
'(ansi-color-names-vector
["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"])
- '(package-selected-packages '(magit use-package evil-surround evil-collection)))
+ '(package-selected-packages
+ '(auctex lsp-haskell haskell-mode geiser-racket magit use-package evil-surround evil-collection)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.