ultisnips
completion-nvim
DISCONTINUED
Our great sponsors
ultisnips | completion-nvim | |
---|---|---|
64 | 33 | |
7,408 | 1,009 | |
- | - | |
4.9 | 6.0 | |
13 days ago | over 2 years ago | |
Python | Lua | |
GNU General Public License v3.0 only | 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.
ultisnips
-
LaTeX and Neovim for technical note-taking
I always like people's LaTeX-based note taking setups. I'm a mathematician, so I write a lot of LaTeX too. (And I use vim, so I really like vim+Latex workflows).
It's interesting that this post (or rather, the later post that discusses this) talks about the advantages of UltiSnips. The well-known vim-LaTeX posts written by Gilles Castel (RIP) relied pivotally on UltiSnips.
It's not just that UltiSnips is a snippet engine. There are many of those (including LuaSnip, the other snippet engine mentioned in the OP series of articles). It's that UltiSnips can dispatch arbitrary expressions to short python code sections, and python has a great scientific library. For example, it's trivial to write a `sympy` snippet that will simplify or compute a given expression and write the output in latex for you.
But UltiSnips works *terribly* with neovim [1] [2]. Why? Because UltiSnips uses python, and neovim's python interface is 100x slower than vim's python interface. There are design decisions for this and I'm not trying to say that neovim is bad. I use both vim and neovim. But I use vim+UltiSnips+vimtex for writing LaTeX.
LuaSnip has interpolation too. I suppose it would be possible to write more code that calls from LuaSnip to a system like sympy (or other). But that's work. On the other hand, I think it takes a true power user to actually want or use the fancy interpolation functions.
-
Looking for tutorials / Hello world projects to create Neovim plugins using Pynvim
I think in-the-wild examples like Ultisnips deoplete semshi (although they are advanced and somewhat complex) would also be good examples to learn how one can use python for writing plugins.
- UltiSnips – Snippet Solution for Vim
-
lsp-zero v2.x is now available
I didn't know lsp-zero, but this integration seems just for me except for that I am using UltiSnips instead of luasnip. Just curious how difficult do you think it is to add UltiSnips integration along with cmp-nvim-ultisnips?
- Minimalistic neovim/vim with batteries included ?
-
Awkwardness when typing in '\n' or '\t' or (...) [...] etc. -- (Have others noticed this too?) -- (is there a better way?)
If you use UltiSnips, you can just do this:
The other option will be to use some snippets plugin to achieve same/similar functionality. One such option is ultisnips.
-
Vim + LaTeX
Snipets or code completion can be done in a number of different ways, and how that is configured will depend on what method you use. In the blog he uses the vim plugin ultisnips. You'll find details on configuration for that in that link.
-
Python36.dll not found
Heyo, I've been trying to get UltiSnips and YouCompleteMe to work, however, I've ran into a bit of a problem. The python36.dll library does not seem to exist for UltiSnips, and YouCompleteMe cannot locate python at all (screenshots at bottom).
-
I've been working on this CLI tool to automate creation of script files, modification of file permissions, and input typical text. I spend a lot of time in the command line for work, but consider myself still learning scripting. If you have any input I'd appreciate it!
for actual use, I suspect most editors have a snippets plugin or such that is generally much more powerful and interactive/visual; for example see https://github.com/SirVer/ultisnips
completion-nvim
- [Neovim] Quels plugins dois-je utiliser avec le LSP intégré?
- 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?
-
Any auto-completion plugin that works with nvim appimage 0.5.0 out-of-box?
You should try newer and neovim-only completion plugins... e.g. completion-nvim, nvim-cmp
-
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?
LuaSnip - Snippet Engine for Neovim written in Lua.
nvim-cmp - A completion plugin for neovim coded in Lua.
nvim-autopairs - autopairs for neovim written in lua
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
YouCompleteMe - A code-completion engine for Vim
nvim-compe - Auto completion Lua plugin for nvim
ddc.vim - Dark deno-powered completion framework for neovim/Vim
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
deoplete.nvim - :stars: Dark powered asynchronous completion framework for neovim/Vim8
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
nvim-lspconfig - Quickstart configs for Nvim LSP