diff --git a/core/core-os-osx.el b/core/core-os-osx.el index 31de3264f..21295e3ef 100644 --- a/core/core-os-osx.el +++ b/core/core-os-osx.el @@ -46,7 +46,15 @@ (use-package applescript-mode :mode "\\.applescript$" - :config (def-docset! applescript-mode "applescript")) + :init (add-hook 'applescript-mode-hook 'nlinum-mode) + :config + (def-docset! applescript-mode "applescript") + (after! quickrundb + (quickrun-add-command + "applescript" `((:command . ,as-osascript-command) + (:cmdopt . "-ss %s") + (:description . "Run applescript")) + :mode 'applescript-mode))) (def-project-type! lb6 "lb6" :match "\\.lb\\(action\\|ext\\)/.+$"