summaryrefslogtreecommitdiff
path: root/editors/parinfer-rust/files/patch-plugin_parinfer.vim
blob: 751719cf54d588ae9ffe2fada53e344feb6fb2ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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
 
 if !exists('g:parinfer_dylib_path')
+  let g:parinfer_dylib_path = 'libparinfer_rust.so'
+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 = s:libdir . '/libparinfer_rust.dylib'