From 3b0df1780e2c8526bda5dead18ee7cc45925caba Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Wed, 26 Apr 2023 23:23:44 +0200 Subject: refactor: uncrustify Notable changes: replace all infinite loops to `while(true)` and remove `int` from `unsigned int`. --- src/nvim/textformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/textformat.c') diff --git a/src/nvim/textformat.c b/src/nvim/textformat.c index dd13295c48..6d82179796 100644 --- a/src/nvim/textformat.c +++ b/src/nvim/textformat.c @@ -318,7 +318,7 @@ void internal_format(int textwidth, int second_indent, int flags, bool format_on if (allow_break) { // Break only when we are not at end of line. - end_foundcol = foundcol = ncc == NUL? 0 : curwin->w_cursor.col; + end_foundcol = foundcol = ncc == NUL ? 0 : curwin->w_cursor.col; break; } curwin->w_cursor.col = col; -- cgit