Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 967 Bytes

README.md

File metadata and controls

44 lines (36 loc) · 967 Bytes

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
  • SuperCollider

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,
        supercollider = 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.