From 8c3692f3ab6e8bbe148a21f34ad5962951462766 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 13 Jan 2023 01:44:48 +0100 Subject: Merge project into telescope --- fnl/plugins/project.fnl | 16 ---------------- fnl/plugins/telescope.fnl | 21 ++++++++++++++++++++- 2 files changed, 20 insertions(+), 17 deletions(-) delete mode 100644 fnl/plugins/project.fnl (limited to 'fnl') 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 -- cgit v1.2.3-70-g09d2