handle multiple possible gvim versions
This commit is contained in:
parent
2ab0455034
commit
6bd67c3d1f
@ -1,9 +1,16 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
if os.path.exists('C:\\apps\\Vim\\vim74\\gvim.exe'):
|
||||||
|
vimdir = 'C:\\apps\\Vim\\vim74'
|
||||||
|
elif os.path.exists('C:\\apps\\Vim\\vim73\\gvim.exe'):
|
||||||
|
vimdir = 'C:\\apps\\Vim\\vim73'
|
||||||
|
else:
|
||||||
|
raise "Could not find Vim directory, update script"
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
# path to directory containing vim.exe and gvim.exe
|
# path to directory containing vim.exe and gvim.exe
|
||||||
'vimdir': 'C:\\apps\\Vim\\vim74',
|
'vimdir': vimdir,
|
||||||
# list of (path, name) tuples defining gvim contexts
|
# list of (path, name) tuples defining gvim contexts
|
||||||
'servers': [],
|
'servers': [],
|
||||||
# default server name to use if no server paths match
|
# default server name to use if no server paths match
|
||||||
|
Loading…
x
Reference in New Issue
Block a user