Compare commits
2
Commits
cc63840fcb
...
0e1ecfedaa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e1ecfedaa | ||
|
|
e483adfba0 |
No files matched your search
@@ -0,0 +1 @@
|
|||||||
|
alias grepgit='git ls-files -z | xargs -0 grep --color=auto -H'
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user