aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2018-01-26 20:25:53 +0100
committerKillTheMule <KillTheMule@users.noreply.github.com>2018-05-23 22:07:27 +0200
commit37b8e95fd69ba4991454f79802bfe1bccf7c827a (patch)
treeb75965914390d1a13478ec244eee898bc49b6214 /src/nvim/misc1.c
parent8bcc01195968b84d1a74ecb82598bdf538004404 (diff)
downloadrneovim-37b8e95fd69ba4991454f79802bfe1bccf7c827a.tar.gz
rneovim-37b8e95fd69ba4991454f79802bfe1bccf7c827a.tar.bz2
rneovim-37b8e95fd69ba4991454f79802bfe1bccf7c827a.zip
Lint
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index a3b2d5e7a4..e2094d7293 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -837,7 +837,7 @@ open_line (
if (did_append) {
changed_lines(curwin->w_cursor.lnum, curwin->w_cursor.col,
curwin->w_cursor.lnum + 1, 1L, true);
- did_append = FALSE;
+ did_append = false;
/* Move marks after the line break to the new line. */
if (flags & OPENLINE_MARKFIX)
@@ -1914,12 +1914,12 @@ void deleted_lines_mark(linenr_T lnum, long count)
* Takes care of calling changed() and updating b_mod_*.
* Careful: may trigger autocommands that reload the buffer.
*/
-void
-changed_lines (
- linenr_T lnum, /* first line with change */
- colnr_T col, /* column in first line with change */
- linenr_T lnume, /* line below last changed line */
- long xtra, /* number of extra lines (negative when deleting) */
+void
+changed_lines(
+ linenr_T lnum, // first line with change
+ colnr_T col, // column in first line with change
+ linenr_T lnume, // line below last changed line
+ long xtra, // number of extra lines (negative when deleting)
bool send_liveupdate // some callers like undo/redo call changed_lines()
// and then increment b_changedtick *again*. This flag
// allows these callers to send the LiveUpdate events