Skip to content

Commit

Permalink
Modify current commit according to fatih's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gonotes committed Oct 17, 2015
1 parent d010758 commit d9548ce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 0 additions & 1 deletion autoload/go/oracle.vim
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ func! s:RunOracle(mode, selected, needs_package) range abort
" info check Oracle's User Manual section about scopes:
" https://docs.google.com/document/d/1SLk36YRjjMgKqe490mSRzOPYEDe0Y_WQNRv-EiFYUyw/view#heading=h.nwso96pj07q8
let cmd .= ' ' . go#util#Shelljoin(scopes)
" echon "vim-go: " | echohl Function | echon "current cmd is: '". cmd ."'" | echohl None

echon "vim-go: " | echohl Identifier | echon "analysing ..." | echohl None

Expand Down
10 changes: 9 additions & 1 deletion doc/vim-go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,15 @@ COMMANDS *go-commands*
"'vet', 'golint', 'errcheck'". This can be changed with the
|g:go_metalinter_enabled| variable. To override the command completely use
the variable |g:go_metalinter_command|

*:GoOracleTags*
:GoOracleTags [tags]

Changes the custom |g:go_oracle_tags| setting and overrides it with the
given build tags. This command cooperate with GoReferrers command when
there exist mulitiple build tags in your project,then you can set one
of the build tags for GoReferrers to find more accurate.
The custom build tags is cleared (unset) if `""` is given. If no arguments
is given it prints the current custom build tags.

===============================================================================
MAPPINGS *go-mappings*
Expand Down
2 changes: 1 addition & 1 deletion ftplugin/go/commands.vim
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ command! -range=% GoCallstack call go#oracle#Callstack(<count>)
command! -range=% GoFreevars call go#oracle#Freevars(<count>)
command! -range=% GoChannelPeers call go#oracle#ChannelPeers(<count>)
command! -range=% GoReferrers call go#oracle#Referrers(<count>)
command! -nargs=? GoTags call go#oracle#Tags(<f-args>)
command! -nargs=? GoOracleTags call go#oracle#Tags(<f-args>)

" tool
command! -nargs=0 GoFiles echo go#tool#Files()
Expand Down

0 comments on commit d9548ce

Please sign in to comment.