From 71d538630b226da37e4ef21c5a84d6fad5f55421 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 7 Apr 2022 22:32:53 +0200 Subject: fix(load plugin): correct loading err --- fnl/config/project.fnl | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'fnl/config/project.fnl') diff --git a/fnl/config/project.fnl b/fnl/config/project.fnl index 30843f8..e2e6371 100644 --- a/fnl/config/project.fnl +++ b/fnl/config/project.fnl @@ -2,15 +2,14 @@ (module config.project {autoload {util util}}) -(let [(ok? project) util.load-plugin :project_nvim] - (when ok? - (project.setup - {: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)}) +(let [project (util.load-plugin :project_nvim)] + (project.setup + {: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)})) -- cgit v1.2.3-70-g09d2