Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Make g:lua_inspect_path default compatible with Pathogen

  • Loading branch information...
commit 26e6f3555e8bd1f1097055400da202fa83e6fdf3 1 parent 0249104
Peter Odding authored May 25, 2011

Showing 1 changed file with 2 additions and 6 deletions. Show diff stats Hide diff stats

  1. 8  plugin/luainspect.vim
8  plugin/luainspect.vim
@@ -2,7 +2,7 @@
2 2
 " Author: Peter Odding <peter@peterodding.com>
3 3
 " Last Change: May 25, 2011
4 4
 " URL: http://peterodding.com/code/vim/lua-inspect/
5  
-" Version: 0.4.8
  5
+" Version: 0.4.9
6 6
 " License: MIT
7 7
 
8 8
 " Support for automatic update using the GLVS plug-in.
@@ -25,11 +25,7 @@ endif
25 25
 
26 26
 if !exists('g:lua_inspect_path')
27 27
   " Change this if you want to move the Lua modules somewhere else.
28  
-  if has('win32') || has('win64')
29  
-    let g:lua_inspect_path = '~\vimfiles\misc\luainspect'
30  
-  else
31  
-    let g:lua_inspect_path = '~/.vim/misc/luainspect'
32  
-  endif
  28
+  let g:lua_inspect_path = expand('<sfile>:p:h') . '/../misc/luainspect'
33 29
 endif
34 30
 
35 31
 if !exists('g:lua_inspect_internal')

0 notes on commit 26e6f35

Please sign in to comment.
Something went wrong with that request. Please try again.