5

I want to know how to make lsp-mode ignore a node_modules folder (along with say, folder asdf and temp). This is what I have:

(setq lsp-file-watch-ignored (rx (or "node_modules" "asdf" "temp")))

but for some reason it is not working. This official link says that lsp-mode uses a regex for lsp-file-watch-ignored, but the error I am getting seems to imply that it is expecting a list. What am I doing wrong?

eoyath
  • 51
  • 2

0 Answers0