Configure yas in a way that doesn't break
This commit is contained in:
parent
20df466987
commit
c52634183b
|
@ -466,8 +466,8 @@ independent key tables."
|
||||||
:hook (prog-mode . rainbow-delimiters-mode))
|
:hook (prog-mode . rainbow-delimiters-mode))
|
||||||
|
|
||||||
(after! yasnippet
|
(after! yasnippet
|
||||||
(setq yas-snippet-dirs
|
(add-to-list 'yas-snippet-dirs "~/Org/snippets")
|
||||||
'("~/Org/snippets")))
|
(yas-reload-all))
|
||||||
|
|
||||||
(after! lsp-mode
|
(after! lsp-mode
|
||||||
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\result\\")
|
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\result\\")
|
||||||
|
|
|
@ -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
|
Set the snippets directory to inside our org dir, since this gets synced
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(after! yasnippet
|
(after! yasnippet
|
||||||
(setq yas-snippet-dirs
|
(add-to-list 'yas-snippet-dirs "~/Org/snippets")
|
||||||
'("~/Org/snippets")))
|
(yas-reload-all))
|
||||||
#+end_src
|
#+end_src
|
||||||
** LSP Mode
|
** LSP Mode
|
||||||
Custom configuration for lsp-mode
|
Custom configuration for lsp-mode
|
||||||
|
|
Loading…
Reference in New Issue