dundalek / lazy-lsp.nvim

Neovim plugin to auto install LSP servers
MIT License
203 stars 17 forks source link

Support for Linters and Formatters #25

Closed kenos1 closed 1 year ago

kenos1 commented 1 year ago

Hi,

I've been using this plugin for months and I'm enjoying it. It has changed how I use LSPs in Neovim, but I think that this plugin would be more useful if linters and formatters were included (since nixpkgs seems to have packages for them.) Thank you for your time making this plugin!

dundalek commented 1 year ago

Hi, could you give an example which linters/formatters do you have in mind? How would you expect to run them?

kenos1 commented 1 year ago

I was thinking of the linters and formatters from null-ls.

dundalek commented 1 year ago

I see, that sounds useful. Although it makes sense to probably have a separate plugin since null-ls is likely to use different packages and a different mechanism how they are integrated.

I don't use null-ls myself (I prefer efm-langserver) so I don't plan to work on it. However, someone could take inspiration from lazy-lsp and create a similar plugin lazy-null-ls.

kenos1 commented 1 year ago

efm-langserver looks pretty cool, but if we were to integrate nix-shell to it I think it would be a better fit for it to be a separate project.