project: start up with project.nvim
This commit is contained in:
parent
7284e679ab
commit
8add88a989
1 changed files with 21 additions and 0 deletions
|
@ -1,6 +1,27 @@
|
|||
{ helpers, ... }:
|
||||
|
||||
{
|
||||
plugins.project-nvim = {
|
||||
enable = true;
|
||||
enableTelescope = true;
|
||||
silentChdir = false;
|
||||
scopeChdir = "tab";
|
||||
};
|
||||
|
||||
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
|
||||
'';
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue