nixvim/config/project.nix

28 lines
484 B
Nix
Raw Normal View History

2024-08-22 03:52:28 +00:00
{ helpers, ... }:
2024-08-20 12:09:04 +00:00
{
plugins.project-nvim = {
enable = true;
enableTelescope = true;
2024-08-22 03:52:28 +00:00
silentChdir = false;
scopeChdir = "tab";
2024-08-20 12:09:04 +00:00
};
2024-08-22 03:52:28 +00:00
autoGroups.project_nvim_group = {
clear = true;
};
autoCmd = [
{
event = "VimEnter";
group = "project_nvim_group";
desc = "Startup with project.nvim";
callback = helpers.mkRaw ''
function()
require("telescope").extensions.projects.projects{}
end
'';
}
];
2024-08-20 12:09:04 +00:00
}