diff --git a/doom.d/config.el b/doom.d/config.el index 81ea985..526356a 100644 --- a/doom.d/config.el +++ b/doom.d/config.el @@ -466,8 +466,8 @@ independent key tables." :hook (prog-mode . rainbow-delimiters-mode)) (after! yasnippet - (setq yas-snippet-dirs - '("~/Org/snippets"))) + (add-to-list 'yas-snippet-dirs "~/Org/snippets") + (yas-reload-all)) (after! lsp-mode (add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\result\\") diff --git a/doom.d/config.org b/doom.d/config.org index 0ea77e3..5cae3c9 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -658,8 +658,8 @@ Makes pairs of delimiters into pretty colors. Hook this into prog-mode Set the snippets directory to inside our org dir, since this gets synced #+begin_src emacs-lisp :tangle yes (after! yasnippet - (setq yas-snippet-dirs - '("~/Org/snippets"))) + (add-to-list 'yas-snippet-dirs "~/Org/snippets") + (yas-reload-all)) #+end_src ** LSP Mode Custom configuration for lsp-mode