Fix yasnippet config, add custom snippet from doom

Add link-hint package
This commit is contained in:
Evie Litherland-Smith 2023-10-27 06:40:20 +01:00
parent 8891a13e42
commit 75711282c6
4 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,7 @@
stylix.targets.emacs.enable = false; stylix.targets.emacs.enable = false;
xdg.configFile = { xdg.configFile = {
"emacs/init.el".source = ./init.el; "emacs/init.el".source = ./init.el;
"emacs/snippets".source = ./snippets;
"emacs/modules".source = ./modules; "emacs/modules".source = ./modules;
"emacs/crafted-emacs".source = crafted-emacs; "emacs/crafted-emacs".source = crafted-emacs;
}; };

View file

@ -4,6 +4,8 @@
(apheleia-global-mode +1) (apheleia-global-mode +1)
(direnv-mode +1) (direnv-mode +1)
(eglot-ensure) (eglot-ensure)
(require 'yasnippet)
(require 'yasnippet-snippets)
(yas-reload-all) (yas-reload-all)
(add-hook 'prog-mode-hook #'aggressive-indent-mode) (add-hook 'prog-mode-hook #'aggressive-indent-mode)
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode) (add-hook 'prog-mode-hook #'rainbow-delimiters-mode)

View file

@ -81,6 +81,7 @@
# Additional packages # Additional packages
which-key which-key
link-hint
magit magit
vterm vterm
pdf-tools pdf-tools