2023-07-17 13:18:08 +02:00
|
|
|
{
|
|
|
|
empty = {
|
2024-09-20 13:37:35 -05:00
|
|
|
plugins.web-devicons.enable = true;
|
2023-07-17 13:18:08 +02:00
|
|
|
plugins.telescope.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
example = {
|
2024-09-20 13:37:35 -05:00
|
|
|
plugins.web-devicons.enable = true;
|
2023-07-17 13:18:08 +02:00
|
|
|
plugins.telescope = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
keymaps = {
|
|
|
|
"<leader>fg" = "live_grep";
|
|
|
|
"<C-p>" = {
|
|
|
|
action = "git_files";
|
2024-03-24 13:49:23 +01:00
|
|
|
options.desc = "Telescope Git Files";
|
2023-07-17 13:18:08 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
highlightTheme = "gruvbox";
|
|
|
|
};
|
|
|
|
};
|
2024-07-16 13:25:15 +03:00
|
|
|
|
2024-08-20 00:54:50 +01:00
|
|
|
combine-plugins = {
|
2024-09-20 13:37:35 -05:00
|
|
|
plugins.web-devicons.enable = true;
|
2024-08-20 00:54:50 +01:00
|
|
|
plugins.telescope.enable = true;
|
2024-07-16 13:25:15 +03:00
|
|
|
|
2024-08-20 00:54:50 +01:00
|
|
|
performance.combinePlugins.enable = true;
|
2024-07-16 13:25:15 +03:00
|
|
|
|
2024-08-20 00:54:50 +01:00
|
|
|
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")
|
|
|
|
'';
|
|
|
|
};
|
2024-08-30 08:09:04 -05:00
|
|
|
|
|
|
|
no-packages = {
|
2024-09-20 13:37:35 -05:00
|
|
|
plugins.web-devicons.enable = false;
|
2024-08-30 08:09:04 -05:00
|
|
|
plugins.telescope = {
|
|
|
|
enable = true;
|
2024-08-30 20:03:17 -05:00
|
|
|
batPackage = null;
|
2024-08-30 08:09:04 -05:00
|
|
|
};
|
|
|
|
};
|
2024-09-20 13:37:35 -05:00
|
|
|
|
|
|
|
mini-icons = {
|
|
|
|
plugins.mini = {
|
|
|
|
enable = true;
|
|
|
|
mockDevIcons = true;
|
|
|
|
modules.icons = { };
|
|
|
|
};
|
|
|
|
plugins.telescope.enable = true;
|
|
|
|
};
|
2023-07-17 13:18:08 +02:00
|
|
|
}
|