DogLooksGood / meomacs

A simple Emacs configuration with modal editing
36 stars 4 forks source link

Question: Why lsp-mode? #2

Open jgarte opened 1 year ago

jgarte commented 1 year ago

Hi,

Why lsp-mode and not eglot?

https://github.com/DogLooksGood/meomacs/blob/master/programming.org#lsp

DogLooksGood commented 1 year ago

It doesn't really matter I guess. But lsp-mode do give me better experience.

jgarte commented 1 year ago

What is one feature that lsp-mode does better or has that eglot doesn't?

I've only used eglot.

DogLooksGood commented 1 year ago

lsp-mode have more features than eglot, but I disabled most of them. For me, eglot sometimes doesn't respect the completion template(in rust-mode). I don't think you should switch if you are good with eglot. The user experience depends more on lsp server implementation IMO.

jgarte commented 1 year ago

I'm currently only using lsp-mode for Python (jedi-language-server), C (sometimes clangd or ccls if I get annoyed with clangd being noisy, depends), and Rust (rust-analyzer).

jgarte commented 1 year ago

I'd like to start using/try this language server for postgres written in Rust:

https://github.com/supabase/postgres_lsp