cmp-path
nvim-lsp-installer
cmp-path | nvim-lsp-installer | |
---|---|---|
6 | 82 | |
523 | 2,022 | |
- | - | |
0.0 | 9.7 | |
5 months ago | over 1 year ago | |
Lua | Lua | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cmp-path
-
Make lsp-zero.nvim coexists with other plugins instead of controlling them
cmp-path: Completion source. Gives suggestions based on the filesystem.
-
File path completion
If you use nvim-cmp there's cmp-path.
-
Neovim LSP: Setup nvim-lspconfig + nvim-cmp
cmp-path
-
nvim-cmp path completion starts as soon as ' or " is used
Do you have the most recent version? It looks like this was fixed recently: https://github.com/hrsh7th/cmp-path/commit/d83839ae510d18530c6d36b662a9e806d4dceb73
-
Seeking a plugin to "detect" folders/files and autofill/prompt when needed
Most auto completion plugins provides path completion enable that. For example for nvim-cmp.
-
How to setup nvim-cmp as nvim-compe?
List of sources can be found here (you probably want cmp-path) so add
nvim-lsp-installer
- [Neovim] Présentation de mason.nvim
-
Unable to get a working setup for lsp
I had previous gotten a working setup with https://github.com/williamboman/nvim-lsp-installer however, I have been unable to get it working ever since.
-
How do you stay up-to-date on the plugins you use?
The only way to stay up to date, is when you read the commits if you update the plugins. In this case for the lsp-installer in the commit bfa74f4 was mentioned that the plugin will no longer maintained
-
LSP question: manage an already installed server (instead of using lspinstall)
A word of caution, I believe lspinstall has been deprecated in favor of nvim-lspinstall which itself has also been deprecated in favor of mason-lspconfig
-
AstroNvim 2.4
We have now migrated from nvim-lsp-instasller to mason which provides automatic LSP and null-ls configuration after installation
-
Best way to go about installing LSP today?
nvim-lsp-installer or mason.nvim. FYI lsp-zero also uses mason.nvim for managing installation.
-
Vue + Volar = Error Request initialize failed
I'm using nvim-lsp-installer it installs typescript when installing volar. So I had given it that path. Plus I had typescript locally installing since I'm using vue3+ts(vite) template
-
rust-analyzer changelog #146
Though mason only recently replaced nvim-lsp-installer. Same author but they decided to make a complete rewrite given the broader scope beyond only providing language servers. And nvim-dap had it's initial release in late July. The actual dap servers are all kind of mature since they've been running on vscode for a couple of years or more now - and the protocol is apparently almost as old as lsp. So when I call them beta, it's more a commentary on the state of the neovim side of the ecosystem. If you mess around getting nvim-dap to work then there's a chance things might change over the coming months and you might have to return to configuring it more often than you'd like. In this sense for now I'm happy just to open vscode or another more appropriate IDE to debug. But I can see myself using the plugins in a year or two when they've matured.
-
Is there any way to autocomplete language functions? For example, show things like fmt.Printf or fmt.Println when writing fmt.Print and pressing the autocomplete key.
Here are a few resources to get you started: 1. https://github.com/neovim/nvim-lspconfig 1. https://github.com/golang/tools/tree/master/gopls 1. https://github.com/williamboman/nvim-lsp-installer
-
rust_tools equivalent for C Sharp
Can recommend a combination of omnisharp-roslyn native LSP (installed manually or through something like mason or nvim-lsp-installer) with omnisharp-vim for some extra C#-niceties like OmniSharpRunTest, etc.
What are some alternatives?
cmp-cmdline - nvim-cmp source for vim's cmdline
nvim-lspconfig - Quickstart configs for Nvim LSP
nvim-cmp - A completion plugin for neovim coded in Lua.
nvim-lspinstall - Provides the missing :LspInstall for nvim-lspconfig
cmp-spell - spell source for nvim-cmp based on vim's spellsuggest.
omnisharp-vim - Vim omnicompletion (intellisense) and more for C#
cmp-calc - nvim-cmp source for math calculation
mason-lspconfig.nvim - Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.
cmp-nvim-lsp - nvim-cmp source for neovim builtin LSP client
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
cmp-npm - An additional source for nvim-cmp to autocomplete packages and its versions
nvim-jdtls - Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls