mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
vim-patch:38cfa2b: runtime(netrw): Fix mf
-selected entry highlighting
closes: vim/vim#15551
38cfa2b662
Co-authored-by: yasuda <yasuda@kyoto-sr.co.jp>
This commit is contained in:
parent
8c405d9b34
commit
916237d9b5
@ -21,6 +21,7 @@
|
|||||||
" 2024 Jul 30 by Vim Project: handle mark-copy to same target directory (#12112)
|
" 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 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 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
|
" Former Maintainer: Charles E Campbell
|
||||||
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
||||||
@ -6824,11 +6825,7 @@ fun! s:NetrwMarkFile(islocal,fname)
|
|||||||
|
|
||||||
let ykeep = @@
|
let ykeep = @@
|
||||||
let curbufnr= bufnr("%")
|
let curbufnr= bufnr("%")
|
||||||
if a:fname =~ '^\a'
|
let leader= '\(^\|\s\)\zs'
|
||||||
let leader= '\<'
|
|
||||||
else
|
|
||||||
let leader= ''
|
|
||||||
endif
|
|
||||||
if a:fname =~ '\a$'
|
if a:fname =~ '\a$'
|
||||||
let trailer = '\>[@=|\/\*]\=\ze\%( \|\t\|$\)'
|
let trailer = '\>[@=|\/\*]\=\ze\%( \|\t\|$\)'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user