This commit is contained in:
2025-08-28 00:58:30 +02:00
parent d033bab96e
commit fe3886fbdf
7 changed files with 63 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
-- latex
--
--
vim.g.maplocalleader = ' ' -- we define a leader available only from tex files
return {
{
'lervag/vimtex',
lazy = false, -- lazy-loading will disable inverse search
config = function()
vim.g.vimtex_mappings_disable = { ['n'] = { 'K' } } -- disable `K` as it conflicts with LSP hover
vim.g.vimtex_quickfix_method = vim.fn.executable 'pplatex' == 1 and 'pplatex' or 'latexlog'
end,
keys = {
{ '<localLeader>l', '', desc = 'LaTeX', ft = 'tex' },
},
},
}