aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabian Viöl <f.vioel@googlemail.com>2021-04-29 11:14:48 +0200
committerFabian Viöl <f.vioel@googlemail.com>2021-04-29 12:48:56 +0200
commitef8afa0eb7cd506c9b24e0a2c494e188f03beeea (patch)
tree64a03a739f3e3e4027f41a115f90c1d6f3e6ad82 /src
parent766f4c3f62f530cf6c29272bae63a097681ab7fb (diff)
downloadrneovim-ef8afa0eb7cd506c9b24e0a2c494e188f03beeea.tar.gz
rneovim-ef8afa0eb7cd506c9b24e0a2c494e188f03beeea.tar.bz2
rneovim-ef8afa0eb7cd506c9b24e0a2c494e188f03beeea.zip
Fix documentation typos for msg_scroll_flush
Diffstat (limited to 'src')
-rw-r--r--src/nvim/message.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 7c98d3c6b5..1783f62247 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -2265,12 +2265,14 @@ void msg_scroll_up(bool may_throttle)
/// per screen update.
///
/// NB: The bookkeeping is quite messy, and rests on a bunch of poorly
-/// documented assumtions. For instance that the message area always grows while
-/// being throttled, messages are only being output on the last line etc.
+/// documented assumptions. For instance that the message area always grows
+/// while being throttled, messages are only being output on the last line
+/// etc.
///
-/// Probably message scrollback storage should reimplented as a file_buffer, and
-/// message scrolling in TUI be reimplemented as a modal floating window. Then
-/// we get throttling "for free" using standard redraw_later code paths.
+/// Probably message scrollback storage should be reimplemented as a
+/// file_buffer, and message scrolling in TUI be reimplemented as a modal
+/// floating window. Then we get throttling "for free" using standard
+/// redraw_later code paths.
void msg_scroll_flush(void)
{
if (msg_grid.throttled) {