Avoid lazy-loading for vimtex #1182
Unanswered
danieleavitabile
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am switching from another plugin to packer on neovim, and am embracing the lua philosophy. I anticipate that my questions will be very silly, apologies for that.
I think most packages are fine by now, but I have problems with vimtex. According to the README and the developers, I should be careful not to use lazy-loading with this package, because it breaks inverse search, which is vital for me.
My latest configuration is the following:
lua/plugins.lua
I load the package withuse 'lervag/vimtex'
plugin/vimtex.lua
I use:vim.cmd([[setlocal spell]])
)Here are my questions:
vim.g.vimtex_compiler_latexmk = {'continuous': 0}
will not work, because lua probably understands braces in a different way than vimtex expects. Do you know how to fix that?Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions