summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2022-12-06 17:33:04 +0000
committerMike Vink <mike1994vink@gmail.com>2022-12-06 17:33:04 +0000
commitbc2f3472c6fd4c63b54c4038d0975849c6770acc (patch)
treebe04de06fb981a07a360924fb3854be84a4f7493 /fnl
parent1ed7762c96a7297b9a1a75fcdd879d6566e3b33f (diff)
confjure config
Diffstat (limited to 'fnl')
-rw-r--r--fnl/conf/pkgs.fnl1
-rw-r--r--fnl/conf/pkgs/conjure.fnl10
2 files changed, 11 insertions, 0 deletions
diff --git a/fnl/conf/pkgs.fnl b/fnl/conf/pkgs.fnl
index cc05fd6..c5f7762 100644
--- a/fnl/conf/pkgs.fnl
+++ b/fnl/conf/pkgs.fnl
@@ -5,3 +5,4 @@
(require :conf.pkgs.null-ls)
(require :conf.pkgs.lspconfig)
(require :conf.pkgs.treesitter)
+(require :conf.pkgs.conjure)
diff --git a/fnl/conf/pkgs/conjure.fnl b/fnl/conf/pkgs/conjure.fnl
new file mode 100644
index 0000000..c347e1a
--- /dev/null
+++ b/fnl/conf/pkgs/conjure.fnl
@@ -0,0 +1,10 @@
+(tset vim.g "conjure#log#wrap" true)
+
+(tset vim.g "conjure#client#python#stdio#command" "python -iq")
+
+(vim.api.nvim_create_user_command :ConjurePythonCommand
+ (fn [opts]
+ (tset vim.g
+ "conjure#client#python#stdio#command"
+ opts.args))
+ {:nargs 1})