Use eglot for project

I rely on eglot being enabled for this to work
This commit is contained in:
2024-05-05 18:58:45 +05:30
parent a40eaf29b8
commit 7a3e6d180f
2 changed files with 3 additions and 12 deletions

View File

@@ -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)))))

View File

@@ -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)))))