16 lines
415 B
Lua
16 lines
415 B
Lua
local ls = require('luasnip')
|
|
local s = ls.snippet
|
|
local f = ls.function_node
|
|
local t = ls.text_node
|
|
local fill = require('snippets.helpers').fill
|
|
|
|
return {
|
|
s(
|
|
{ trig = 'dc', desc = 'divider comment' },
|
|
f(fill, {}, { user_args = { '--%-- ' } })
|
|
),
|
|
s(
|
|
{ trig = 'LazyFile', desc = 'LazyFile events for non-lazy.nvim setups' },
|
|
t('event = { "BufReadPost", "BufWritePost", "BufNewFile" }')
|
|
),
|
|
}
|