dotfiles
nvim-compe
dotfiles | nvim-compe | |
---|---|---|
12 | 91 | |
- | 1,332 | |
- | - | |
- | 8.3 | |
- | over 2 years ago | |
Lua | ||
- | MIT License |
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.
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.
nvim-compe
- [Neovim] Quels plugins dois-je utiliser avec le LSP intégré?
-
[Summary] Neovim LSP setting up autocomplete? r/rust
I use https://github.com/hrsh7th/nvim-compe and https://github.com/simrat39/rust-tools.nvim along with the built in LSP and auto completion works really well. You will want treesitter and all that setup too.
-
Moving from nvim-compe to nvim-cmp
I want to share my code for my migration from nvim-compe (deprecated) to nvim-cmp. Though, I would describe myself as an experienced Vimmer I am not very familiar with the whole Lua thing (although I really appreciate it and hope that Lua's first class citizen can compete with the elisp ecosystem^^).
-
coc-sitter (coc.nvim + tree-sitter) -- lastest feature of coc.nvim: LSP-semantically enhanced tree-sitter colorschemes
Wrong, plain and simple. A total misconception.
-
Trying to install language server for python in nvim @ windows 10
compe.nvim
-
How do you combine the best of Vim, Emacs and VS Code
For autocomplete/intellisense: https://github.com/hrsh7th/nvim-compe
- Totally confused about completion
-
Looks like the nvim-compe plugin is going to be deprecated, replaced by nvim-cmp (eventually)
But nvim-compe already exists.
-
What are some must have plugins?
completion-nvim OR nvim-compe
-
Setup neovim for C language
Here's some setup idea: - packer for package manager - clangd language server - nvim-lspconfig, required for navigator.lua - navigator.lua for enchanced IDE experience. This is a like adding a sugar to coffee. - completion-nvim OR nvim-compe for enchanching autocomplete & dropdown menu suggestion. - nvim-treesitter for better syntax highlighting. - telescope.nvim for amazing extensible & configurable fuzzy finder, you can also use fzf if you want. - Any custom color scheme you want (preferably one that supports tree sitter, like aurora )
What are some alternatives?
nvim-autopairs - autopairs for neovim written in lua
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
NeoVim-config - My neovim config written in Lua!
completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua
YouCompleteMe - A code-completion engine for Vim
asyncomplete.vim - async completion in pure vim script for vim8 and neovim
deoplete.nvim - :stars: Dark powered asynchronous completion framework for neovim/Vim8
config_manager - My configuration files and tools
lspsaga.nvim - improve neovim lsp experience [Moved to: https://github.com/nvimdev/lspsaga.nvim]
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.