fix(which-key): use new which-key support for native group keymaps (nop)

This commit is contained in:
Folke Lemaitre 2024-06-06 10:46:51 +02:00
parent bac4bba016
commit 8010f50aa5
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
8 changed files with 11 additions and 69 deletions

View file

@ -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 🚀