From 07b0cf089419d37528273468c394238e805c4a3d Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 11 Sep 2021 22:23:22 +0800 Subject: Add racket filetype in emacs --- .emacs.d/init.el | 1 + .emacs.d/lisp/init-filetype.el | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .emacs.d/lisp/init-filetype.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5d07f24..bc6f720 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -16,6 +16,7 @@ (require 'init-evil) (require 'init-org) (require 'init-lang) +(require 'init-filetype) (require 'init-misc) (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) diff --git a/.emacs.d/lisp/init-filetype.el b/.emacs.d/lisp/init-filetype.el new file mode 100644 index 0000000..93505a8 --- /dev/null +++ b/.emacs.d/lisp/init-filetype.el @@ -0,0 +1,4 @@ +(add-to-list 'auto-mode-alist + '("\\.rkt\\'" . scheme-mode)) + +(provide 'init-filetype) -- cgit v1.2.3