Added inverse search and fixed deprecated diagnostic setting#80
Added inverse search and fixed deprecated diagnostic setting#80estrac wants to merge 1 commit intoLunarVim:latex-idefrom
Conversation
| vim.g.vimtex_view_method = "zathura" | ||
| -- Enable inverse search (set progpath to location of lvim executable) | ||
| vim.g.vimtex_callback_progpath = vim.fn.expand('$HOME/.local/bin/lvim') | ||
| vim.g.vimtex_quickfix_enabled = 0 |
There was a problem hiding this comment.
I'm curious, why is this disabled by default for LunarVim? I would claim that the quickfix feature is very useful and quite well implemented in VimTeX. Is it because you are also loading texlab or something like that which gives the same functionality?
There was a problem hiding this comment.
That is a great question for @SingularisArt, who was the original author of the LaTeX config.lua for LunarVim. Both texlab and VimTeX are being loaded in the config file, so I would presume you're right -- LunarVim probably wants to support both packages.
There was a problem hiding this comment.
Cool; I believe you still want to load the quickfix module even if you do use texlab. But you may want to disable the auto open feature. I.e., I would propose the following change:
-vim.g.vimtex_quickfix_enabled = 0
+vim.g.vimtex_quickfix_mode = 0
No description provided.