diff --git a/home/emacs/modules/custom-ide-config.el b/home/emacs/modules/custom-ide-config.el index 437d3adc..1da71b66 100644 --- a/home/emacs/modules/custom-ide-config.el +++ b/home/emacs/modules/custom-ide-config.el @@ -4,5 +4,9 @@ (apheleia-global-mode +1) (direnv-mode +1) (eglot-ensure) +(yas-reload-all) +(add-hook 'prog-mode-hook #'aggressive-indent-mode) +(add-hook 'prog-mode-hook #'rainbow-delimiters-mode) +(add-hook 'prog-mode-hook #'yas-minor-mode) (provide 'custom-ide-config) diff --git a/system/emacs.nix b/system/emacs.nix index d2581bfd..b4893539 100644 --- a/system/emacs.nix +++ b/system/emacs.nix @@ -35,11 +35,14 @@ editorconfig aggressive-indent ibuffer-project - # custom treesit-grammars.with-all-grammars treesit-auto apheleia direnv + goto-chg + rainbow-delimiters + yasnippet + yasnippet-snippets nix-mode rust-mode