mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
plugins/neotest: init
This commit is contained in:
parent
0ee062ed74
commit
975f1ca526
20 changed files with 916 additions and 2 deletions
38
tests/test-sources/plugins/neotest/rspec.nix
Normal file
38
tests/test-sources/plugins/neotest/rspec.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
defaults = {
|
||||
plugins = {
|
||||
treesitter.enable = true;
|
||||
neotest = {
|
||||
enable = true;
|
||||
|
||||
adapters.rspec = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
rspec_cmd.__raw = ''
|
||||
function()
|
||||
return vim.tbl_flatten({
|
||||
"bundle",
|
||||
"exec",
|
||||
"rspec",
|
||||
})
|
||||
end
|
||||
'';
|
||||
root_files = ["Gemfile" ".rspec" ".gitignore"];
|
||||
filter_dirs = [".git" "node_modules"];
|
||||
transform_spec_path.__raw = ''
|
||||
function(path)
|
||||
return path
|
||||
end
|
||||
'';
|
||||
results_path.__raw = ''
|
||||
function()
|
||||
return async.fn.tempname()
|
||||
end
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue