aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/userfunc.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-06 17:40:52 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-06 18:03:57 +0200
commitd0897243f6a6bb802fc9622486afd69eb65fa6d5 (patch)
treef1a7f276abea3255a33bff342123177873b2daca /src/nvim/eval/userfunc.c
parentd9ec57e16a13f66a4b17edd872786e2c67348752 (diff)
downloadrneovim-d0897243f6a6bb802fc9622486afd69eb65fa6d5.tar.gz
rneovim-d0897243f6a6bb802fc9622486afd69eb65fa6d5.tar.bz2
rneovim-d0897243f6a6bb802fc9622486afd69eb65fa6d5.zip
build(clint): remove "function size is too large" warning
This warning is essentially only triggered for ported vim functions. It's unlikely that we'll refactor vim functions solely based on their size since it'd mean we'd greatly deviate from vim, which is a high cost when it comes to importing the vim patches. Thus, this warning only serves as an annoyance and should be removed.
Diffstat (limited to 'src/nvim/eval/userfunc.c')
-rw-r--r--src/nvim/eval/userfunc.c2
1 files changed, 1 insertions, 1 deletions
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:".