mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
plugins/harpoon: allow to enable the telescope extension (#624)
This commit is contained in:
parent
b5849e2407
commit
d560fc6183
2 changed files with 35 additions and 2 deletions
|
@ -7,14 +7,19 @@
|
|||
plugins.harpoon.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
telescopeEnabled = {
|
||||
# Harpoon expects to access `~/.local/share/nvim/harpoon.json` which is not available in the
|
||||
# test environment
|
||||
tests.dontRun = true;
|
||||
|
||||
plugins.telescope = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
plugins.harpoon = {
|
||||
enable = true;
|
||||
|
||||
enableTelescope = true;
|
||||
keymapsSilent = true;
|
||||
keymaps = {
|
||||
addFile = "<leader>a";
|
||||
|
@ -59,4 +64,16 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
telescopeDisabled = {
|
||||
# Harpoon expects to access `~/.local/share/nvim/harpoon.json` which is not available in the
|
||||
# test environment
|
||||
tests.dontRun = true;
|
||||
|
||||
plugins.harpoon = {
|
||||
enable = true;
|
||||
|
||||
enableTelescope = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue