runtime(netrw): more reformating #16248
closes: #16266 Signed-off-by: shane.xb.qian <shane.qian@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
af0fed5988
commit
c673b805ad
@ -42,6 +42,7 @@
|
|||||||
" 2024 Dec 08 by Vim Project: check the first arg of netrw_browsex_viewer for being executable (#16185)
|
" 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 12 by Vim Project: do not pollute the search history (#16206)
|
||||||
" 2024 Dec 19 by Vim Project: change style (#16248)
|
" 2024 Dec 19 by Vim Project: change style (#16248)
|
||||||
|
" 2024 Dec 20 by Vim Project: change style continued (#16266)
|
||||||
" }}}
|
" }}}
|
||||||
" Former Maintainer: Charles E Campbell
|
" Former Maintainer: Charles E Campbell
|
||||||
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
||||||
@ -5113,7 +5114,7 @@ endfun
|
|||||||
|
|
||||||
fun! netrw#Open(file) abort
|
fun! netrw#Open(file) abort
|
||||||
call netrw#Launch(s:viewer() .. ' ' .. shellescape(a:file, 1))
|
call netrw#Launch(s:viewer() .. ' ' .. shellescape(a:file, 1))
|
||||||
endf
|
endfun
|
||||||
|
|
||||||
if !exists('g:netrw_regex_url')
|
if !exists('g:netrw_regex_url')
|
||||||
let g:netrw_regex_url = '\%(\%(http\|ftp\|irc\)s\?\|file\)://\S\{-}'
|
let g:netrw_regex_url = '\%(\%(http\|ftp\|irc\)s\?\|file\)://\S\{-}'
|
||||||
|
|||||||
Reference in New Issue
Block a user