aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
authorstephan-cr <stephan.cr@gmx.de>2024-11-02 15:10:46 +0100
committerGitHub <noreply@github.com>2024-11-02 16:10:46 +0200
commit9b466af28bac6d61fd0e717f1a4b0fcd2f18f37f (patch)
treedc910f6d419a9bdf2473612638d1ebbaaf569307 /projectile.el
parent0d71b961663bf9e47f049b320f79a47bee6cc657 (diff)
Add Zig project discovery (#1918)
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/projectile.el b/projectile.el
index 4eda5d0..b849338 100644
--- a/projectile.el
+++ b/projectile.el
@@ -3626,6 +3626,13 @@ a manual COMMAND-TYPE command is created with
:compile "dune build"
:test "dune runtest")
+;; Zig
+(projectile-register-project-type 'zig '("build.zig.zon")
+ :project-file "build.zig.zon"
+ :compile "zig build"
+ :test "zig build test"
+ :run "zig build run")
+
(defvar-local projectile-project-type nil
"Buffer local var for overriding the auto-detected project type.
Normally you'd set this from .dir-locals.el.")