Some useful snippets for LuaSnip.
Inspired by spoon.nvim
- General Snippets aka
all
(available everywhere) - Lua
- CPP (with support for a lot of STL containers and algos and modern c++ stuff etc.)
- CMake
- Assembly
- Markdown
- SuperCollider
use{
"madskjeldgaard/cheeky-snippets.nvim",
requires = {
"L3MON4D3/LuaSnip"
},
config = function()
local cheeky = require("cheeky")
cheeky.setup({
langs = {
all = true,
lua = true,
cpp = true,
asm = true,
cmake = true,
markdown = true,
supercollider = true
},
})
end
}
The command :CheekyReload
will reload all snippets. This is useful when developing new snippets for this plugin. Run it after you've added something new and want to test it imediately.