Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to neovim native LSP #144

Merged
merged 4 commits into from
Sep 19, 2020
Merged

Switch to neovim native LSP #144

merged 4 commits into from
Sep 19, 2020

Conversation

phansch
Copy link
Owner

@phansch phansch commented Sep 17, 2020

The goal for this PR is to avoid having to run all the nodejs stuff for coc and keep all the old keybindings.

The native LSP doesn't seem to have an equivalent to coc-snippets, so I guess I will need to switch to a separate snippet completion provider. Maybe https://github.com/ncm2/ncm2 (See ncm2/ncm2#178 for more info)

TODO

  • Move the LSP config to a separate lua file
  • Make rust-analyzer work
  • Make solargraph work
  • Make snippet completion work (through separate plugin)

Sources

RA and Solargraph language servers currently still have to be manually
installed.
(still need to add a snippet engine)
@phansch
Copy link
Owner Author

phansch commented Sep 18, 2020

Using https://github.com/nvim-lua/completion-nvim instead of ncm2 for now. It seems to work 馃し

I will still need to configure a snippet engine: https://github.com/nvim-lua/completion-nvim#enable-snippets-support

@phansch phansch merged commit 95081a4 into main Sep 19, 2020
@phansch phansch deleted the native-lsp branch September 19, 2020 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant