diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-03-17 06:21:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 13:21:24 +0800 |
commit | d238b8f6003d34cae7f65ff7585b48a2cd9449fb (patch) | |
tree | 743b7bf9e15c0587c09dff05a84468114db664e4 /src/nvim/edit.c | |
parent | 746a29c58041e0470a4e8f9446378caba32f037c (diff) | |
download | rneovim-d238b8f6003d34cae7f65ff7585b48a2cd9449fb.tar.gz rneovim-d238b8f6003d34cae7f65ff7585b48a2cd9449fb.tar.bz2 rneovim-d238b8f6003d34cae7f65ff7585b48a2cd9449fb.zip |
chore: fix typos (#17670)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 095e082f61..2e36962a4d 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -5116,10 +5116,10 @@ static int ins_complete(int c, bool enable_pum) || ctrl_x_mode == CTRL_X_PATH_PATTERNS || ctrl_x_mode == CTRL_X_PATH_DEFINES) { if (compl_startpos.lnum != curwin->w_cursor.lnum) { - /* line (probably) wrapped, set compl_startpos to the - * first non_blank in the line, if it is not a wordchar - * include it to get a better pattern, but then we don't - * want the "\\<" prefix, check it bellow */ + // line (probably) wrapped, set compl_startpos to the + // first non_blank in the line, if it is not a wordchar + // include it to get a better pattern, but then we don't + // want the "\\<" prefix, check it below. compl_col = (colnr_T)getwhitecols(line); compl_startpos.col = compl_col; compl_startpos.lnum = curwin->w_cursor.lnum; |