mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
22 lines
427 B
EmacsLisp
22 lines
427 B
EmacsLisp
;;; siren-thrift.el --- jimeh's Emacs Siren: thrift-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for thrift-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-prog-mode)
|
|
|
|
(use-package thrift
|
|
:mode "\\.thrift\\'"
|
|
:hook (thrift-mode . siren-thrift-mode-setup)
|
|
|
|
:preface
|
|
(defun siren-thrift-mode-setup ()
|
|
(run-hooks 'prog-mode-hook)
|
|
(setq-local tab-width 2)))
|
|
|
|
(provide 'siren-thrift)
|
|
;;; siren-thrift.el ends here
|