mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Since we enable global-company-mode, explicitly enabling it in the setup for various major modes does nothing. But it does tie the code to company mode, making it harder to try alternatives like corfu.
28 lines
545 B
EmacsLisp
28 lines
545 B
EmacsLisp
;;; siren-applescript.el --- jimeh's Emacs Siren: applescript-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for applescript-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-prog-mode)
|
|
|
|
(use-package applescript-mode
|
|
:mode
|
|
"\\.applescript\\'"
|
|
"\\.scpt\\'"
|
|
|
|
:hook (applescript-mode . siren-applescript-mode-setup)
|
|
|
|
:init
|
|
(defun siren-applescript-mode-setup ()
|
|
(run-hooks 'prog-mode-hook)
|
|
(setq tab-width 4)
|
|
|
|
(highlight-symbol-mode -1)
|
|
(subword-mode +1)))
|
|
|
|
(provide 'siren-applescript)
|
|
;;; siren-applescript.el ends here
|