feat(emacs): Let lsp ignore devenv and rust target directories
This commit is contained in:
parent
a5e131cb3c
commit
5e53de014a
1 changed files with 4 additions and 0 deletions
|
|
@ -51,6 +51,10 @@
|
||||||
(after! persp-mode
|
(after! persp-mode
|
||||||
(setq! persp-emacsclient-init-frame-behaviour-override "main"))
|
(setq! persp-emacsclient-init-frame-behaviour-override "main"))
|
||||||
|
|
||||||
|
(after! lsp
|
||||||
|
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]\\.devenv\\'")
|
||||||
|
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]target\\'")
|
||||||
|
)
|
||||||
|
|
||||||
(defun my/org-id-update-id-current-file ()
|
(defun my/org-id-update-id-current-file ()
|
||||||
"Scan the current buffer for Org-ID locations and update them."
|
"Scan the current buffer for Org-ID locations and update them."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue