1
0
Fork 0
mirror of https://review.coreboot.org/chrome-ec.git synced 2024-09-13 00:00:49 +02:00
chrome-ec/.dir-locals.el
Jack Rosenthal 632d38062e ec: Add directory local configuration for Emacs
Since ec uses Linux kernel code style, this adds support for a feature
in emacs to use a specific code style in a directory and its
subdiretories. Looks like this technique is used in a few other spots in
chromium code.

BUG=None
BRANCH=none
TEST=Emacs 26.1 recognizes and uses just fine

Change-Id: Ic8007accf6746cb1a4c2ca0050fa06884d598da3
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1493036
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
2019-03-01 19:50:22 -08:00

4 lines
136 B
EmacsLisp

((c-mode . ((c-file-style . "linux")
(c-basic-offset . 8)
(tab-width . 8)
(indent-tabs-mode . t))))