summaryrefslogtreecommitdiff
path: root/fnl/config/project.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
commit71d538630b226da37e4ef21c5a84d6fad5f55421 (patch)
tree5f87a9c1194a556d12ffca79ea98a08d76af548e /fnl/config/project.fnl
parentfa9a5c6b80b5b0ffdcddc4b1d1c6cfe887d0bb04 (diff)
fix(load plugin): correct loading err
Diffstat (limited to 'fnl/config/project.fnl')
-rw-r--r--fnl/config/project.fnl23
1 files changed, 11 insertions, 12 deletions
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)}))