Closed benwainwright closed 4 years ago
It works for me with this config https://github.com/jsfaint/nvimcfg/blob/master/lsp.vim
But I don't write typescript, I only tested the lsp servers below:
I'm also trying it on Vim and it's not providing completion, the same config works fine on NeoVim. My relevant plugin list I'm trying right now:
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'prabirshrestha/vim-lsp'
Plug 'prabirshrestha/async.vim'
Plug 'ncm2/ncm2'
Plug 'ncm2/ncm2-vim-lsp'
Also, with nvim-yarp
and vim-hug-neovim-rpc
I can have LanguageClient-neovim
working as expected, but with the same configuration, just changing from LanguageClient to vim-lsp it simply stops working in vim, for completion. Diagnostics still works.
I've been trying several LSP clients for Vim and have settled on vim-lsp
because of its minimalism and better configuration from .vimrc
without additional configuration files (thx @prabirshrestha). It works great with ncm2
(more simple than others I've found, thx @roxma Ero-Sennin). Sadly I have to stick to NeoVim for it (no problem, I like both) because of the current issue :-(
hmm... I don't write typescript. I've tried the config of https://github.com/ncm2/ncm2/issues/36, with set nocompatible
and vim-hug-neovim-rpc
, it does work on vim8.
I don't really know what to say other than I absolutely cannot get completion to work for ncm2-vim-lsp, using the Typescript language server. Here is a minimal vimrc:
I've enabled logging, and vim-lsp is definitely successfully connecting to the server. Things like rename etc. are working.
If anyone is able to provide any help, that would be great...