summaryrefslogtreecommitdiff
path: root/emacs.d/modules/module-thrift.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/modules/module-thrift.el')
-rw-r--r--emacs.d/modules/module-thrift.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs.d/modules/module-thrift.el b/emacs.d/modules/module-thrift.el
new file mode 100644
index 0000000..03e301a
--- /dev/null
+++ b/emacs.d/modules/module-thrift.el
@@ -0,0 +1,10 @@
+(require 'config-package)
+
+(use-package thrift
+ ;; mode to work with thrift files
+ :mode ("\\.thrift\\'" . thrift-mode)
+
+ :config
+ (setq thrift-indent-level 2))
+
+(provide 'module-thrift)