vim-patch:c673b80: runtime(netrw): more reformating vim/vim#16248 (#31662)

closes: vim/vim#16266

c673b805ad

Co-authored-by: shane.xb.qian <shane.qian@foxmail.com>
This commit is contained in:
zeertzjq 2024-12-21 09:17:23 +08:00 committed by GitHub
parent e1c2179dd9
commit 725d3e25a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,6 +42,7 @@
" 2024 Dec 08 by Vim Project: check the first arg of netrw_browsex_viewer for being executable (#16185)
" 2024 Dec 12 by Vim Project: do not pollute the search history (#16206)
" 2024 Dec 19 by Vim Project: change style (#16248)
" 2024 Dec 20 by Vim Project: change style continued (#16266)
" }}}
" Former Maintainer: Charles E Campbell
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
@ -5108,7 +5109,7 @@ endfun
fun! netrw#Open(file) abort
call netrw#Launch(s:viewer() .. ' ' .. shellescape(a:file, 1))
endf
endfun
if !exists('g:netrw_regex_url')
let g:netrw_regex_url = '\%(\%(http\|ftp\|irc\)s\?\|file\)://\S\{-}'