friendly-snippets
cmp-nvim-lsp
friendly-snippets | cmp-nvim-lsp | |
---|---|---|
48 | 24 | |
1,959 | 1,257 | |
- | - | |
8.2 | 4.1 | |
11 days ago | 3 months 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.
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
cmp-nvim-lsp
-
An Experienced (Neo)Vimmer's Workflow
I use this, but there's other options: https://github.com/hrsh7th/cmp-nvim-lsp
require('lspconfig')['tsserver'].setup{
-
Ultimate Neovim Setup Guide: lazy.nvim Plugin Manager
hrsh7th/cmp-nvim-lsp: nvim-cmp source for neovim builtin LSP client
-
[Need Help]: I am having trouble getting autocomplete with clangd.
You need to add nvim-cmp and cmp-nvim-lsp
-
Neovim lsp not updating (Nuxt 3 auto import)
I had the exact problem recently with svelte and Astro. I opened an issue that never got any reply.: https://github.com/hrsh7th/cmp-nvim-lsp/issues/56
-
Trouble with installing cmp/lsp autocompletion
Plugins Needed: * nvim-lspconfig * nvim-cmp * cmp-nvim-lsp
-
How to setup auto completion, etc. using LSP and stuff without bloating everything with a plugin manager?
-- need to install https://github.com/hrsh7th/cmp-nvim-lsp for server in pairs(servers) do lspconfig[server].setup { on_attach = on_attach, capabilities = require("cmp_nvim_lsp").default_capabilities(), settings = servers[server], } end ```
-
Make lsp-zero.nvim coexists with other plugins instead of controlling them
cmp-nvim-lsp: Completion source. Shows data send by the language server.
-
Jdt.ls doesn't work in nvim-lspconfig
The default capabilities are from this plugin: https://github.com/hrsh7th/cmp-nvim-lsp
-
Neovim - Workflow para Java, C# e JS/TypeScript (Atualização com Neovim 0.8 e LSP)
cmp-nvim-lsp: integração com LSP;
-
How to have LSPs installed with Mason automatically hook up to cmp and work?
nvim-lspconfig is only for configuring the language-servers. You need to add the https://github.com/hrsh7th/cmp-nvim-lsp source to nvim-cmp in order to get lsp completions
What are some alternatives?
LuaSnip - Snippet Engine for Neovim written in Lua.
nvim-cmp - A completion plugin for neovim coded in Lua.
vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
snippets.nvim
lspkind.nvim - vscode-like pictograms for neovim lsp completion items
ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
lspkind-nvim - vscode-like pictograms for neovim lsp completion items [Moved to: https://github.com/onsails/lspkind.nvim]
nvim-lspconfig - Quickstart configs for Nvim LSP
cmp_luasnip - luasnip completion source for nvim-cmp
nvim-compe - Auto completion Lua plugin for nvim