diff --git a/Cask b/Cask index c59442631..ade95f899 100644 --- a/Cask +++ b/Cask @@ -95,3 +95,5 @@ (depends-on "git-rebase-mode") (depends-on "gitconfig-mode") (depends-on "gitignore-mode") + +(depends-on "applescript-mode") diff --git a/init/core-editor.el b/init/core-editor.el index 1484883a8..7ddb1c233 100644 --- a/init/core-editor.el +++ b/init/core-editor.el @@ -13,6 +13,7 @@ (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 '("zsh/" . shell-script-mode)) +(add-to-list 'auto-mode-alist '("\\.applescript$" . applescript-mode)) (add-hook 'text-mode-hook 'enable-hard-wrap) (add-hook 'prog-mode-hook 'enable-comment-hard-wrap)