File tree Expand file tree Collapse file tree
runtime/pack/dist/opt/netrw/autoload Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55" 2025 Aug 07 by Vim Project (use correct "=~#" for netrw_stylesize option #17901)
66" 2025 Aug 07 by Vim Project (netrw#BrowseX() distinguishes remote files #17794)
77" 2025 Aug 22 by Vim Project netrw#Explore handle terminal correctly #18069
8+ " 2025 Sep 05 by Vim Project ensure netrw#fs#Dirname() returns trailing slash #18199
89" Copyright: Copyright (C) 2016 Charles E. Campbell {{{1
910" Permission is hereby granted to use and distribute this code,
1011" with or without modifications, provided that this copyright
Original file line number Diff line number Diff line change @@ -87,7 +87,8 @@ endfunction
8787" netrw#fs#Dirname: {{{
8888
8989function netrw#fs#Dirname (path )
90- return netrw#fs#AbsPath (a: path )- >fnamemodify (' :h' )
90+ " Keep a slash as directory recognition pattern
91+ return netrw#fs#AbsPath (a: path ) . s: slash
9192endfunction
9293
9394" }}}
You can’t perform that action at this time.
0 commit comments