Skip to content

Commit

Permalink
2 space indent for .thrift
Browse files Browse the repository at this point in the history
  • Loading branch information
dougm committed Mar 11, 2013
1 parent d7bda85 commit aa867c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom/thrift.el
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,4 @@
(autoload 'thrift-mode "thrift-mode" "Major mode for editing Thrift code." t) (autoload 'thrift-mode "thrift-mode" "Major mode for editing Thrift code." t)
(add-to-list 'auto-mode-alist '("\.thrift$" . thrift-mode)) (add-to-list 'auto-mode-alist '("\.thrift$" . thrift-mode))

(add-hook 'thrift-mode-hook (lambda ()
(setq thrift-indent-level 2)))

0 comments on commit aa867c8

Please sign in to comment.