20 lines
594 B
Lua
20 lines
594 B
Lua
return {
|
|
{
|
|
"lervag/vimtex",
|
|
lazy = false, -- lazy-loading will disable inverse search
|
|
config = function()
|
|
vim.api.nvim_create_autocmd({ "FileType" }, {
|
|
group = vim.api.nvim_create_augroup("lazyvim_vimtex_conceal", { clear = true }),
|
|
pattern = { "bib", "tex" },
|
|
callback = function()
|
|
vim.wo.conceallevel = 2
|
|
end,
|
|
})
|
|
|
|
vim.g.vimtex_mappings_disable = { ["n"] = { "K" } } -- disable `K` as it conflicts with LSP hover
|
|
vim.g.vimtex_quickfix_method = "pplatex"
|
|
vim.g.vimtex_view_method = "zathura"
|
|
end,
|
|
},
|
|
}
|