mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 17:28:57 +02:00
fix(which-key): use new which-key support for native group keymaps (nop)
This commit is contained in:
parent
bac4bba016
commit
8010f50aa5
8 changed files with 11 additions and 69 deletions
|
@ -5,15 +5,6 @@ return {
|
|||
root = { ".latexmkrc", ".texlabroot", "texlabroot", "Tectonic.toml" },
|
||||
})
|
||||
end,
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
optional = true,
|
||||
opts = {
|
||||
defaults = {
|
||||
["<localLeader>l"] = { name = "+vimtex" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- Add BibTeX/LaTeX to treesitter
|
||||
{
|
||||
|
@ -38,6 +29,9 @@ return {
|
|||
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 = "+vimtext" },
|
||||
},
|
||||
},
|
||||
|
||||
-- Correctly setup lspconfig for LaTeX 🚀
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue