summaryrefslogtreecommitdiff
path: root/fnl/plugins/telescope.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-13 01:44:48 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-13 01:44:48 +0100
commit8c3692f3ab6e8bbe148a21f34ad5962951462766 (patch)
tree518b017626e0c8c073cf7f75e83222a3fcdf5514 /fnl/plugins/telescope.fnl
parent8d8cf86821d7cc1b093d149389baf5272e8033ca (diff)
Merge project into telescope
Diffstat (limited to 'fnl/plugins/telescope.fnl')
-rw-r--r--fnl/plugins/telescope.fnl21
1 files changed, 20 insertions, 1 deletions
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