elixir-tools / elixir-tools.nvim

Neovim plugin for Elixir
MIT License
395 stars 29 forks source link

Example with lsp-zero.nvim? #186

Closed leandrocp closed 6 months ago

leandrocp commented 7 months ago

I think I got it working with https://github.com/VonHeikemen/lsp-zero.nvim but an official example would be nice. Thanks for this project!

mhanberg commented 7 months ago

Can you share your config that you think is correct? I'm not familiar with lsp zero so having your config would help verify

mhanberg commented 7 months ago

I also just realized you opened this in the neovim plugin, I assumed you meant Next LS.

This plugin basically replaces things like lspzero and lspconfig, can you clarify exactly what you mean?

bjufre commented 7 months ago

@leandrocp @mhanberg I use LSP Zero and the way I have this setup is:

NOTE: That the on_attach function is the one that I use for all the servers, and here I'm expanding it to include the custom commands for Elixir like FromPipe or ToPipe.

leandrocp commented 6 months ago

@mhanberg my config is pretty similar to the one posted by @bjufre (thanks!) but I didn't know about lsp.skip_server_setup, seems like that's the key to make it work well with lspzero

Feel free to close this issue, either way it will be useful for future reference.