dots-of-war/eggs/nvim/lua/dots/plugins/vimtex.lua
2024-12-21 22:42:30 +01:00

15 lines
1 KiB
Lua

-- [nfnl] Compiled from fnl/dots/plugins/vimtex.fnl by https://github.com/Olical/nfnl, do not edit.
local utils = require("dots.utils")
local function setup()
vim.g.vimtex_view_method = "general"
vim.g.vimtex_view_general_viewer = "zathura"
vim.g.vimtex_view_general_options = "--synctex-forward @line:1:@tex @pdf"
vim.g.vimtex_quickfix_method = "pplatex"
vim.g.vimtex_quickfix_mode = 2
vim.g.vimtex_quickfix_open_on_warning = 0
vim.g.vimtex_compiler_latexmk = {build_dir = "", callback = 1, continuous = 1, executable = "latexmk", hooks = {}, options = {"-verbose", "-file-line-error", "-synctex=1", "-interaction=nonstopmode", "-shell-escape"}}
vim.g.vimtex_syntax_custom_cmds = {{name = "scripture", argstyle = "ital"}}
vim.g.vimtex_syntax_conceal = {accents = 1, cites = 1, fancy = 1, greek = 1, math_bounds = 1, math_delimiters = 1, math_fracs = 1, math_super_sub = 1, math_symbols = 1, sections = 0, styles = 0}
return nil
end
return {utils.plugin("lervag/vimtex", {ft = {"latex", "tex"}, config = setup})}