Update e for newer Ruby
This commit is contained in:
parent
cc63840fcb
commit
e483adfba0
2
e
2
e
@ -8,7 +8,7 @@ def get_server_name(path)
|
|||||||
path = File.expand_path(path)
|
path = File.expand_path(path)
|
||||||
while path != "/"
|
while path != "/"
|
||||||
dirname = File.dirname(path)
|
dirname = File.dirname(path)
|
||||||
if File.exists?(File.join(dirname, "project.vim"))
|
if File.exist?(File.join(dirname, "project.vim"))
|
||||||
if dirname =~ %r{([^/]+)/([^/]+)/*$}
|
if dirname =~ %r{([^/]+)/([^/]+)/*$}
|
||||||
sn = "#{$2}(#{$1})"
|
sn = "#{$2}(#{$1})"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user