Skip to content

Commit

Permalink
Merge pull request #1242 from danielheller/godef-help-explicit-arguments
Browse files Browse the repository at this point in the history
Update GoDef help: remove explicit arguments
  • Loading branch information
fatih authored Mar 28, 2017
2 parents 362e15a + cec0fc3 commit a83c4c0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doc/vim-go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,14 @@ COMMANDS *go-commands*
If [!] is not given the first error is jumped to.

*:GoDef*
:GoDef [identifier]
:GoDef
gd
CTRL-]

Goto declaration/definition for the given [identifier]. If no argument is
given, it will jump to the declaration under the cursor. By default the
CTRL-] key and the mapping `gd` are enabled to invoke :GoDef for the
Goto declaration/definition for the declaration under the cursor. By default
the CTRL-] key and the mapping `gd` are enabled to invoke :GoDef for the
identifier under the cursor. See |'g:go_def_mapping_enabled'| to disable
them.
them. No explicit arguments are supported.

vim-go also keeps a per-window location stack, roughly analogous to how
Vim's internal |tags| functionality works. This is pushed to every time a
Expand Down

0 comments on commit a83c4c0

Please sign in to comment.