Update e for newer Ruby

This commit is contained in:
Josh Holtrop 2025-05-30 11:34:15 -04:00
parent cc63840fcb
commit e483adfba0

2
e
View File

@ -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