mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/vim-test: init
This commit is contained in:
parent
c457fe9424
commit
4dc8d1e918
2 changed files with 40 additions and 0 deletions
18
plugins/by-name/vim-test/default.nix
Normal file
18
plugins/by-name/vim-test/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
lib.nixvim.plugins.mkVimPlugin {
|
||||||
|
name = "vim-test";
|
||||||
|
globalPrefix = "test#";
|
||||||
|
|
||||||
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||||
|
|
||||||
|
settingsExample = {
|
||||||
|
preserve_screen = false;
|
||||||
|
"javascript#jest#options" = "--reporters jest-vim-reporter";
|
||||||
|
strategy = {
|
||||||
|
nearest = "vimux";
|
||||||
|
file = "vimux";
|
||||||
|
suite = "vimux";
|
||||||
|
};
|
||||||
|
"neovim#term_position" = "vert";
|
||||||
|
};
|
||||||
|
}
|
22
tests/test-sources/plugins/by-name/vim-test/default.nix
Normal file
22
tests/test-sources/plugins/by-name/vim-test/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
empty = {
|
||||||
|
plugins.vim-test.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
example = {
|
||||||
|
plugins.vim-test = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
preserve_screen = false;
|
||||||
|
"javascript#jest#options" = "--reporters jest-vim-reporter";
|
||||||
|
strategy = {
|
||||||
|
nearest = "vimux";
|
||||||
|
file = "vimux";
|
||||||
|
suite = "vimux";
|
||||||
|
};
|
||||||
|
"neovim#term_position" = "vert";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue