Skip to content

Commit

Permalink
fix(project): fix telescope lazy loading with project.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Mar 28, 2023
1 parent 76fc3f3 commit d971045
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions lua/astrocommunity/project/project-nvim/project-nvim.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
return {
"ahmedkhalf/project.nvim",
event = "VeryLazy",
dependencies = "nvim-telescope/telescope.nvim",
opts = { ignore_lsp = { "lua_ls" } },
config = function(_, opts)
require("project_nvim").setup(opts)
require("telescope").load_extension "projects"
end,
{
"ahmedkhalf/project.nvim",
event = "VeryLazy",
opts = { ignore_lsp = { "lua_ls" } },
config = function(_, opts) require("project_nvim").setup(opts) end,
},
{ "nvim-telescope/telescope.nvim", opts = function() require("telescope").load_extension "projects" end },
}

0 comments on commit d971045

Please sign in to comment.