]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(netrw): remove extraneous closing bracket
authorPeter Aronoff <peter@aronoff.org>
Sun, 22 Sep 2024 09:29:40 +0000 (11:29 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 22 Sep 2024 09:29:40 +0000 (11:29 +0200)
fixes: #15717
closes: #15718

Signed-off-by: Peter Aronoff <peter@aronoff.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/netrw.vim

index b4a70e173a4af5fcc47a8c5f02d5cad19b9c1332..d09299a583129ec4b0b0ca8c814b92c09e60b296 100644 (file)
@@ -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
@@ -4233,7 +4234,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