Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #8 from riggs/master

Installer update
  • Loading branch information...
commit dfca29366589698b729da457bd517e0b2ac9074f 2 parents 1c60d34 + 907c942
@jaredly authored
Showing with 10 additions and 8 deletions.
  1. +9 −7 bin/install-vim-debug.py
  2. +1 −1  setup.py
View
16 bin/install-vim-debug.py
@@ -39,13 +39,15 @@
import os, platform, sys
which = platform.system()
user = os.path.expanduser('~')
-if (which == 'Linux') or (which == 'Darwin'):
- vim_dir = os.path.join(user, '.vim')
-elif which == 'Windows':
- vim_dir = os.path.join(user, 'vimfiles')
-else:
- print>>sys.stderr, 'No $VIM directory found'
- sys.exit(1)
+vim_dir = os.environ.get('VIM')
+if vim_dir is None:
+ if (which == 'Linux') or (which == 'Darwin'):
+ vim_dir = os.path.join(user, '.vim')
+ elif which == 'Windows':
+ vim_dir = os.path.join(user, 'vimfiles')
+ else:
+ print>>sys.stderr, 'No $VIM directory found'
+ sys.exit(1)
vim_dir = os.path.join(vim_dir, 'plugin')
if not os.path.exists(vim_dir):
os.makedirs(vim_dir)
View
2  setup.py
@@ -7,7 +7,7 @@
name='vim-debug',
maintainer='Jared Forsyth',
maintainer_email='jared@jaredforsyth.com',
- version='1.5',
+ version='1.5.1',
url='http://jaredforsyth.com/projects/vim-debug/',
packages=['vim_debug'],
description='a plugin for vim that creates an integrated debugging environment',
Please sign in to comment.
Something went wrong with that request. Please try again.