diff options
author | Guangxiong Lin <[email protected]> | 2021-09-11 22:23:22 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-09-11 22:23:38 +0800 |
commit | 07b0cf089419d37528273468c394238e805c4a3d (patch) | |
tree | 48b3e357dece4a79e689276fdf2df22af9fd5be9 | |
parent | 7a2ba4fa9dbae8aa7c05a51d569217d0742e586e (diff) | |
download | dotfiles-07b0cf089419d37528273468c394238e805c4a3d.tar.gz dotfiles-07b0cf089419d37528273468c394238e805c4a3d.tar.bz2 dotfiles-07b0cf089419d37528273468c394238e805c4a3d.zip |
Add racket filetype in emacs
-rw-r--r-- | .emacs.d/init.el | 1 | ||||
-rw-r--r-- | .emacs.d/lisp/init-filetype.el | 4 |
2 files changed, 5 insertions, 0 deletions
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) |