mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
35 lines
782 B
Nix
35 lines
782 B
Nix
{ lib, ... }:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "quicker";
|
|
packPathName = "quicker.nvim";
|
|
package = "quicker-nvim";
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
settingsOptions = import ./settings-options.nix lib;
|
|
|
|
settingsExample = {
|
|
keys = [
|
|
{
|
|
__unkeyed-1 = ">";
|
|
__unkeyed-2.__raw = ''
|
|
function()
|
|
require("quicker").expand({ before = 2, after = 2, add_to_existing = true })
|
|
end
|
|
'';
|
|
desc = "Expand quickfix context";
|
|
}
|
|
{
|
|
__unkeyed-1 = "<";
|
|
__unkeyed-2.__raw = "require('quicker').collapse";
|
|
desc = "Collapse quickfix context";
|
|
}
|
|
];
|
|
edit = {
|
|
enabled = false;
|
|
};
|
|
highlight = {
|
|
load_buffers = false;
|
|
};
|
|
};
|
|
}
|