aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-09-23 08:28:05 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-09-23 09:30:49 +0200
commit423176db565cc182dac8b9562ccb23605f96fa2d (patch)
tree80b247e2d6a3c7669867a3c46fbfa2cbb26624f8
parentbfe0acaea167a5ce18d4c63f65ccd45966203413 (diff)
downloadrneovim-423176db565cc182dac8b9562ccb23605f96fa2d.tar.gz
rneovim-423176db565cc182dac8b9562ccb23605f96fa2d.tar.bz2
rneovim-423176db565cc182dac8b9562ccb23605f96fa2d.zip
vim-patch:be551da: runtime(netrw): remove extraneous closing bracket
fixes: vim/vim#15717 closes: vim/vim#15718 https://github.com/vim/vim/commit/be551dacb87a0542afd8b5c17b89e6749f2dc355 Co-authored-by: Peter Aronoff <peter@aronoff.org>
-rw-r--r--runtime/autoload/netrw.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim
index 386438852b..a96364fb4b 100644
--- a/runtime/autoload/netrw.vim
+++ b/runtime/autoload/netrw.vim
@@ -25,6 +25,7 @@
" 2024 Aug 22 by Vim Project: adjust echo output of mx command (#15550)
" 2024 Sep 15 by Vim Project: more strict confirmation dialog (#15680)
" 2024 Sep 19 by Vim Project: mf-selection highlight uses wrong pattern (#15700)
+" 2024 Sep 21 by Vim Project: remove extraneous closing bracket (#15718)
" }}}
" Former Maintainer: Charles E Campbell
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
@@ -4183,7 +4184,7 @@ fun! s:NetrwGetBuffer(islocal,dirname)
endif
" call Decho(" NetrwTreeListing: bufnum#".bufnum,'~'.expand("<slnum>"))
if !bufexists(bufnum)
- call remove(s:netrwbuf,"NetrwTreeListing"])
+ call remove(s:netrwbuf,"NetrwTreeListing")
let bufnum= -1
endif
elseif bufnr("NetrwTreeListing") != -1