File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1331,12 +1331,12 @@ endfunction
13311331function ! s: readable_preview_urls (lnum) dict abort
13321332 let urls = []
13331333 let start = self .last_method_line (a: lnum ) - 1
1334- while start > 0 && self .getline (start ) = ~ ' ^\s*\%(\%(-\|<%\)#.*\)\=$'
1334+ while start > 0 && self .getline (start ) = ~ ' ^\s*\%(\%(-\=\ |<%\)#.*\)\=$'
13351335 let urls = s: scanlineforuris (self .getline (start )) + urls
13361336 let start -= 1
13371337 endwhile
13381338 let start = 1
1339- while start < self .line_count () && self .getline (start ) = ~ ' ^\s*\%(#.*\)\=$'
1339+ while start < self .line_count () && self .getline (start ) = ~ ' ^\s*\%(\%(-\=\|<%\) #.*\)\=$'
13401340 let urls += s: scanlineforuris (self .getline (start ))
13411341 let start += 1
13421342 endwhile
You can’t perform that action at this time.
0 commit comments