Skip to content

Instantly share code, notes, and snippets.

@Binary-Eater
Created July 29, 2023 18:00
Show Gist options
  • Save Binary-Eater/b9657c17602ec561f9982228f99b9747 to your computer and use it in GitHub Desktop.
Save Binary-Eater/b9657c17602ec561f9982228f99b9747 to your computer and use it in GitHub Desktop.
Emacs directory local settings for kernel development
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((c++-mode . ((clang-format-style . "file")
(tab-width . 8)
(c-basic-offset . 8)
(indent-tabs-mode . t)))
(c-mode . ((clang-format-style . "file")
(tab-width . 8)
(c-basic-offset . 8)
(indent-tabs-mode . t)))
(c-or-c++-mode . ((clang-format-style . "file")
(tab-width . 8)
(c-basic-offset . 8)
(indent-tabs-mode . t)))
(sh-mode . ((tab-width . 8)
(sh-basic-offset . 8)
(indent-tabs-mode . t))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment