summaryrefslogtreecommitdiff
path: root/plugin/plugins/vimtex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/plugins/vimtex.lua')
-rw-r--r--plugin/plugins/vimtex.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugin/plugins/vimtex.lua b/plugin/plugins/vimtex.lua
new file mode 100644
index 0000000..05dfa3a
--- /dev/null
+++ b/plugin/plugins/vimtex.lua
@@ -0,0 +1,21 @@
+vim.g.tex_flavor = "latex"
+vim.g.vimtex_compiler_silent = 0
+vim.g.vimtex_complete_bib = { simple = 0 }
+vim.g.vimtex_doc_handlers = { "vimtex#doc#handlers#texdoc" }
+vim.g.vimtex_format_enabled = 0
+vim.g.vimtex_include_search_enabled = 1
+vim.g.vimtex_indent_on_ampersands = 0
+vim.g.vimtex_quickfix_ignore_filters = {
+ "Generic hook",
+ "Package hyperref Warning: Token not allowed in a PDF string",
+ "destination with the same identifier",
+ "LaTeX Font Warning:",
+}
+vim.g.vimtex_quickfix_open_on_warning = 0
+vim.g.vimtex_syntax_conceal_disabled = 1
+vim.g.vimtex_syntax_enabled = 1
+vim.g.vimtex_view_automatic = 0
+vim.g.vimtex_view_forward_search_on_start = 0
+vim.g.vimtex_view_method = "zathura_simple"
+
+vim.cmd([[packadd vimtex]])