4 ms·
Nice. Is it a plug-in replacement? E.g. does eglot already make use of this, too, or will it need to be updated?
by anyfoo 6y ago
Nice. Is it a plug-in replacement? E.g. does eglot already make use of this, too, or will it need to be updated?
- ddavis 6y agoEglot will use the native C JSON parsing if Emacs is compiled with jansson support.
- jidiculous 6y agolsp-mode recommends the same on its guide for improving performance: https://emacs-lsp.github.io/lsp-mode/page/performance/ https://emacs-lsp.github.io/lsp-mode/page/performance/
- amake 6y agoI had to re-bytecode-compile lsp-mode to get it to pick up the faster JSON support (`M-x package-reinstall lsp-mode`). See `lsp-diagnose` for a quick way to check if you're good to go.
- anyfoo 6y agoThanks, but I'm using eglot. I might try lsp again, now that some time has passed, though.