diff options
author | dundargoc <gocdundar@gmail.com> | 2023-10-20 15:10:33 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-10-23 20:06:21 +0200 |
commit | 5f03a1eaabfc8de2b3a9c666fcd604763f41e152 (patch) | |
tree | 2a4e38bf7ac44749bd876d5e4d822f8ac604c2ae /src/nvim/textformat.c | |
parent | e606604322815abd3dc91a5595a0aa976a9aded7 (diff) | |
download | rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.tar.gz rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.tar.bz2 rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.zip |
build(lint): remove unnecessary clint.py rules
Uncrustify is the source of truth where possible.
Remove any redundant checks from clint.py.
Diffstat (limited to 'src/nvim/textformat.c')
-rw-r--r-- | src/nvim/textformat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/textformat.c b/src/nvim/textformat.c index f2b30fd14b..105b75f224 100644 --- a/src/nvim/textformat.c +++ b/src/nvim/textformat.c @@ -76,7 +76,7 @@ void internal_format(int textwidth, int second_indent, int flags, bool format_on bool haveto_redraw = false; const bool fo_ins_blank = has_format_option(FO_INS_BLANK); const bool fo_multibyte = has_format_option(FO_MBYTE_BREAK); - const bool fo_rigor_tw = has_format_option(FO_RIGOROUS_TW); + const bool fo_rigor_tw = has_format_option(FO_RIGOROUS_TW); const bool fo_white_par = has_format_option(FO_WHITE_PAR); bool first_line = true; colnr_T leader_len; @@ -309,7 +309,7 @@ void internal_format(int textwidth, int second_indent, int flags, bool format_on col = curwin->w_cursor.col; inc_cursor(); - cc = ncc; + cc = ncc; ncc = gchar_cursor(); // handle insert ncc = (ncc != NUL) ? ncc : c; |