JakeBecker / elixir-ls

A frontend-independent IDE "smartness" server for Elixir. Implements the JSON-based "Language Server Protocol" standard and provides debugger support via VS Code's debugger protocol.
Apache License 2.0
846 stars 52 forks source link

Add Neovim coc.nvim compatibility #198

Closed mijailr closed 4 years ago

mijailr commented 4 years ago

Using coc.nvim support all the ElixirLS features except the debugger

https://github.com/neoclide/coc.nvim/wiki/Language-servers#elixir

coc.nvim is compatible with vim8 but the functionality of @spec suggestions only works on neovim.

image

houmanka commented 4 years ago

Hi, How do you get the suggested spec to get printed in the code? Or do I need to write it? In VS Code I used to click on the suggested spec and it would printed on top of my code.

Thanks

mijailr commented 4 years ago

This is part of the LS spec. You only need to enable codelens on the coc.nvim config.

houmanka commented 4 years ago

Hmmm, It is already enabled. I need to make it to print on top of the code.

mijailr commented 4 years ago

Oh in that case is not related to this. Currently all the codelens are printed on the line that occurs. I think the API doesn't allow to add a new line.

mijailr commented 4 years ago

Do we want to merge this @JakeBecker ?

delameko commented 4 years ago

Hi @mijailr,

this repo is no longer in use, Jake's moved/moving official ownership over to the elixir-lsp/elixir-ls repo.

mijailr commented 4 years ago

Thanks @delameko, so this repo should be archived.