diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-23 04:30:50 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-23 04:46:09 +0100 |
commit | 42ac28d44ac7e1f102e9ba37fa91923e822e47df (patch) | |
tree | d400f2af604ff37453f7d8e357b368e63ff74f78 /.dir-locals.el | |
parent | 0ac634a9bec04934398a431bfc1b9a7a27561f0c (diff) | |
download | ovm-42ac28d44ac7e1f102e9ba37fa91923e822e47df.tar.gz ovm-42ac28d44ac7e1f102e9ba37fa91923e822e47df.tar.bz2 ovm-42ac28d44ac7e1f102e9ba37fa91923e822e47df.zip |
Make root directory an include path, set #include's properly
Easier to write includes now just using < with the module name, in
comparison to using relative paths.
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index e942583..02fbd7a 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,6 +1,9 @@ ;;; Directory Local Variables -*- no-byte-compile: t -*- ;;; For more information see (info "(emacs) Directory Variables") -((nil . ((projectile-project-compilation-cmd . "make") - (projectile-project-configure-cmd . "make clean") - (+license/license-choice . "GPLv2")))) +((nil . ((projectile-project-compilation-cmd . "make") + (projectile-project-configure-cmd . "make clean") + (+license/license-choice . "GPLv2"))) + (c-mode . ((flycheck-gcc-include-path . ("..")) + (flycheck-clang-include-path . ("..")) + (company-clang-arguments . ("-I.."))))) |