From 210d31bac3a7f270d3ff37fbb480e8ff3b5bff3a Mon Sep 17 00:00:00 2001 From: Sara Date: Tue, 10 Feb 2026 14:09:08 +0100 Subject: [PATCH] feat: added projectile compile cmds to dir-locals --- .dir-locals.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index ac91ce2..b38182b 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,5 +1,8 @@ ((nil (indent-tabs-mode . t) (tab-width . 4) - (lsp-enable-on-type-formatting nil))) -((c-mode . ((mode . c++)))) + (lsp-enable-on-type-formatting nil) + (projectile-project-run-cmd . "bin/dice-gui") + (projectile-project-configure-cmd . "cmake -S. -Bbuild -DCMAKE_EXPORT_COMPILE_COMMANDS=ON") + (projectile-project-compilation-cmd . "cmake --build build")) + (c-mode . ((mode . c++))))