1
0

FEAT: Adding trouble and started luasnippets

TODO: Fix compe to show snippets available in insert mode
This commit is contained in:
2024-03-30 16:47:37 +01:00
parent 58158ed5ef
commit a2b76f8aef
5 changed files with 57 additions and 3 deletions

15
lua/snippets/all.lua Normal file
View File

@@ -0,0 +1,15 @@
local ls = require("luasnip")
local s = ls.snippet
local t = ls.text_node
-- https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md
return {
s("novel", {
t("It was a dark and stormy night on")
}),
s("no", {
t("hello world!")
}),
}