Files
.emacs.d/modules/siren-thrift.el
Jim Myhrberg 671c924716 Remove use of highlight-indentation-mode
It effects performance quite badly in large files with lots of
indentation levels. I still use
highlight-indentation-current-column-mode though as it doesn't have such
a bad impact on performance.
2016-04-04 09:24:03 +01:00

27 lines
585 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-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