diff --git a/config/project.nix b/config/project.nix index b411ec7..3930ecf 100644 --- a/config/project.nix +++ b/config/project.nix @@ -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 + ''; + } + ]; }