summaryrefslogtreecommitdiff
path: root/fnl/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins')
-rw-r--r--fnl/plugins/project.fnl16
-rw-r--r--fnl/plugins/telescope.fnl21
2 files changed, 20 insertions, 17 deletions
diff --git a/fnl/plugins/project.fnl b/fnl/plugins/project.fnl
deleted file mode 100644
index 4361e06..0000000
--- a/fnl/plugins/project.fnl
+++ /dev/null
@@ -1,16 +0,0 @@
-;; Provides project management.
-
-{1 :ahmedkhalf/project.nvim
- :cmd :Telescope
- :opts {:active true
- :on_config_done nil
- :manual_mode false
- :detection_methods [:patterns]
- :patterns [:git :_darcs :.hg :.bzr :.svn :Makefile :package.json]
- :show_hidden false
- :silent_chdir true
- :ignore_lsp {}
- :datapath (vim.fn.stdpath :data)}
- :config (lambda [_ opts]
- (let [project (require :project_nvim)]
- (project.setup opts)))}
diff --git a/fnl/plugins/telescope.fnl b/fnl/plugins/telescope.fnl
index 7f782e1..df8c031 100644
--- a/fnl/plugins/telescope.fnl
+++ b/fnl/plugins/telescope.fnl
@@ -85,7 +85,26 @@
:nvim-telescope/telescope-frecency.nvim
{1 :nvim-telescope/telescope-fzf-native.nvim :build :make}
:tami5/sqlite.lua
- :ahmedkhalf/project.nvim
+ {1 :ahmedkhalf/project.nvim
+ :event :VeryLazy
+ :opts {:active true
+ :on_config_done nil
+ :manual_mode false
+ :detection_methods [:patterns]
+ :patterns [:git
+ :_darcs
+ :.hg
+ :.bzr
+ :.svn
+ :Makefile
+ :package.json]
+ :show_hidden false
+ :silent_chdir true
+ :ignore_lsp {}
+ :datapath (vim.fn.stdpath :data)}
+ :config (lambda [_ opts]
+ (let [project (require :project_nvim)]
+ (project.setup opts)))}
:nvim-lua/plenary.nvim
:nvim-telescope/telescope-fzf-native.nvim
:nvim-telescope/telescope-frecency.nvim