Commit: runtime(netrw): fix misaligned comment after #18611

2 views
Skip to first unread message

Christian Brabandt

unread,
Oct 27, 2025, 2:15:14 PMOct 27
to vim...@googlegroups.com
runtime(netrw): fix misaligned comment after #18611

Commit: https://github.com/vim/vim/commit/58ab3438b7b4e1828efa2f86a5f37af5a7dbf259
Author: zeertzjq <zeer...@outlook.com>
Date: Mon Oct 27 18:04:05 2025 +0000

runtime(netrw): fix misaligned comment after https://github.com/vim/vim/issues/18611

related" https://github.com/vim/vim/issues/18611
closes: https://github.com/vim/vim/issues/18644

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/pack/dist/opt/netrw/autoload/netrw.vim b/runtime/pack/dist/opt/netrw/autoload/netrw.vim
index f1ce7f393..37adbf920 100644
--- a/runtime/pack/dist/opt/netrw/autoload/netrw.vim
+++ b/runtime/pack/dist/opt/netrw/autoload/netrw.vim
@@ -11,6 +11,7 @@
" 2025 Sep 18 by Vim Project 'equalalways' not always respected #18358
" 2025 Oct 01 by Vim Project fix navigate to parent folder #18464
" 2025 Oct 26 by Vim Project fix parsing of remote user names #18611
+" 2025 Oct 27 by Vim Project align comment after #18611
" Copyright: Copyright (C) 2016 Charles E. Campbell {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
@@ -9312,7 +9313,7 @@ endfunction
" s:RemotePathAnalysis: {{{2
function s:RemotePathAnalysis(dirname)

- " method :// user @ machine :port /path
+ " method :// user @ machine :port /path
let dirpat = '^\(\w\{-}\)://\(\([^@]\+\)@\)\=\([^/:#]\+\)\%([:#]\(\d\+\)\)\=/\(.*\)$'
let s:method = substitute(a:dirname,dirpat,' ','')
let s:user = substitute(a:dirname,dirpat,' ','')
Reply all
Reply to author
Forward
0 new messages