nvim
friendly-snippets
Our great sponsors
nvim | friendly-snippets | |
---|---|---|
24 | 48 | |
546 | 1,678 | |
- | - | |
9.6 | 8.5 | |
5 days ago | 2 days ago | |
Lua | Lua | |
MIT License | 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.
nvim
-
Best way to setup Nvim on NixOS?
Not OP, but I had the same question. I would prefer to manage my nvim config not the NixOS way.
- lazy.nvim is amazing!
-
Kubernetes auto completion support in Neovim
You might also have a look at my recent commit on my "develop" branch https://github.com/Allaman/nvim/commit/1b587f16d074755c94a8692925dfcbf5344fb7d4
-
nvim as a code editor
Allaman's Neovim Config
-
How would I do this in lua?
In my config I have these lines
-
Do you have tests for your neovim config?
From time to time I build my Dockerfile to test if my config would run on a fresh system or if an issue might only be related to my host
-
Anyone managed to get inlay hints working with gopls ?
It is working for me but I am not aware of any "special" setting I made. here is My cofing maybe you can get an idea. ([go](https://github.com/Allaman/nvim/blob/main/lua/config/go.lua), [lsp](https://github.com/Allaman/nvim/tree/main/lua/config/lsp)]])
-
Lspconfig loading multiple clients
There is only one LSP running for in my Neovim My config for reference
-
How to set colorcolumn via nvim lua api?
Thanks for your inspiration ;) https://github.com/Allaman/nvim/commit/78e32885972947240b0907df6a8a1cceea9fce19
-
Neovim seg faults - is it just me?
in the last couple of weeks I noticed some Neovim crashes (segmentation faults says my terminal) and I wonder if I am alone? Before that I never had crashes and now at least two a day. Neovim head and here is my config
friendly-snippets
-
LazyVim: How to turn default plugins off?
Those definitely seem to be coming from friendly-snippets, so it seems like it's not being disabled. You can verify this with the :Lazy command to bring up the lazy.nvim menu then checking log or debug to see what is loaded, when, and why.
-
Benchmarking some of my favourite neovim plugins over time
Here you go :), tested with friendly-snippets lazy loaded (Non lazy-loaded is 500ms)
-
NormalNvim 2.0: Officially released
Snippets for code comments.
-
Enabling python's snippets.
I am trying to add snippets for python, i have LuaSnip and friendly-snippets installed, but for some reason it does not load the snippets. This is how i load the plugins:
-
PR with TSdoc support sent to friendly-snippets
I just sent [this PR](https://github.com/rafamadriz/friendly-snippets/pull/301) that implements the [full TSdoc specification](https://typedoc.org/guides/overview/) in [friently-snippets](https://github.com/rafamadriz/friendly-snippets). In practice what you get is autocompletion in your typescript comments, which should be a nice of life improvement for most typescript developers.
-
friendly-snippets VS luasnip-latex-snippets.nvim - a user suggested alternative
2 projects | 18 May 2023
-
Does anyone know how to quickly create class, interface, record, ...etc in java with nvim
You mean snippets? If yes, you can try Luasnip and friendly-snippets with nvim-cmp and here's the setup guide. Hope it helps
-
Multi-Line completion with nvim-cmp
For example Luasnip with (I guess) friendly-snippets has multi line snippets defined by default. And you can use luasnip with nvim-cmp (read the docs or I guess there’s a YouTube tutorial)
-
How to I find default snippets
If you copied the config in the readme, then the snippet come from friendly-snippets.
-
How can I get Better react intergration.
I would recommend lsp-zero, the tsserver lsp provides code actions for auto import. There is auto import when confirming completion as well, I've seen it working with cmp, however I can't remember If that is out of the box behaviour. For snippets, I would go with LuaSnip - It's very versatile snippet engine and it integrates well with many snippet formats. There are specifically react es7 snippet definitions in the friendly-snippets repo which can be used by LuaSnip - https://github.com/rafamadriz/friendly-snippets/blob/main/snippets/javascript/react-es7.json
What are some alternatives?
impatient.nvim - Improve startup time for Neovim
LuaSnip - Snippet Engine for Neovim written in Lua.
vim9jit - a vim9script -> lua transpiler (written in Rust)
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
kickstart.nvim - A launch point for your personal nvim configuration
snippets.nvim
vim-settings - My Vim Settings and a script to auto setup them
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
FTerm.nvim - :fire: No-nonsense floating terminal plugin for neovim :fire:
lspkind.nvim - vscode-like pictograms for neovim lsp completion items
dotfiles - ❄️ My dotfiles for NixOS and macOS as a Nix flake. Neovim, Fish shell, Wezterm, etc.
cmp_luasnip - luasnip completion source for nvim-cmp