Files
dotfiles/nvim/lua/snippets/markdown.lua
Thomas Naderer d8a20d620a chore: clean up dotfiles and add gitignore whitelist
Switch to whitelist-based .gitignore to only track essential configs:
nvim, yazi, kitty, zsh, ideavim, karabiner, tmux, scripts, starship.
Remove history, compiled files, and plugin dirs from tracking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 12:57:14 +01:00

48 lines
620 B
Lua

local ls = require("luasnip")
local s = ls.snippet
local t = ls.text_node
local i = ls.insert_node
local f = ls.function_node
-- Get current date in YYYY-MM-DD format
local function date()
return os.date("%Y-%m-%d")
end
return {
s("env", {
t({
"---",
"title: ",
}),
i(1, "Title"),
t({ "", "tags: [" }),
i(2, "tag1, tag2"),
t({ "]", "date: " }),
f(date, {}),
t({ "", "---", "" }),
i(0),
}),
s(
"ippd",
t({
"Institute of Polymer Processing and Digital Transformation",
})
),
s(
"TN",
t({
"Thomas Naderer",
})
),
s(
"GBW",
t({
"Gerald Berger-Weber",
})
),
}