summaryrefslogtreecommitdiff
path: root/lua/config/snippets.lua
diff options
context:
space:
mode:
authorbh <qn+git@excalibur.computer>2025-11-19 14:50:22 +0800
committerbh <qn+git@excalibur.computer>2025-11-19 14:50:22 +0800
commit5e80cc2081ec616c828a0abe82d246c4dc0a4334 (patch)
tree3805b57cdf59e0fa4dafb4c998f82644da19fb38 /lua/config/snippets.lua
parentf3d3e0d5dc32bb5c00a6106aee9027decd345e63 (diff)
Fixed snippets and also a little refactoring on the theme
Diffstat (limited to 'lua/config/snippets.lua')
-rw-r--r--lua/config/snippets.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/lua/config/snippets.lua b/lua/config/snippets.lua
deleted file mode 100644
index 8b0d30b..0000000
--- a/lua/config/snippets.lua
+++ /dev/null
@@ -1,19 +0,0 @@
--- ~/.config/nvim/lua/snippets.lua
-local ls = require("luasnip")
-local s = ls.snippet
-local t = ls.text_node
-local i = ls.insert_node
-
-ls.snippets = {
- all = {
- s("hi", t("Hello, world!")), -- Type "hi" -> expand to Hello, world!
- },
- lua = {
- s("fn", { -- Type "fn" -> expand to a function template
- t("function "), i(1, "name"), t("("), i(2), t({")", "\t"}),
- i(0),
- t({"", "end"})
- }),
- },
-}
-