salkin-mada / cheeky-snippets.nvim

Cheeky LuaSnip snippets for NeoVim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cheeky Snippets

Some useful snippets for LuaSnip.

Inspired by spoon.nvim

Supported Languages

  • 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

Installation

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,
			},
		})			
	end
}

Development

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.

About

Cheeky LuaSnip snippets for NeoVim


Languages

Language:Lua 100.0%