Fork me on GitHub
#vim
<
2023-05-17
>
Ory Band10:05:35

I'm back. Disabling conjure and opening a zipfile spikes up clojure-lsp CPU utilization to 100% which was the reason i thought my process hanged (it wasn't, just 100% cpu) - this is the result of calling htop, removing clojure-lsp server resolves the issue.

PID  CPU%▽MEM%  DISK READ   DISK WRITE Command
 148218 291.3 16.9   58.99 M/s    0.00 B/s /snap/nvim/2801/usr/bin/nvim --embed
 148398 103.0  4.6    0.00 B/s    0.00 B/s /home/ory/.local/share/nvim/mason/bin/clojure-lsp
 148555 103.0  4.6    0.00 B/s    0.00 B/s pool-3-thread-1

dominicm10:05:40

Weird, normally lsp doesn’t activate for me when I go to a zipfile buffer.

dominicm10:05:48

I’m just using the built-in lsp in neovim.

Ory Band10:05:59

i opened the original clojure file from which i can go-to-definition to that one

Ory Band10:05:11

me as well, with clojure-lsp installed using mason

Ory Band10:05:01

i agree that clojure-lsp / nvim lsp doesn't autostart when opening a zipfile using nvim zipfile:/// - i think it should because the extension of the file path ends with .clj

Ory Band10:05:19

for example:

# vi zipfile:///home/ory/.m2/repository/com/stuartsierra/component/1.0.0/component-1.0.0.jar::com/stuartsierra/component/platform.clj