diff options
| author | Jacek Kiedrowski <[email protected]> | 2021-07-11 19:07:08 +0100 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-11 18:07:08 +0000 | 
| commit | 2a1acc796896d235569ddc5e9180ce796d44c124 (patch) | |
| tree | b104ec6a78626b41f4f523732347401f76209c6c /ftplugin | |
| parent | 95190e9c34978a9365d8e8d8691a64edd1946e74 (diff) | |
Added autosave on focus loss option and list of errors to be ignored to vimtex. (#873)
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/tex.lua | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/ftplugin/tex.lua b/ftplugin/tex.lua index 87f7c598..a81a6ff7 100644 --- a/ftplugin/tex.lua +++ b/ftplugin/tex.lua @@ -10,6 +10,7 @@ require("lspconfig").texlab.setup {  vim.g.vimtex_compiler_method = "latexmk"  vim.g.vimtex_view_method = "zathura"  vim.g.vimtex_fold_enabled = 0 +vim.g.vimtex_quickfix_ignore_filters = O.lang.latex.ignore_errors  O.plugin.which_key.mappings["L"] = {    name = "+Latex", @@ -32,3 +33,7 @@ vim.api.nvim_exec(      ]],    false  ) +if (O.lang.latex.auto_save) +then +  vim.api.nvim_exec([[au FocusLost * :wa]],false) +end | 
