aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjjanzen <jjanzen@jjanzen.ca>2025-01-19 11:41:50 -0600
committerjjanzen <jjanzen@jjanzen.ca>2025-01-19 11:41:50 -0600
commit718f319bb8ea5e6538b862bcb159f4f522e1446b (patch)
tree2e1466a25f35225dd193c3d8333d6899237d1e92
parent75c2c8daac298d4a29e6760d57621632c40f8edd (diff)
system changes
-rw-r--r--common/.config/emacs/init.el.org9
-rw-r--r--macos.local/.flake/home/programs/core.nix.org1
2 files changed, 9 insertions, 1 deletions
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