2023-11-22 09:38:52 +01:00
|
|
|
{
|
2025-03-04 10:09:08 +01:00
|
|
|
defaults = {
|
2023-11-22 09:38:52 +01:00
|
|
|
plugins = {
|
|
|
|
treesitter.enable = true;
|
|
|
|
neotest = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
adapters.rspec = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
rspec_cmd.__raw = ''
|
|
|
|
function()
|
|
|
|
return vim.tbl_flatten({
|
|
|
|
"bundle",
|
|
|
|
"exec",
|
|
|
|
"rspec",
|
|
|
|
})
|
|
|
|
end
|
|
|
|
'';
|
2024-05-05 19:39:35 +02:00
|
|
|
root_files = [
|
|
|
|
"Gemfile"
|
|
|
|
".rspec"
|
|
|
|
".gitignore"
|
|
|
|
];
|
|
|
|
filter_dirs = [
|
|
|
|
".git"
|
|
|
|
"node_modules"
|
|
|
|
];
|
2023-11-22 09:38:52 +01:00
|
|
|
transform_spec_path.__raw = ''
|
|
|
|
function(path)
|
|
|
|
return path
|
|
|
|
end
|
|
|
|
'';
|
|
|
|
results_path.__raw = ''
|
|
|
|
function()
|
|
|
|
return async.fn.tempname()
|
|
|
|
end
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|