From 718f319bb8ea5e6538b862bcb159f4f522e1446b Mon Sep 17 00:00:00 2001 From: jjanzen Date: Sun, 19 Jan 2025 11:41:50 -0600 Subject: system changes --- common/.config/emacs/init.el.org | 9 ++++++++- macos.local/.flake/home/programs/core.nix.org | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org index 19574e8..e248129 100644 --- a/common/.config/emacs/init.el.org +++ b/common/.config/emacs/init.el.org @@ -465,6 +465,12 @@ Install =yaml-mode=. (use-package yaml-mode) #+end_src +Install =zig-mode=. +#+begin_src emacs-lisp + (use-pacakge zig-mode) +#+end_src + + Set up =eglot= to run on languages that have been configured. #+begin_src emacs-lisp (global-set-key (kbd "C-c r") 'eglot-rename) @@ -486,7 +492,8 @@ Set up =eglot= to run on languages that have been configured. tex-mode-hook LaTeX-mode-hook yaml-mode-hook - nix-mode-hook)) + nix-mode-hook + zig-mode-hook)) (add-hook lang-hook (lambda () (eglot-ensure) (tree-sitter-mode 1) diff --git a/macos.local/.flake/home/programs/core.nix.org b/macos.local/.flake/home/programs/core.nix.org index 1c97f3e..65e0b7b 100644 --- a/macos.local/.flake/home/programs/core.nix.org +++ b/macos.local/.flake/home/programs/core.nix.org @@ -60,6 +60,7 @@ Import configurations for programs and install programs with no configuration. wget yt-dlp zig + zls ]; } #+end_src -- cgit v1.2.3