From 9d3d6f5450fcbb4c8680ad31bbe38a286ba74f18 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 2 May 2024 17:06:27 -0700 Subject: [PATCH] Add zig stuff --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.el b/init.el index e83a03e..160f24a 100644 --- a/init.el +++ b/init.el @@ -114,6 +114,9 @@ ;; Set fonts (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono-12")) + ;; Enable color in compilation buffers + (add-hook 'compilation-filter-hook 'ansi-color-compilation-filter) + ;; Some settings for programming (setq-default indent-tabs-mode nil tab-width 4 @@ -837,6 +840,10 @@ COMMAND and COMINT are like `compile'." :ensure nil :hook (rust-ts-mode . eglot-ensure)) +;; zig +(use-package zig-mode + :hook (zig-mode . eglot-ensure)) + ;; lua (use-package lua-mode :hook (lua-mode . eglot-ensure))