diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-11-07 10:21:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 10:21:44 +0000 |
commit | bdb98de2d16ce7185a0f53740e06511904fdd814 (patch) | |
tree | d7206b68750c35d0b31113d5d8ec94c2f3ad86eb /src/nvim/normal.c | |
parent | e9c1cb71f8a4d6d7818dcb5f71ac78bee431309a (diff) | |
download | rneovim-bdb98de2d16ce7185a0f53740e06511904fdd814.tar.gz rneovim-bdb98de2d16ce7185a0f53740e06511904fdd814.tar.bz2 rneovim-bdb98de2d16ce7185a0f53740e06511904fdd814.zip |
refactor: more clint (#20910)
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index d142af555a..d7e384334b 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -2266,7 +2266,7 @@ bool find_decl(char_u *ptr, size_t len, bool locally, bool thisblock, int flags_ // Put "\V" before the pattern to avoid that the special meaning of "." // and "~" causes trouble. assert(len <= INT_MAX); - sprintf((char *)pat, vim_iswordp(ptr) ? "\\V\\<%.*s\\>" : "\\V%.*s", + sprintf((char *)pat, vim_iswordp(ptr) ? "\\V\\<%.*s\\>" : "\\V%.*s", // NOLINT(runtime/printf) (int)len, ptr); old_pos = curwin->w_cursor; save_p_ws = p_ws; |