Use eglot for project
I rely on eglot being enabled for this to work
This commit is contained in:
@@ -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)))))
|
||||
|
||||
@@ -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)))))
|
||||
Reference in New Issue
Block a user