Add neovim 'typescriptreact' snippets
This commit is contained in:
1 parent
24ed262e96
commit
426e09868e
1 file changed
+12
@@ -0,0 +1,12 @@
|
||||
local ls = require("luasnip")
|
||||
local s = ls.snippet
|
||||
local t = ls.text_node
|
||||
local i = ls.insert_node
|
||||
|
||||
return {
|
||||
s("preJ", {
|
||||
t("<pre>{JSON.stringify("),
|
||||
i(1, "object"), -- first tab stop
|
||||
t(", null, 2)}</pre>"),
|
||||
}),
|
||||
}
|
||||
Reference in new issue
Block a user