mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
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:
@@ -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
|
||||||
@@ -5108,7 +5109,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