completion-nvim
dotfiles
completion-nvim | dotfiles | |
---|---|---|
33 | 12 | |
1,009 | - | |
- | - | |
6.0 | - | |
over 2 years ago | - | |
Lua | ||
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.
completion-nvim
- [Neovim] Quels plugins dois-je utiliser avec le LSP intégré?
- [Neovim] Utilisation du LSP natif mais il ne termine pas automatiquement les supports.
- having trouble with lsp and cmp completing function signature
-
Noob post: Been using neovim for 3 days and I followed the following instructions (see post) for LSP integration and got "attempt to index local 'lsp' (a nil value)".
I think it can be on any lua file. Plus I checked completion.nvim is now on archived.
-
How in the world do you set up nvim-cmp?
You don't, nvim-cmp sets up you. Jokes aside, I am using completion-nvim. Unfortunately it got abandoned just as Neovim 0.5.1 got released, which contained a breaking change. You can look into the pending PRs to see how to fix it for yourself, just use one of the fixed forks. It really sucks, but unless someone steps up an creates a new completion plugin that's what I am stuck with.
-
How to configure ALE and floating windows?
I couldn't figure out how to change this. I found some options, some of which made an entire split window appear above... that's hideous. I also found this, but that works with lua. How do I even set up these lua scripts? I don't get it. Can I get some guidance? Thanks.
-
How do you deal with poorly documented plugins?
I have tried to move to nvim-cmp since completion-nvim is dead, but for the life of me I cannot figure out how to make it not automatically select the first completion candidate. If I type date and hit to insert a new line, cmp takes as the "confirm selection" key (because I have mapped it that way) and expands the snippet. I only want to confirm a selection if I actually selected something from the menu. completion-nvim may be dead, but at least its author had the courtesy to write down how to use it in complete plain English sentences instead of broken English one-liners. Eventually I gave up and moved back to the old setup.
-
Neovim Python Dev Config
That will give you the basics, you should see linter diagnostics and auto omin completion should work. For better auto-completion and snippets you can set up one of the completion- and snippets plugins. Personally I use completion-nvim and Ultisnips. There may be better plugins out there, that's just what I happen to have installed.
-
Auto-completion plugin alternatives?
I recently upgraded from Neovim 0.5.0 to 0.5.1 and LSP autocompletion stopped working. I'm using https://github.com/nvim-lua/completion-nvim but it looks like its maintenance could be much better. I'm looking for some alternative but I'm not sure what would be a good choice for LSP. Any recommendations?
-
Neovim LSP autocompletion set-up
I'm trying to configure completion-nvim with Neovim's LSP, but am not getting any sort of pop-up/display.
dotfiles
-
Silverblue container users: what does your environment look like?
Oh you'd still use a Git repository (e.g. like I do here), stow just takes care of creating the necessary symbolic links (and skipping those that already exist).
-
NPM malware and what it could imply for Cargo
I experimented a bit with running rust-analyzer under Bubblewrap when using it through NeoVim's LSP integration (see here). Overall it's doable, but it's a tedious process of finding out what needs to write and where, what capabilities you need, etc. I don't see this seeing adoption unless it becomes a first-class feature of the tool in question.
-
Systemd service sandboxing and security hardening 101
You can also use Bubblewrap, but getting it up and running requires a lot more fiddling around. For example, this is what I use to isolate Zoom from the rest of my system: https://gitlab.com/yorickpeterse/dotfiles/-/blob/0a0492c78b6...
In my case I'm using Bubblewrap because Firejail was only used for Zoom, and this felt a bit of a waste considering Bubblewrap was already installed.
-
What do you use the tabline for?
This is implemented using some custom Lua code.
- Lists of lua-based nvim config files?
-
Is there a way to set abbreviations through lua?
There's no first-class API for this. I use this setup. This is OK, though I only have two abbreviations, and it does feel a bit overkill for just that.
-
When using the terminal emulator and opening a file within a terminal emulator, open it instead in a new buffer.
I've been using neovim-remote for quite some time, and it works perfectly fine. Here is what I use to open NeoVim as usual outside of an existing NeoVim session, and inside the existing session whenever I run nvim from NeoVim's terminal emulator.
-
neovim lsp - how do you get diagnostic mesages to show at the bottom instead of in-line?
You can use this code I wrote for that. You then hook it up like this.
-
Which one would you rather use for completion?
Adjust the icons LSP uses for various symbol types like this. If you leave this out, you need to adjust these lines to use the correct text/icons instead.
-
Neovim 0.5 Is Overpowering
The documentation is there, but it's a bit lacking/confusing here and there. It's also mostly foundational work, and you still need to cobble things together (either manually or using a plugin).
With that said, you can build things quite nicely with it. For example, I have a custom linter setup, custom loclist/quickfix list formatting and populating from LSP data, and a bunch of other things; all using the foundational work coming in NeoVim 0.5.
If anybody is curious, you can find my NeoVim configuration here: https://gitlab.com/yorickpeterse/dotfiles/-/tree/master/dotf...
p.s. In case anybody wonders "why Lua?", for me this mostly comes down to this: I hate Lua, but I hate Vimscript even more.
What are some alternatives?
nvim-cmp - A completion plugin for neovim coded in Lua.
nvim-autopairs - autopairs for neovim written in lua
NeoVim-config - My neovim config written in Lua!
YouCompleteMe - A code-completion engine for Vim
asyncomplete.vim - async completion in pure vim script for vim8 and neovim
nvim-compe - Auto completion Lua plugin for nvim
config_manager - My configuration files and tools
ddc.vim - Dark deno-powered completion framework for neovim/Vim
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
nvim - neovim configuration written in lua