mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 18:58:43 +02:00
plugins/telescope: support non-builtin keymaps
Use the `:Telescope` command instead of relying directly on `require("telescope.builtin")`.
This commit is contained in:
parent
ef63d3477f
commit
bc0db2751c
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
||||||
{
|
{
|
||||||
mode = mapping.mode or "n";
|
mode = mapping.mode or "n";
|
||||||
inherit key;
|
inherit key;
|
||||||
action.__raw = "require('telescope.builtin').${actionStr}";
|
action = "<cmd>Telescope ${actionStr}<cr>";
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
silent = cfg.keymapsSilent;
|
silent = cfg.keymapsSilent;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue