3 ms·
Check that you have `libjansson-dev` installed, or whatever is the equivalent on your system.
by hvis 4y ago
Check that you have `libjansson-dev` installed, or whatever is the equivalent on your system.
- jpe90 4y agoLooks like I’ve got that on my machine, and I built Emacs —with-json this time. Performance is still better but it’s still stuttery. I guess it’s related to either the json parsing happening on the main thread and/or the LSP servers using company-capf which I think is a synchronous backend? It seems like coc.nvim, lsp bridge, kak-lsp, and other editor solution’s i’ve come across all opt to use sidecar processes that manage lsp. Perhaps Elisp isn’t the right tool for that backend processing.
- deagle50 4y agoThis can be spun off into another thread. I haven't tried it yet but the feedback has been excellent. https://reddit.com/r/emacs/comments/ymrkyn/async_nonblocking_jsonrpc_or_lsp_performance/ https://reddit.com/r/emacs/comments/ymrkyn/async_nonblocking...
- jpe90 4y agoOh what a great idea! I hope this can get mainlined someday(perhaps behind a config option) since Eglot should benefit from that approach as well!