Skip to content

Commit

Permalink
Merge pull request #1017 from fd0/add-hint-updatetime
Browse files Browse the repository at this point in the history
SameIds: Fix Sentence, add hint to 'updatetime'
  • Loading branch information
fatih authored Aug 27, 2016
2 parents b76f8f5 + 2418183 commit 31ea0aa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/vim-go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,9 @@ CTRL-t
Enables or disables automatic highlighting of |:GoSameIds| while moving
the cursor. This basically toggles the option |'g:go_auto_sameids'|
on/off.
If enabled it starts highlighting whenever your cursor is. If disabled it
clears and stops automatic highlighting.
If enabled it starts highlighting whenever your cursor is staying at the
same position for a configurable period of time (see 'updatetime'). If
disabled it clears and stops automatic highlighting.

*:GoMetaLinter*
:GoMetaLinter [path]
Expand Down Expand Up @@ -995,7 +996,8 @@ updated. By default it's disabled.
*'g:go_auto_sameids'*

Use this option to highlight all uses of the identifier under the cursor
(:GoSameIds) automatically. By default it's disabled.
(:GoSameIds) automatically. By default it's disabled. The delay can be
configured with the 'updatetime' setting.
>
let g:go_auto_sameids = 0
<
Expand Down

0 comments on commit 31ea0aa

Please sign in to comment.