refactor: organize emacs config
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
5997e83b32
commit
7c75810123
7 changed files with 220 additions and 175 deletions
14
.emacs.d/include/racket.el
Normal file
14
.emacs.d/include/racket.el
Normal file
|
@ -0,0 +1,14 @@
|
|||
;;; racket.el --- Configuration for Racket.
|
||||
;;; Commentary:
|
||||
;; Configuration for Racket and Racket-based languages, including Pollen.
|
||||
;;; Code:
|
||||
|
||||
(add-to-list 'load-path (expand-file-name "lisp/pollen-mode" user-emacs-directory))
|
||||
(autoload 'pollen-mode "pollen" "A major mode for the pollen preprocessor." t)
|
||||
|
||||
;; Recognize pollen filetypes
|
||||
(setq auto-mode-alist (cons '("\\.pp$" . racket-mode) auto-mode-alist))
|
||||
(setq auto-mode-alist (cons '("\\.pm$" . racket-mode) auto-mode-alist))
|
||||
|
||||
(provide 'racket)
|
||||
;;; racket.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue