Full refactor of codebase and usage of lazyvim opts setting. Also split code in custom plugins

This commit is contained in:
2025-08-29 12:30:41 +02:00
parent 524673abfc
commit e37215ae97
33 changed files with 1075 additions and 1381 deletions

38
lua/plugins/typstar.lua Normal file
View File

@@ -0,0 +1,38 @@
return {
{
"Ascyii/typstar",
dependencies = {
"L3MON4D3/LuaSnip",
"nvim-treesitter/nvim-treesitter",
},
dev = true,
ft = { "typst" },
keys = {
{
"<M-t>",
"<Cmd>TypstarToggleSnippets<CR>",
mode = { "n", "i" },
},
{
"<M-j>",
"<Cmd>TypstarSmartJump<CR>",
mode = { "s", "i" },
},
{
"<M-k>",
"<Cmd>TypstarSmartJumpBack<CR>",
mode = { "s", "i" },
},
},
config = function()
local typstar = require("typstar")
typstar.setup({
add_undo_breakpoints = true,
typstarRoot = "~/projects/typstar",
rnote = {
assetsDir = 'typst-assets',
},
})
end,
},
}