1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-25 03:05:11 +01:00

runtime(netrw): Fix mf-selected entry highlighting

closes: 

Signed-off-by: yasuda <yasuda@kyoto-sr.co.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
yasuda 2024-08-22 20:54:47 +02:00 committed by Christian Brabandt
parent 0e9fd7755d
commit 38cfa2b662
No known key found for this signature in database
GPG key ID: F3F92DA383FDDE09

View file

@ -21,6 +21,7 @@
" 2024 Jul 30 by Vim Project: handle mark-copy to same target directory (#12112)
" 2024 Aug 02 by Vim Project: honor g:netrw_alt{o,v} for :{S,H,V}explore (#15417)
" 2024 Aug 15 by Vim Project: style changes, prevent E121 (#15501)
" 2024 Aug 22 by Vim Project: fix mf-selection highlight (#15551)
" }}}
" Former Maintainer: Charles E Campbell
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
@ -6887,11 +6888,7 @@ fun! s:NetrwMarkFile(islocal,fname)
let ykeep = @@
let curbufnr= bufnr("%")
if a:fname =~ '^\a'
let leader= '\<'
else
let leader= ''
endif
let leader= '\(^\|\s\)\zs'
if a:fname =~ '\a$'
let trailer = '\>[@=|\/\*]\=\ze\%( \|\t\|$\)'
else