Create scss.lua
Add a `bp` snippet for adding a new breakpoint.
This commit is contained in:
parent
40da64b6b3
commit
79973e3eb3
10
lua/opdavies/snippets/ft/scss.lua
Normal file
10
lua/opdavies/snippets/ft/scss.lua
Normal 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
|
Reference in a new issue