mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 08:34:41 +02:00
tests: remove special treatment of module
Since we no longer need to extract `tests.dontRun` from an attrset, we no longer need the "special" `module` attr.
This commit is contained in:
parent
7b2a6cd9e6
commit
123a55ed6f
14 changed files with 266 additions and 285 deletions
|
@ -18,18 +18,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
combine-plugins.module =
|
||||
{ config, ... }:
|
||||
{
|
||||
plugins.telescope.enable = true;
|
||||
combine-plugins = {
|
||||
plugins.telescope.enable = true;
|
||||
|
||||
performance.combinePlugins.enable = true;
|
||||
performance.combinePlugins.enable = true;
|
||||
|
||||
extraConfigLuaPost = # lua
|
||||
''
|
||||
-- I don't know how run telescope properly in test environment,
|
||||
-- so just check that files exist
|
||||
assert(vim.api.nvim_get_runtime_file("data/memes/planets/earth", false)[1], "telescope planets aren't found in runtime")
|
||||
'';
|
||||
};
|
||||
extraConfigLuaPost = # lua
|
||||
''
|
||||
-- I don't know how run telescope properly in test environment,
|
||||
-- so just check that files exist
|
||||
assert(vim.api.nvim_get_runtime_file("data/memes/planets/earth", false)[1], "telescope planets aren't found in runtime")
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue