Compare commits

...

2 Commits

Author SHA1 Message Date
z1glr
3a0e025de9 merged secon with tydirium 2025-12-03 19:49:32 +01:00
z1glr
ffab9d5ec5 implemented tinymist 2025-12-02 23:40:19 +01:00
2 changed files with 15 additions and 3 deletions

View File

@@ -1,4 +1,15 @@
-- bootstrap lazy.nvim, LazyVim and your plugins -- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy") require("config.lazy")
require("typst-preview").setup({
-- This function will be called to determine the root of the typst project
get_root = function(path_of_main_file)
local root = os.getenv("TYPST_ROOT")
if root then
return root
end
return vim.fs.root(0, { ".git" }) or vim.fn.getcwd()
end,
})
vim.opt.expandtab = false vim.opt.expandtab = false

View File

@@ -1,3 +1,4 @@
indent_type = "Spaces" indent_type = "Tabs"
indent_width = 2 indent_width = 4
column_width = 120 column_width = 120