summaryrefslogtreecommitdiff
path: root/editors/parinfer-rust/files/patch-plugin_parinfer.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--editors/parinfer-rust/files/patch-plugin_parinfer.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/parinfer-rust/files/patch-plugin_parinfer.vim b/editors/parinfer-rust/files/patch-plugin_parinfer.vim
index 4bd8e86250d9..751719cf54d5 100644
--- a/editors/parinfer-rust/files/patch-plugin_parinfer.vim
+++ b/editors/parinfer-rust/files/patch-plugin_parinfer.vim
@@ -1,4 +1,4 @@
---- plugin/parinfer.vim.orig 2019-01-26 15:56:17 UTC
+--- plugin/parinfer.vim.orig 2020-01-04 23:58:23 UTC
+++ plugin/parinfer.vim
@@ -9,6 +9,10 @@ if !exists('g:parinfer_force_balance')
endif
@@ -8,6 +8,6 @@
+endif
+
+if !exists('g:parinfer_dylib_path')
+ let s:libdir = expand('<sfile>:p:h:h') . '/target/release'
if has('macunix')
- let g:parinfer_dylib_path = expand('<sfile>:p:h:h'). '/target/release/libparinfer_rust.dylib'
- elseif has('unix')
+ let g:parinfer_dylib_path = s:libdir . '/libparinfer_rust.dylib'