I have in my ~/.emacs.d/init.el
:
(use-package google-c-style
;; provides the Google C/C++ coding style
:ensure t
:config
(add-hook 'c-mode-common-hook 'google-set-c-style))
However, a particular C project I'm viewing uses
(setq c-default-style "linux"
c-basic-offset 4)
How can I override the default google C style with this one for this specific project? Something along the lines of putting something inside of .dir-locals.el
placed at the root of the project would be nice.