Fork me on GitHub
#clojure-nl
<
2021-07-15
>
skuro12:07:31

I just realized my clojure-lsp is actually constantly exploding as it's automagically trying to watch unreacheable files within the project checkout

skuro12:07:20

tl;dr: a docker volume for the dev db which foobars UID/GID so that my user cannot directly browse those files

skuro12:07:57

@ericdallo would you happen to know which config entry do I need to set in order to skip one folder?

ericdallo12:07:50

Also there is another one to configure the file watcher to ignore some folder/files in that page

borkdude12:07:30

I have it completely turned off. Why do we need this filewatcher again?

(setq gc-cons-threshold (* 100 1024 1024)
      read-process-output-max (* 1024 1024)
      treemacs-space-between-root-nodes nil
      lsp-headerline-breadcrumb-enable nil
      company-idle-delay 0.5
      lsp-idle-delay 0.5
      company-minimum-prefix-length 1
      lsp-lens-enable t
      lsp-enable-file-watchers nil
      lsp-file-watch-threshold 10000
      lsp-signature-auto-activate nil
      lsp-clojure-custom-server-command '("/Users/borkdude/Dropbox/bin/clojure-lsp")
      lsp-diagnostics-provider :none
      lsp-enable-indentation nil ;; uncomment to use cider indentation instead of lsp
      ;; lsp-enable-completion-at-point nil ;; uncomment to use cider completion instead of lsp

      lsp-completion-provider :capf
      lsp-enable-on-type-formatting nil)

ericdallo12:07:08

The file watcher feature, is useful for when the file is changed not via editor

ericdallo12:07:18

For example, git branch changes

borkdude12:07:26

ah right. well, I can live without that

ericdallo12:07:33

Yes, not a critical one

ericdallo12:07:06

It works for most projects, if you think there is a better default file/folder to be added, please LMK