Message ID | 20180709225643.10537-2-bart.vanassche@wdc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Looks good,
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
diff --git a/.dir-locals.el b/.dir-locals.el index 46961929fac9..994103c63d39 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,4 +1,6 @@ ((sh-mode . ((sh-basic-offset . 8) (sh-indentation . 8) - (fill-column . 80) - (indent-tabs-mode . t)))) + (fill-column . 80))) + (c-mode . ((c-basic-offset . 8) + (c-label-minimum-indentation . 0))) + (nil . ((indent-tabs-mode . t))))
Add c-mode settings for the files in the src directory. Additionally, make indent-tabs-mode global such that it also applies to the .dir-locals.el file itself. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> --- .dir-locals.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)