aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim')
-rw-r--r--src/nvim/buffer.c2
-rw-r--r--src/nvim/change.c2
-rw-r--r--src/nvim/eval/userfunc.c2
-rw-r--r--src/nvim/ex_cmds.c2
-rw-r--r--src/nvim/ex_docmd.c2
-rw-r--r--src/nvim/ops.c2
-rw-r--r--src/nvim/option.c2
-rw-r--r--src/nvim/screen.c2
-rw-r--r--src/nvim/viml/parser/expressions.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 1ae1811772..9759bdb46e 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -4544,7 +4544,7 @@ int build_stl_str_hl(win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use
}
return width;
-} // NOLINT(readability/fn_size)
+}
/// Get relative cursor position in window into "buf[buflen]", in the form 99%,
/// using "Top", "Bot" or "All" when appropriate.
diff --git a/src/nvim/change.c b/src/nvim/change.c
index 2d5ece8880..df7a7a00a9 100644
--- a/src/nvim/change.c
+++ b/src/nvim/change.c
@@ -1802,7 +1802,7 @@ theend:
xfree(next_line);
xfree(allocated);
return retval;
-} // NOLINT(readability/fn_size)
+}
/// Delete from cursor to end of line.
/// Caller must have prepared for undo.
diff --git a/src/nvim/eval/userfunc.c b/src/nvim/eval/userfunc.c
index 2dd022630a..c518b11a65 100644
--- a/src/nvim/eval/userfunc.c
+++ b/src/nvim/eval/userfunc.c
@@ -2586,7 +2586,7 @@ ret_free:
if (show_block) {
ui_ext_cmdline_block_leave();
}
-} // NOLINT(readability/fn_size)
+}
/// @return 5 if "p" starts with "<SID>" or "<SNR>" (ignoring case).
/// 2 if "p" starts with "s:".
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index abadd21a1a..5b831a21c0 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -4467,7 +4467,7 @@ skip:
return preview_buf;
#undef ADJUST_SUB_FIRSTLNUM
#undef PUSH_PREVIEW_LINES
-} // NOLINT(readability/fn_size)
+}
/// Give message for number of substitutions.
/// Can also be used after a ":global" command.
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 116264b4c1..d2b833305b 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -2219,7 +2219,7 @@ doend:
--ex_nesting_level;
return ea.nextcmd;
-} // NOLINT(readability/fn_size)
+}
static char ex_error_buf[MSG_BUF_LEN];
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index 7e5840e444..f7a3201568 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -3761,7 +3761,7 @@ end:
// If the cursor is past the end of the line put it at the end.
adjust_cursor_eol();
-} // NOLINT(readability/fn_size)
+}
/*
* When the cursor is on the NUL past the end of the line and it should not be
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 16c4abfa2a..9be55b91b4 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -3382,7 +3382,7 @@ ambw_end:
check_redraw(options[opt_idx].flags);
return errmsg;
-} // NOLINT(readability/fn_size)
+}
/// Simple int comparison function for use with qsort()
static int int_cmp(const void *a, const void *b)
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 384f2995ee..910cf335ca 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -1748,7 +1748,7 @@ static void win_update(win_T *wp, DecorProviders *providers)
if (!got_int) {
got_int = save_got_int;
}
-} // NOLINT(readability/fn_size)
+}
/// Returns width of the signcolumn that should be used for the whole window
///
diff --git a/src/nvim/viml/parser/expressions.c b/src/nvim/viml/parser/expressions.c
index 01fc282891..2693093f4a 100644
--- a/src/nvim/viml/parser/expressions.c
+++ b/src/nvim/viml/parser/expressions.c
@@ -3067,7 +3067,7 @@ viml_pexpr_parse_end:
}
kvi_destroy(ast_stack);
return ast;
-} // NOLINT(readability/fn_size)
+}
#undef NEW_NODE
#undef HL