aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-03-27 11:09:54 +0100
committerGitHub <noreply@github.com>2019-03-27 11:09:54 +0100
commit2470c88291ef1e4db6b49fd1adf17bc7fb6ecd39 (patch)
tree27b832ee6bf690eecbaa9d296d748c2200d5feba /src/nvim/screen.c
parent281c011d44a5f845d4c5d9cce0d2fc513f70483b (diff)
parentbf2ad145e3340205e304b5aba130952c04fd8473 (diff)
downloadrneovim-2470c88291ef1e4db6b49fd1adf17bc7fb6ecd39.tar.gz
rneovim-2470c88291ef1e4db6b49fd1adf17bc7fb6ecd39.tar.bz2
rneovim-2470c88291ef1e4db6b49fd1adf17bc7fb6ecd39.zip
Merge #9794 from janlazo/vim-8.0.1528
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 28a1b65fff..edddfd8ed3 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -6371,14 +6371,12 @@ void grid_del_lines(ScreenGrid *grid, int row, int line_count, int end, int col,
}
-/*
- * show the current mode and ruler
- *
- * If clear_cmdline is TRUE, clear the rest of the cmdline.
- * If clear_cmdline is FALSE there may be a message there that needs to be
- * cleared only if a mode is shown.
- * Return the length of the message (0 if no message).
- */
+// Show the current mode and ruler.
+//
+// If clear_cmdline is TRUE, clear the rest of the cmdline.
+// If clear_cmdline is FALSE there may be a message there that needs to be
+// cleared only if a mode is shown.
+// Return the length of the message (0 if no message).
int showmode(void)
{
int need_clear;