up
This commit is contained in:
19
lua/kickstart/plugins/latex.lua
Normal file
19
lua/kickstart/plugins/latex.lua
Normal 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' },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user