Skip to content

Commit 649f079

Browse files
committed
doc: Clarify size callback
It is not correct that it is called on every statusline evaluation. It's only called heuristically, e.g. when starting up or when the vim window size changes. If the users want to update the size at their own rate, they can still just set g:tpipeline_size directly.
1 parent c414612 commit 649f079

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/tpipeline.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,8 @@ CONFIGURATION *tpipeline-configure*
170170
By default the statusline size is calculated automatically to
171171
span the entire tmux window size. With this option you can
172172
overwrite a custom statusline size to be used. If the size is
173-
not constant and should be recalculated on every statusline
174-
evaluation, then the |User_TpipelineSize| autocommand can be
175-
used.
173+
not constant and should be recalculated on demand, then it can
174+
be set from the |User_TpipelineSize| autocommand.
176175

177176
------------------------------------------------------------------------------
178177
API *tpipeline-api*

0 commit comments

Comments
 (0)