Add applescript-mode

This commit is contained in:
Henrik Lissner 2014-09-05 18:24:43 -04:00
parent 9b4a107185
commit 965713da81
2 changed files with 3 additions and 0 deletions

2
Cask
View file

@ -95,3 +95,5 @@
(depends-on "git-rebase-mode") (depends-on "git-rebase-mode")
(depends-on "gitconfig-mode") (depends-on "gitconfig-mode")
(depends-on "gitignore-mode") (depends-on "gitignore-mode")
(depends-on "applescript-mode")

View file

@ -13,6 +13,7 @@
(add-to-list 'auto-mode-alist '("zsh\\(env\\|rc\\)?\\'" . shell-script-mode)) (add-to-list 'auto-mode-alist '("zsh\\(env\\|rc\\)?\\'" . shell-script-mode))
(add-to-list 'auto-mode-alist '("z\\(profile\\|login\\|logout\\)?\\'" . shell-script-mode)) (add-to-list 'auto-mode-alist '("z\\(profile\\|login\\|logout\\)?\\'" . shell-script-mode))
(add-to-list 'auto-mode-alist '("zsh/" . shell-script-mode)) (add-to-list 'auto-mode-alist '("zsh/" . shell-script-mode))
(add-to-list 'auto-mode-alist '("\\.applescript$" . applescript-mode))
(add-hook 'text-mode-hook 'enable-hard-wrap) (add-hook 'text-mode-hook 'enable-hard-wrap)
(add-hook 'prog-mode-hook 'enable-comment-hard-wrap) (add-hook 'prog-mode-hook 'enable-comment-hard-wrap)