Played around with the signcolum

This commit is contained in:
2025-09-01 00:04:10 +02:00
parent 949eb06300
commit dc95d79a11
4 changed files with 10 additions and 26 deletions

View File

@@ -1,17 +0,0 @@
local ls = require("luasnip")
local s = ls.snippet
local t = ls.text_node
local i = ls.insert_node
return {
s("cfo", { -- check for error
t("if err != nil {"), t({ "", "\t" }),
i(1, "return err"),
t({ "", "}" })
}),
s("struct", {
t("type "), i(1, "MyStruct"), t(" struct {"),
t({ "", "\t" }), i(2, "Field type"),
t({ "", "}" })
}),
}