Dotfiles V1.3.8

Nvim: changed latex compiler to luatex and changed table env snippet
This commit is contained in:
2026-01-27 22:48:21 +01:00
parent 761881cddd
commit 53714d18e9
2 changed files with 4 additions and 6 deletions

View File

@@ -6,10 +6,8 @@ return {
vim.g.vimtex_view_method = "zathura" vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_quickfix_mode = 0 vim.g.vimtex_quickfix_mode = 0
vim.g.vimtex_compiler_latexmk = { vim.g.vimtex_compiler_latexmk_engines = {
options = { _ = "-lualatex",
"-pdf",
},
} }
vim.g.vimtex_fold_enabled = true vim.g.vimtex_fold_enabled = true
vim.g.vimtex_format_enabled = true vim.g.vimtex_format_enabled = true

View File

@@ -134,7 +134,7 @@ local item = s(
table.insert(autosnippets, item) table.insert(autosnippets, item)
local tableenv = s( local tableenv = s(
{ trig = "table(%d) (%d)", regTrig = true, desc = "Table Environment" }, { trig = "table(%d+) (%d+)", regTrig = true, desc = "Table Environment" },
fmt( fmt(
[[ [[
\begin{{tabular}}{{|{}}} \begin{{tabular}}{{|{}}}
@@ -193,7 +193,7 @@ local tableenv = s(
} }
) )
) )
table.insert(autosnippets, tableenv) table.insert(snippets, tableenv)
local pdf = s( local pdf = s(
{ trig = "-pdf", desc = "Insert PDF" }, { trig = "-pdf", desc = "Insert PDF" },