begin rebuild of config to separate files
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
local env = require 'env'
|
||||
|
||||
return {
|
||||
'lervag/vimtex',
|
||||
lazy = false, -- vimtex lazy-loads itself; wrapping it breaks inverse search
|
||||
cond = env.has 'latexmk', -- no TeX install (most servers) means no vimtex
|
||||
init = function()
|
||||
vim.g.vimtex_view_method = env.has 'zathura' and 'zathura' or 'general'
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user