mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-10 17:34:34 +02:00
fix(nvim-snippets): enable global friendly-snippets. See #3240
This commit is contained in:
parent
8c94842b4a
commit
55b07dee21
1 changed files with 7 additions and 1 deletions
|
@ -90,7 +90,13 @@ return {
|
||||||
"nvim-cmp",
|
"nvim-cmp",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "rafamadriz/friendly-snippets" },
|
{ "rafamadriz/friendly-snippets" },
|
||||||
{ "garymjr/nvim-snippets", opts = { friendly_snippets = true } },
|
{
|
||||||
|
"garymjr/nvim-snippets",
|
||||||
|
opts = {
|
||||||
|
friendly_snippets = true,
|
||||||
|
global_snippets = { "all", "global" },
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
opts.snippet = {
|
opts.snippet = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue