Create scss.lua

Add a `bp` snippet for adding a new breakpoint.
This commit is contained in:
Oliver Davies 2024-09-13 11:15:23 +01:00 committed by GitHub
parent 40da64b6b3
commit 79973e3eb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,10 @@
local fmta = require("luasnip.extras.fmt").fmta
local ls = require "luasnip"
local i = ls.insert_node
local M = {
bp = fmta("@include breakpoint(<>) {\n <>\n}", { i(1), i(0) }),
}
return M