lang/emacs-lisp: enable flycheck-mode if not in emacs.d
This commit is contained in:
parent
653e80e655
commit
629c71d4bc
2 changed files with 6 additions and 1 deletions
|
@ -29,6 +29,10 @@
|
|||
(auto-compile-on-save-mode +1)
|
||||
(rainbow-delimiters-mode +1)
|
||||
|
||||
(when (and buffer-file-name
|
||||
(not (file-in-directory-p buffer-file-name doom-emacs-dir)))
|
||||
(flycheck-mode +1))
|
||||
|
||||
(font-lock-add-keywords
|
||||
nil `(;; Display "lambda" as λ
|
||||
("(\\(lambda\\)" (1 (ignore (compose-region (match-beginning 1) (match-end 1) ?λ #'decompose-region))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue