mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-08 16:24:32 +02:00
plugins/quicker: init
This commit is contained in:
parent
85bef9e191
commit
e22bb46c88
3 changed files with 301 additions and 0 deletions
35
plugins/by-name/quicker/default.nix
Normal file
35
plugins/by-name/quicker/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue