Enable direnv and fix language option in eisvogel

This commit is contained in:
2020-05-24 08:15:14 +02:00
parent 682675cbfd
commit efefbc80f2
4 changed files with 19 additions and 17 deletions

View File

@@ -19,9 +19,9 @@
;; Load org configuration
(after! org (load! "+org"))
;; Enter writeroom and disable completion and line numbers in Markdown
(add-hook 'markdown-mode-hook (lambda () (display-line-numbers-mode -1)))
(after! markdown
(set-company-backend! 'markdown-mode nil)
(add-hook 'markdown-mode-hook (lambda () (display-line-numbers-mode -1)))
(add-hook 'markdown-mode-hook 'global-writeroom-mode))
;; Reload file from disk without confirmation
(defun revert-buffer-no-confirm ()
@@ -42,7 +42,6 @@
(setq compilation-finish-functions
(lambda (buf str)
(if (null (string-match ".*exited abnormally.*" str))
;;no errors, make the compilation window go away in a few seconds
(progn
(run-at-time
"0.5 sec" nil 'delete-windows-on