aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.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/buffer.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/buffer.c')
-rw-r--r--src/nvim/buffer.c2
1 files changed, 1 insertions, 1 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.