diff options
-rw-r--r-- | fnl/config/project.fnl | 3 | ||||
-rw-r--r-- | fnl/config/telescope.fnl | 1 | ||||
-rw-r--r-- | fnl/plugins.fnl | 7 |
3 files changed, 3 insertions, 8 deletions
diff --git a/fnl/config/project.fnl b/fnl/config/project.fnl index a7bcb82..1617ca5 100644 --- a/fnl/config/project.fnl +++ b/fnl/config/project.fnl @@ -12,6 +12,3 @@ :datapath (vim.fn.stdpath :data)}) (util.setup :project_nvim opts) - -(let [telescope (require :telescope)] - (telescope.load_extension :projects)) diff --git a/fnl/config/telescope.fnl b/fnl/config/telescope.fnl index c04c4a5..a5fc4ab 100644 --- a/fnl/config/telescope.fnl +++ b/fnl/config/telescope.fnl @@ -82,6 +82,7 @@ (telescope.load_extension :fzf) (telescope.load_extension :frecency) (telescope.load_extension :orgmode) + (telescope.load_extension :projects) (telescope.load_extension :harpoon) (util.setup :session-lens lens-opts) (telescope.load_extension :session-lens))) diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl index 516a8d7..a3e68af 100644 --- a/fnl/plugins.fnl +++ b/fnl/plugins.fnl @@ -83,12 +83,14 @@ :dependencies [:nvim-lua/popup.nvim :nvim-telescope/telescope-frecency.nvim :tami5/sqlite.lua + :ahmedkhalf/project.nvim :nvim-lua/plenary.nvim :rmagatti/session-lens :nvim-telescope/telescope-fzf-native.nvim :nvim-telescope/telescope-frecency.nvim :joaomsa/telescope-orgmode.nvim] :config (fn [] + (require :config.project) (require :config.telescope))} {1 :tamago324/lir.nvim :event :VeryLazy @@ -103,11 +105,6 @@ :event :VeryLazy :config (fn [] (require :config.flit))} - {1 :ahmedkhalf/project.nvim - :cmd :Telescope - :dependencies :nvim-telescope/telescope.nvim - :config (fn [] - (require :config.project))} {1 :windwp/nvim-spectre :event :VeryLazy :config (fn [] |