LazyVim.LazyVim/lua/lazyvim/plugins/extras/coding
Lucas e80ed322a7
perf(luasnip): luasnip wasn't lazyloaded (#4032)
## Description

this makes the extra luasnip lazy load at the same time as nvim cmp.
just putting `lazy = true` works because `nvim-cmp` when being loaded
with `InsertEnter` also load `cmp-luasnip`, which itself load `LUASNIP`.

you can see the problem in the following discussion
https://github.com/LazyVim/LazyVim/discussions/3966 where luasnip was
not lazy loaded when starting lazyvim. This was also loading nvim-cmp
and all its dep when starting lazyvim, which negatively impacted
performance.

## Related Issue(s)

https://github.com/LazyVim/LazyVim/discussions/3966

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-07-14 18:19:28 +02:00
..
codeium.lua feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
copilot-chat.lua feat(copilot-chat): ctrl-s now works in both normal and insert mode 2024-06-16 20:17:16 +02:00
copilot.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00
luasnip.lua perf(luasnip): luasnip wasn't lazyloaded (#4032) 2024-07-14 18:19:28 +02:00
mini-comment.lua feat(comments): use ts-comments.nvim instead of nvim-ts-context-commentstring on Neovim 0.10 2024-05-21 19:31:40 +02:00
mini-surround.lua feat(extras): tags some extras as recommended 2024-05-18 14:12:26 +02:00
neogen.lua feat(extras): added extra for neogen. Closes #2881 2024-06-06 13:14:04 +02:00
tabnine.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00
yanky.lua feat: shorter keymap descriptions for mini.ai / yanky 2024-07-14 07:08:17 +02:00