We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e86a436 commit 003495cCopy full SHA for 003495c
1 file changed
lua/custom/plugins/parinfer.lua
@@ -0,0 +1,12 @@
1
+return {
2
+ 'eraserhd/parinfer-rust',
3
+ build = 'cargo build --release',
4
+ init = function()
5
+ vim.g.parinfer_rust_enabled = 1
6
+ vim.g.parinfer_rust_mode = 'smart' -- Options: "indent", "paren", "smart"
7
+ vim.g.parinfer_rust_dim_parens = 1 -- Dim parens in Smart mode
8
+
9
+ -- Optional: Set filetypes where parinfer should be active
10
+ vim.g.parinfer_rust_filetypes = { 'clojure', 'lisp', 'scheme', 'racket' }
11
+ end,
12
+}
0 commit comments