Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
delphinus committed Jul 28, 2017
1 parent 6933d9f commit b6fa4fb
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions doc/vim-go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,22 @@ CTRL-t
type declarations for the current directory. If [dir] is given it parses
the given directory.

*unite-decls*
:Unite decls[:file or dir]

Only enabled if `unite.vim` is installed. If run shows declarations for
all functions and types on the current file or directory. If [:file or
dir] is non empty, it parses the given one.
>
" show declarations on the parent directory of the current file
:Unite decls
" show declarations on the file
:Unite decls:foo/bar.go
" show declarations on the directory
:Unite decls:foo
<
*:GoImpl*
:GoImpl [receiver] [interface]

Expand Down Expand Up @@ -1558,8 +1574,9 @@ By default the template file specified by |'g:go_template_file'| is used.
<
*'g:go_decls_includes'*

Only useful if `ctrlp.vim` is installed. This sets which declarations to show
for |:GoDecls|. It is a Comma delimited list Possible options are:
Only useful if `ctrlp.vim` or `unite.vim` are installed. This sets which
declarations to show for |:GoDecls| (`ctrp.vim`) and |unite-decls|
(`unite.vim`). It is a Comma delimited list Possible options are:
{func,type}. The default is: >
let g:go_decls_includes = 'func,type'
Expand Down

0 comments on commit b6fa4fb

Please sign in to comment.