From ca377f3c353018cf9788d467b4332c8aa34b5bcd Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 25 Sep 2025 06:20:20 +0800 Subject: [PATCH] vim-patch:1ae980a: runtime(doc): fix inconsistent indent in cmdline.txt Also fix typo in autoload/netrw.vim. related: vim/vim#18371 closes: vim/vim#18376 https://github.com/vim/vim/commit/1ae980a9cb8d8cb5e5897f3708ddeb7c8c0555bd --- runtime/doc/cmdline.txt | 8 ++++---- runtime/pack/dist/opt/netrw/autoload/netrw.vim | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index b7ff6fa1ef..5f296dd8f7 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1342,10 +1342,10 @@ file picker: > set findfunc=Find func Find(arg, _) - if empty(s:filescache) - let s:filescache = globpath('.', '**', 1, 1) - call filter(s:filescache, '!isdirectory(v:val)') - call map(s:filescache, "fnamemodify(v:val, ':.')") + if empty(s:filescache) + let s:filescache = globpath('.', '**', 1, 1) + call filter(s:filescache, '!isdirectory(v:val)') + call map(s:filescache, "fnamemodify(v:val, ':.')") endif return a:arg == '' ? s:filescache : matchfuzzy(s:filescache, a:arg) endfunc diff --git a/runtime/pack/dist/opt/netrw/autoload/netrw.vim b/runtime/pack/dist/opt/netrw/autoload/netrw.vim index 4ebead328e..08918fc6bd 100644 --- a/runtime/pack/dist/opt/netrw/autoload/netrw.vim +++ b/runtime/pack/dist/opt/netrw/autoload/netrw.vim @@ -8,7 +8,7 @@ " 2025 Sep 05 by Vim Project ensure netrw#fs#Dirname() returns trailing slash #18199 " 2025 Sep 11 by Vim Project only keep cursor position in tree mode #18275 " 2025 Sep 17 by Vim Project tighten the regex to handle remote compressed archives #18318 -" 2025 Sep 18 by Vim Project equalalwayse not always respected #18358 +" 2025 Sep 18 by Vim Project 'equalalways' not always respected #18358 " 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