Skip to content

Commit

Permalink
SameIds: Fix Sentence, add hint to 'updatetime'
Browse files Browse the repository at this point in the history
  • Loading branch information
fd0 committed Aug 19, 2016
1 parent a4ba0a5 commit 2418183
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 2418183

Please sign in to comment.