I'm looking to customize lsp-file-watch-ignored-directories
, and the last line of the docstring mentions "Customization of this variable is only honored at the global level or at a root of an lsp workspace". How can I customize this at the root of the workspace?
Is this something like dir-locals (which I'm really not familiar with, just see it mentioned on https://emacs-lsp.github.io/lsp-mode/page/file-watchers/)
yes, you can have a .dirs-locals.el
with that code inside for your project
or set it globally in your emacs init.el
thanks, that worked! Now to prune this down a bit...trying to track down a bad pause that's fairly recent
got it down to ~160 dirs watched from almost 3k - much better