summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-05 22:50:43 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-05 22:50:43 +0200
commit1e9036800d30a416f1271e5422a318942abed958 (patch)
treef6d27a5f4c98118ac7e39abc3e914ae8fe11a02f
parent9285006ea4a71b3132e3ad9f8bfcdda585f7b427 (diff)
feat(project): add fnl config
-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)})