Enable direnv and fix language option in eisvogel
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user