neovim-go-nix-develop
nvim-lsp-installer
Our great sponsors
neovim-go-nix-develop | nvim-lsp-installer | |
---|---|---|
8 | 82 | |
21 | 2,022 | |
- | - | |
4.2 | 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.
neovim-go-nix-develop
-
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.
https://github.com/jamespwilliams/neovim-go-nix-develop is a minimal Go neovim dev env I put together a while back (it can be created in one command with Nix, but even if you don’t use/know about Nix, you can read the file and see the config used).
-
SpaceVim Release v2.0.0
https://github.com/jamespwilliams/neovim-go-nix-develop
The above is my attempt to create a minimal Neovim configuration that uses treesitter and nvim-lsp (albeit only for Go).
It uses Nix, so if you have Nix installed you can immediately try the configuration out in a self-contained development shell.
It’s too minimal for everyday use, but could be of inspiration.
-
Set up a Go neovim development environment in one command using Nix
I've updated it to use 1.18: https://github.com/jamespwilliams/neovim-go-nix-develop/commit/6e6e980752bbe50f9eea17dd438729aabfa7ef65
- neovim-go-nix-develop: set up a Go Neovim development environment in one command using Nix
- Show HN: Set up a Go Neovim development environment in one command using Nix
- Show HN: Set up a Golang Neovim development environment in one command using Nix
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?
mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
nvim-lspconfig - Quickstart configs for Nvim LSP
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
nvim-lspinstall - Provides the missing :LspInstall for nvim-lspconfig
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
omnisharp-vim - Vim omnicompletion (intellisense) and more for C#
mason-lspconfig.nvim - Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
nvim-jdtls - Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls
vscode-powershell - Provides PowerShell language and debugging support for Visual Studio Code
coc-eslint - Eslint extension for coc.nvim