mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
28 lines
616 B
EmacsLisp
28 lines
616 B
EmacsLisp
;;; siren-thrift.el --- jimeh's Emacs Siren: thrift-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for thrift-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-programming)
|
|
|
|
(siren-require-packages '(thrift))
|
|
|
|
(defun siren-thrift-mode-defaults ()
|
|
(siren-prog-mode-defaults)
|
|
|
|
(setq tab-width 2)
|
|
(highlight-indentation-mode)
|
|
(highlight-indentation-current-column-mode)
|
|
(subword-mode +1))
|
|
|
|
(setq siren-thrift-mode-hook 'siren-thrift-mode-defaults)
|
|
|
|
(add-hook 'thrift-mode-hook (lambda ()
|
|
(run-hooks 'siren-thrift-mode-hook)))
|
|
|
|
(provide 'siren-thrift)
|
|
;;; siren-thrift.el ends here
|