Skip to content

Commit

Permalink
doc: add example for go_list_type_commands
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih committed Sep 12, 2017
1 parent 6b7bab6 commit 262fb63
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/vim-go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,12 @@ Supported keys are "GoBuild", "GoErrCheck", "GoFmt", "GoInstall", "GoLint",
>
let g:go_list_type_commands = {}
<
As an example, the following settings will change all list types to
`locationlist` except for `:GoBuild` where `quickfix` is used:
>
let g:go_list_type = "locationlist"
let g:go_list_type_commands = {"GoBuild": "quickfix"}
<

*'g:go_list_autoclose'*

Expand Down

0 comments on commit 262fb63

Please sign in to comment.