mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 12:45:24 +02:00
plugins/peek: init
This commit is contained in:
parent
76a319c5ab
commit
276abde288
2 changed files with 74 additions and 0 deletions
42
tests/test-sources/plugins/by-name/peek/default.nix
Normal file
42
tests/test-sources/plugins/by-name/peek/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.peek.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.peek = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
auto_load = true;
|
||||
close_on_bdelete = true;
|
||||
syntax = true;
|
||||
theme = "dark";
|
||||
update_on_change = true;
|
||||
app = "webview";
|
||||
filetype = [ "markdown" ];
|
||||
throttle_at = 200000;
|
||||
throttle_time = "auto";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.peek = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
auto_load = false;
|
||||
close_on_bdelete = false;
|
||||
app = "google-chrome-stable";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
withoutUserCommands = {
|
||||
plugins.peek = {
|
||||
enable = true;
|
||||
createUserCommands = false;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue