diff options
Diffstat (limited to 'fnl/config/project.fnl')
-rw-r--r-- | fnl/config/project.fnl | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/fnl/config/project.fnl b/fnl/config/project.fnl index eceef84..57cfb9c 100644 --- a/fnl/config/project.fnl +++ b/fnl/config/project.fnl @@ -1,15 +1,17 @@ ;; Provides project management. (local 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)}) + :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)}) - {1 :ahmedkhalf/project.nvim - :event :BufReadPre - :config opts} +{1 :ahmedkhalf/project.nvim + :cmd :Telescope + :config (fn [] + (let [project (require :project_nvim)] + (project.setup opts)))} |