diff --git a/.dir-locals.el b/.dir-locals.el index 2bbc275..2bcf3b2 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -3,8 +3,7 @@ ((nil . ((projectile-project-compilation-cmd . "make") (projectile-project-configure-cmd . "make clean") + (projectile-project-test-cmd . "make test") (+license/license-choice . "GPLv2"))) - (c-mode . ((flycheck-gcc-include-path . ("..")) - (flycheck-clang-include-path . ("..")) - (company-clang-arguments . ("-I..")) - (eval . (clang-format-mode t))))) + (c-mode . ((mode . clang-format) + (eval . (eglot-ensure))))) diff --git a/test/.dir-locals.el b/test/.dir-locals.el deleted file mode 100644 index 1b90dee..0000000 --- a/test/.dir-locals.el +++ /dev/null @@ -1,8 +0,0 @@ -;;; Directory Local Variables -*- no-byte-compile: t; -*- -;;; For more information see (info "(emacs) Directory Variables") - -((nil . ((+license/license-choice . "GPLv2"))) - (c-mode . ((flycheck-gcc-include-path . ("../..")) - (flycheck-clang-include-path . ("../..")) - (company-clang-arguments . ("-I../../")) - (eval . (clang-format-mode t)))))