vim-polyglot
vim-snippets
vim-polyglot | vim-snippets | |
---|---|---|
32 | 17 | |
5,518 | 4,743 | |
- | - | |
0.0 | 6.0 | |
7 months ago | about 1 month ago | |
Vim Script | Vim Snippet | |
- | 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.
vim-polyglot
-
C# lsp configuration with neovim CoC
I'm currently on an old setup (using coc and polyglot) and nvim v0.6.1. I'll be updating to a more modern setup within next year, using the native lsp and building nvim more frequently. But that's not today.
-
how to indent javascript code correctly in a PHP file?
So I did some digging and I found out that vim-polyglot uses a different syntax file than Vim's default for PHP files. When I loaded vim-polyglot's syntax file into my ~/.vim/syntax, I encountered the same issue as you.
-
Coffeescript syntax highlighting?
Try this: https://github.com/sheerun/vim-polyglot You can install plugin or copy-paste files for desired filetype
-
Add extra syntax highlighting in NVIM [around 600+ extra language]
I think you mean vim-polyglot? Great plugin. Pre-treesitter it was indespensible.
-
¿Is there a plugin that sets the errorformat option for a bunch of languages?
Usually this is handled inside the :compiler scripts. vim-polyglot is a collection of ftplugins that includes a bunch of :compiler plugins.
- Need help displaying colors in C files. I have the vim-css-color plugin but that doesn't seem to work in C
- Looking for a neovim/CoC formatter for eruby files
-
Convert neovim .lua to .vim?
Get polyglot installed in your vimfiles/pack//start folder along with whatever 4 Tim Pope plugins you love the most and :CocInstall your LSP(s)
- Minimal config (55 lines) for web development & general purpose programming
-
Syntax highlighting for JavaScript that uses coc-tsserver? The picture shows how my JavaScript import statement looks like currently on top, and below is how it should be highlighted
https://github.com/morhetz/gruvbox and https://github.com/sheerun/vim-polyglot are Vim plugins that work in Neovim, but they don't allow you to use treesitter, so if you don't want to use treesitter use them.
vim-snippets
- How to I find default snippets
-
JavaScript and CSS in HTML files
Also, I'm using vim-snipmate style snippets in LuaSnip. How can I import snippets in javascript.snippets in html.snippetswithout having to copy everything.
-
Can anybody give me some review of coq_nvim :>
cmp works fine and I was able to trivially make it only suggest lsp completion for me by only including lsp sources. The setup is significantly more complicated with having the install 7ish plugins instead of just 3 for coq. I don't think I would've had the patient to go through the setup when I was just starting to use neovim. cmp also have much nicer UI (e.g. it shoulds documentation and sometimes function signiture as you browse through the suggestion.) With snippet you can find something like https://github.com/honza/vim-snippets which have more than what I need. You also need to choose a snippet engine so that's more decision to make.
- Closing brackets are highlighted in red when in the init.vim file
-
Is There a Snippet Collection for LuaSnip?
Since LuaSnip also supports snipmate I'm using vim-snippets since it's offering a lot of snippets I'm using often without having to write my own. But as @eliizaak said: it's not Lua and perhaps I'll find the time and energy to learn a bit more about LuaSnip and write my own snippets ... ;)
-
Snippets
It includes the snippets from honza/vim-snippets and my own snippets.
-
Multiple templates for same filetype?
vim-snippets as you've already mentioned.
-
Do Vim Snippets work in Obsidian?
Skimming over the blog post you linked, it appears that the author uses Vim plugins to get some of the snippets working, which I'm near-certain is impossible with the Vim features available to Obsidian. I don't think installing Vim plugins with vim-plug (as used by both myself and the author of the linked blog) is possible in Obsidian, for example. Without some way to manage installing Vim plugins, you won't be able to get plugins which enable vim snippets as used in the blog post.
-
[vimtex, vim-sandwich] How would you surround visual selected text with \emph{...} or \textbf{...} via a macro?
Sorry does it?
-
How to automatically include C headers in vim?
Auto adding include files or a specific non-static function is generally a bad idea, but I use yasnippet on Emacs for copyright/licensing info, this seemingly has the same purpose but oriented towards vim users, which makes file templates trivial (on Emacs at least, I don’t usually use vim unless I can’t use Emacs or mg for some reason).
What are some alternatives?
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
obsidian-vimrc-support - A plugin for the Obsidian.md note-taking software
neovim - Vim-fork focused on extensibility and usability
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
emmet-vim - emmet for vim: http://emmet.io/
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
vim-sleuth - sleuth.vim: Heuristically set buffer options
snippets.nvim
vim-nerdtree-syntax-highlight - Extra syntax and highlight for nerdtree files