nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 55a8954c48d94c207facb1a0ba109a427b15bcbf
parent 0b1166ff7878ec510f4ce6cbdd336de549141f6a
Author: Martin Grenfell <martin.grenfell@gmail.com>
Date:   Sun, 29 Jun 2014 12:37:29 +0100

update the doc/quickhelp for :Bookmark

Make it clearer that the argument is optional.

Closes #229

Diffstat:
Mautoload/nerdtree.vim | 2+-
Mdoc/NERD_tree.txt | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/autoload/nerdtree.vim b/autoload/nerdtree.vim
@@ -513,7 +513,7 @@ function! nerdtree#dumpHelp()
         let @h=@h."\" ". g:NERDTreeMapHelp .": toggle help\n"
         let @h=@h."\"\n\" ----------------------------\n"
         let @h=@h."\" Bookmark commands~\n"
-        let @h=@h."\" :Bookmark <name>\n"
+        let @h=@h."\" :Bookmark [<name>]\n"
         let @h=@h."\" :BookmarkToRoot <name>\n"
         let @h=@h."\" :RevealBookmark <name>\n"
         let @h=@h."\" :OpenBookmark <name>\n"
diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt
@@ -160,7 +160,7 @@ click bookmarks or use the |NERDTree-o| mapping to activate them. See also,
 
 Note that the following commands are only available in the NERD tree buffer.
 
-:Bookmark <name>
+:Bookmark [<name>]
     Bookmark the current node as <name>. If there is already a <name>
     bookmark, it is overwritten. <name> must not contain spaces.
     If <name> is not provided, it defaults to the file or directory name.