Skip to content

Commit 12b2f1a

Browse files
committed
Fix IPV6 bracketing regexp
References: tpope#592
1 parent bcf8413 commit 12b2f1a

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
@@ -1993,7 +1993,7 @@ function! rails#get_binding_for(pid) abort
19931993
let binding = ''
19941994
endif
19951995
endif
1996-
let binding = substitute(binding, '^\(^[^[]*:.*):', '[\1]:', '')
1996+
let binding = substitute(binding, '^\(^[^[]*:.*\):', '[\1]:', '')
19971997
if empty(binding)
19981998
return ''
19991999
endif

0 commit comments

Comments
 (0)