aboutsummaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-10-24 18:38:10 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-10-24 18:38:10 +0100
commitef40b73392888b1bac5ab06ba3130290c3e89956 (patch)
treeaf71e04ff4d36640f8ea675b2eaf0868232cbf1e /.dir-locals.el
downloadSimplex-ef40b73392888b1bac5ab06ba3130290c3e89956.tar.gz
Simplex-ef40b73392888b1bac5ab06ba3130290c3e89956.zip
Adding initial files
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..ec813af
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,8 @@
+((nil . ((eval . (progn
+ (require 'projectile)
+ (setq company-clang-arguments (delete-dups (append
+ company-clang-arguments
+ (list (concat "-I" (projectile-project-root) "include")))))
+ (setq flycheck-clang-include-path (delete-dups (append
+ flycheck-clang-include-path
+ (list (concat (projectile-project-root) "include"))))))))))