summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/config/project.fnl16
1 files changed, 16 insertions, 0 deletions
diff --git a/fnl/config/project.fnl b/fnl/config/project.fnl
new file mode 100644
index 0000000..30843f8
--- /dev/null
+++ b/fnl/config/project.fnl
@@ -0,0 +1,16 @@
+;; Provides project management.
+(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)})