1
0
Fork 0
dotfiles/.emacs.d/include/racket.el
Lucas Sta Maria a75a8d8a90
fix: run pollen-mode on .pmd files
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
2023-08-21 22:39:31 -04:00

15 lines
602 B
EmacsLisp

;;; 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$" . pollen-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.pmd$" . pollen-mode) auto-mode-alist))
(provide 'racket)
;;; racket.el ends here