summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-02-04 11:47:04 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-02-06 11:46:51 +0900
commit7c20a2c83cc50ef33d1095be8806ddacb0f8b321 (patch)
tree92893573b4ecc8ec2486824ab0ded8d835909b95 /.dir-locals.el
parentd16f4220dadb7388f3328b8e7886d1dee40b60e3 (diff)
emacs mode addition
Now that we have C++ header files, why not let their indents follow our way.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2885
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 7c32d1f7ee..8f4b96445c 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -24,6 +24,8 @@
(c-mode . ((c-file-style . "ruby")))
+ (c++-mode . ((c-file-style . "ruby")))
+
(change-log-mode .
((buffer-file-coding-system . us-ascii)
(indent-tabs-mode . t)