fmt(neovim): stylua
This commit is contained in:
parent
1929a53229
commit
97b2bb0d4f
11 changed files with 1190 additions and 1117 deletions
|
|
@ -1,14 +1,14 @@
|
|||
local snippets = {
|
||||
-- const [show, setShow] = useState(false);
|
||||
s("rstate", {
|
||||
t("const ["),
|
||||
i(1),
|
||||
t(","),
|
||||
l(l._1:gsub("^%l", string.upper):gsub("^", "set"), 1),
|
||||
t("] = useState("),
|
||||
i(0),
|
||||
t(");"),
|
||||
}),
|
||||
-- const [show, setShow] = useState(false);
|
||||
s("rstate", {
|
||||
t("const ["),
|
||||
i(1),
|
||||
t(","),
|
||||
l(l._1:gsub("^%l", string.upper):gsub("^", "set"), 1),
|
||||
t("] = useState("),
|
||||
i(0),
|
||||
t(");"),
|
||||
}),
|
||||
}
|
||||
|
||||
local autosnippets = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue