lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
jcsims 2021-05-11T20:31:26.177Z

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?

jcsims 2021-05-11T20:32:18.177700Z

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/)

ericdallo 2021-05-11T20:35:05.177900Z

yes, you can have a .dirs-locals.el with that code inside for your project

ericdallo 2021-05-11T20:35:28.178100Z

or set it globally in your emacs init.el

jcsims 2021-05-11T21:22:41.178300Z

thanks, that worked! Now to prune this down a bit...trying to track down a bad pause that's fairly recent

👍 1
jcsims 2021-05-11T23:06:42.178600Z

got it down to ~160 dirs watched from almost 3k - much better

1