We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b59751 commit 02e84dbCopy full SHA for 02e84db
autoload/rails.vim
@@ -1312,7 +1312,7 @@ function! s:initOpenURL()
1312
endfunction
1313
1314
function! s:scanlineforuris(line)
1315
- let url = matchstr(a:line,"\\v\\C%(%(GET|PUT|POST|DELETE)\\s+|\w+:/)/[^ \n\r\t<>\"]*[^] .,;\n\r\t<>\":]")
+ let url = matchstr(a:line,"\\v\\C%(%(GET|PUT|POST|DELETE)\\s+|\\w+://[^/]*)/[^ \n\r\t<>\"]*[^] .,;\n\r\t<>\":]")
1316
if url =~ '\C^\u\+\s\+'
1317
let method = matchstr(url,'^\u\+')
1318
let url = matchstr(url,'\s\+\zs.*')
0 commit comments