From 7a3e6d180f7d2d297556ca7ecd860475472c4a9e Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 5 May 2024 18:58:45 +0530 Subject: [PATCH] Use eglot for project I rely on eglot being enabled for this to work --- .dir-locals.el | 7 +++---- test/.dir-locals.el | 8 -------- 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 test/.dir-locals.el 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)))))