diff options
author | David Robillard <d@drobilla.net> | 2018-01-16 21:55:20 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-01-16 21:56:33 +0100 |
commit | 2c4e06a034e6a97a23de1fa2d128e3aeb8718166 (patch) | |
tree | f45ac58c54d5194e012dd358e12320715518cd68 /emacs | |
parent | 895858a5bcbb313ad47720736ca271d9d5dfbc6f (diff) | |
download | dotfiles-2c4e06a034e6a97a23de1fa2d128e3aeb8718166.tar.gz dotfiles-2c4e06a034e6a97a23de1fa2d128e3aeb8718166.tar.bz2 dotfiles-2c4e06a034e6a97a23de1fa2d128e3aeb8718166.zip |
Add file associations
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 8c11b58..9a47ece 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -57,6 +57,7 @@ (use-package smart-tabs-mode :commands (c-mode c++-mode)) (use-package spaceline) (use-package swiper :commands swiper) +(use-package ttl-mode :commands ttl-mode) (use-package tramp) (require 'spaceline-config) @@ -415,12 +416,14 @@ ;; Associations (add-to-list 'auto-mode-alist '("\\.pl\\'" . prolog-mode)) -(add-to-list 'auto-mode-alist '("\\.n3" . n3-mode)) -(add-to-list 'auto-mode-alist '("\\.ttl" . n3-mode)) -(add-to-list 'auto-mode-alist '("\\.owl" . n3-mode)) +(add-to-list 'auto-mode-alist '("\\.n3" . ttl-mode)) +(add-to-list 'auto-mode-alist '("\\.ttl" . ttl-mode)) +(add-to-list 'auto-mode-alist '("\\.owl" . ttl-mode)) (add-to-list 'auto-mode-alist '("\\.ll" . llvm-mode)) (add-to-list 'auto-mode-alist '("\\.md" . markdown-mode)) (add-to-list 'auto-mode-alist '("\\.pdf" . pdf-view-mode)) +(add-to-list 'auto-mode-alist '("\\.gyp" . python-mode)) +(add-to-list 'auto-mode-alist '("\\.gypi" . python-mode)) ;;; Launch |