Fork me on GitHub
#lsp
<
2021-12-08
>
Noah Bogart16:12:54

what’s the best way to diagnose why this happens?

ericdallo16:12:32

Maybe check server logs

Noah Bogart16:12:48

here’s the output from right before/during things going wild

ericdallo16:12:58

It seems multiple changes were made/sent to server and it blocked other features during the proccess of thoses changes, that's why codeLens and other features took a while

Noah Bogart16:12:36

is there a way to debounce my edits? i’m using vim and editing normally

ericdallo16:12:16

We already debounce on server side, I think it's related with a bug I want to fix next release, I added a flag for that on previous release: :linters {:clj-kondo {:async-custom-lint? true}}

👍 1
ericdallo16:12:58

this still have some issues like failing on a infinite loop sometimes (when editing too fast/multiple changes) and requiring restart the server 😅 , but it speeds up a lot the changes

ericdallo16:12:10

I intend to fix the infinite loop and enable it by default for next release

🎉 1