summaryrefslogtreecommitdiff
path: root/editors/parinfer-rust/files/patch-plugin_parinfer.vim
diff options
context:
space:
mode:
Diffstat (limited to 'editors/parinfer-rust/files/patch-plugin_parinfer.vim')
-rw-r--r--editors/parinfer-rust/files/patch-plugin_parinfer.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/parinfer-rust/files/patch-plugin_parinfer.vim b/editors/parinfer-rust/files/patch-plugin_parinfer.vim
new file mode 100644
index 000000000000..4bd8e86250d9
--- /dev/null
+++ b/editors/parinfer-rust/files/patch-plugin_parinfer.vim
@@ -0,0 +1,13 @@
+--- plugin/parinfer.vim.orig 2019-01-26 15:56:17 UTC
++++ plugin/parinfer.vim
+@@ -9,6 +9,10 @@ if !exists('g:parinfer_force_balance')
+ endif
+
+ if !exists('g:parinfer_dylib_path')
++ let g:parinfer_dylib_path = 'libparinfer_rust.so'
++endif
++
++if !exists('g:parinfer_dylib_path')
+ if has('macunix')
+ let g:parinfer_dylib_path = expand('<sfile>:p:h:h'). '/target/release/libparinfer_rust.dylib'
+ elseif has('unix')