Skip to content

Commit c4eb1d7

Browse files
committed
Fix "C:" versus "c:" issue
1 parent 1d4b3f2 commit c4eb1d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ function! s:buffer_name() dict abort
594594
if sep != ""
595595
let f = getcwd().sep.f
596596
endif
597-
if s:startswith(f,s:gsub(app.path(),'\\ @!','/')) || f == ""
597+
if s:startswith(tolower(f),s:gsub(tolower(app.path()),'\\ @!','/')) || f == ""
598598
return strpart(f,strlen(app.path())+1)
599599
else
600600
if !exists("s:path_warn")

0 commit comments

Comments
 (0)