News for hackers. Stuff that matters.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by oehtXRwMkIs on Sunday October 23, 2022 @02:07PM (#33308906)
At least for web development I believe eglot is strictly worse. It does not support running multiple servers (e.g. tsserver and eslint-ls) (https://github.com/joaotavora/eglot/issues/976) which is supported by lsp-mode and neovim's built-in lsp client. Also, it does not have any equivalent to dap-mode which is lsp-mode only. Although worth noting dap-mode is currently useless for js (https://github.com/emacs-lsp/dap-mode/issues/369).
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by PuercoPop on Sunday October 23, 2022 @03:02PM (#33309295)
Why would one want to run eslint through an LSP? Using flymake it call the CLI works just fine and is more direct.
Re:Eglot has landed on master: Emacs now has a built-in LSP ... by jrockway on Sunday October 23, 2022 @03:26PM (#33309497)
Why wouldn't you want the lint error to be highlighted right as you type the code?

gopls has staticcheck and govet warnings; they are quite useful as you're typing in your code. (Though sometimes a little aggressive. My favorite is highlighting an if statement as an "empty branch" before I've had time to type in any code. I'm working as fast as I can, Mr. Linter!)

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by morelisp on Sunday October 23, 2022 @04:02PM (#33309791)
> Why wouldn't you want the lint error to be highlighted right as you type the code?

eslint's flymake integration can do this without any language server commitments. LSP maybe offers some performance advantage - but IMO that says more about eslint than LSP or flymake.

Re:Eglot has landed on master: Emacs now has a built-in LSP ... by PuercoPop on Sunday October 23, 2022 @07:28PM (#33311300)
> Why wouldn't you want the lint error to be highlighted right as you type the code?

Why do you think you need to involve an LSP for that?. ESLint, as most linters, can take their input from stdin. That is exactly how the eslint-flymake[0] works. Lint on buffer contents, not file on disk. No JSON RPC involved.

0: https://github.com/emacs-pe/eslint-flymake/