lsp

:clojure-lsp: Clojure implementation of the Language Server Protocol: https://clojure-lsp.io/
borkdude 2021-04-19T16:30:36.081900Z

https://twitter.com/borkdude/status/1384181469166247941

1👍435🚀
2021-04-19T17:27:22.083200Z

I did not notice that you had written back. So basically emacs is unusable. Jump using go to definition results in 100% professor usage. Killing the clojure-lsp process helps.

ericdallo 2021-04-19T17:28:15.083400Z

are you using latest lsp-mode as well?

2021-04-19T18:34:09.083600Z

clojure-lsp-bin-1:2021.04.13_12.47.33-1

ericdallo 2021-04-19T18:34:52.083800Z

no clojure-lsp, lsp-mode from emacs

2021-04-19T18:35:01.084Z

ah

2021-04-19T18:37:44.084200Z

lsp-version returns err, maybe some problem with doom-emacs

2021-04-19T18:44:05.084400Z

Package: lsp-mode
     Source: Straight
     Pinned: eda51c21662253fd05b4f3f20ad7b029d9c2aff7
      Build: HEAD -> master, replaced, origin/master eda51c216 2021-03-27 19:55:40 +0200
             Build location: ~/.emacs.d/.local/straight/build-28.0.50/lsp-mode/
             Repo location: ~/.emacs.d/.local/straight/repos/lsp-mode/
     Recipe: (:type git :flavor melpa :files
                    (:defaults "clients/*.el" "lsp-mode-pkg.el")
                    :host github :repo "emacs-lsp/lsp-mode" :package "lsp-mode" :local-repo "lsp-mode")
                Homepage: <https://github.com/emacs-lsp/lsp-mode>
    Modules: Declared by the following Doom modules:
             :tools lsp (readme)
    Configs: This package is configured in the following locations:
             modules/lang/cc/config.el:288:  (after! lsp-mode (require 'ccls))
             modules/tools/debugger/config.el:117:  (after! lsp-mode (require 'dap-mode))
             modules/tools/lsp/+lsp.el:19:(use-package! lsp-mode

2021-04-19T18:45:25.084600Z

this is the version from 23 days ago

2021-04-19T18:46:36.085100Z

I'm going to unpin the version, update it and see if anything changes

2021-04-19T18:46:40.085300Z

thx for your time

ericdallo 2021-04-19T19:02:43.085500Z

Yes, it doesn't work for doom-emacs

2021-04-19T21:58:32.085700Z

2021-04-19T21:59:02.086100Z

Unfortunately update lsp-mode did not help

2021-04-19T22:01:07.086300Z

http://ix.io/2WFz

ericdallo 2021-04-19T22:02:01.086500Z

Looks correct, is the file you are opening too big?

ericdallo 2021-04-19T22:02:11.086700Z

Did you try with clojure.core functions?

2021-04-19T22:02:12.086900Z

I have the same line 1195x

2021-04-19T22:02:17.087100Z

in log

2021-04-19T22:03:09.087300Z

Sorry, not the same one, because there are several hundred times the same error concerning different functions

ericdallo 2021-04-19T22:03:18.087500Z

That could be improved on clojure-lso to avoid the log, but is not related with the performance

2021-04-19T22:04:04.087700Z

open file alone has 3000 loc, entire project 40 000 loc

ericdallo 2021-04-19T23:50:26.087900Z

Hum feel free to open an issue on clojure-lsp, but for now I'm out of ideas :/