19 lines
740 B
Lua
19 lines
740 B
Lua
-- This is necessary for VimTeX to load properly. The "indent" is optional.
|
|
-- Note that most plugin managers will do this automatically.
|
|
vim.cmd("filetype plugin indent on")
|
|
-- This enables Vim's and Neovim's syntax-related features. Without this, some
|
|
-- VimTeX features will not work (see ":help vimtex-requirements" for more info).
|
|
vim.cmd("syntax enable")
|
|
|
|
-- Viewer options: One may configure the viewer either by specifying a built-in
|
|
-- viewer method:
|
|
vim.g.vimtex_view_method = "sioyek"
|
|
-- vim.g.vimtex_view_general_options = "--unique file:@pdf\\#src:@line@tex"
|
|
|
|
vim.g.vimtex_complete_close_braces = 1
|
|
vim.g.vimtex_syntax_enabled = 1
|
|
vim.g.vimtex_indent_lists = {}
|
|
vim.g.vimtex_compiler_latexmk_engines = {
|
|
["_"] = "-xelatex",
|
|
}
|