diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-01-17 16:53:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 16:53:37 +0800 |
commit | b4d669e7acd819cd5723b387a5a79023994d438d (patch) | |
tree | 959745753350fb89d5079e105364c4081b0eb42a /src/nvim/edit.c | |
parent | 58f2dcfc887134f5ebc33c13d7ef5ce540f8a247 (diff) | |
download | rneovim-b4d669e7acd819cd5723b387a5a79023994d438d.tar.gz rneovim-b4d669e7acd819cd5723b387a5a79023994d438d.tar.bz2 rneovim-b4d669e7acd819cd5723b387a5a79023994d438d.zip |
vim-patch:8.2.4928: various white space and cosmetic mistakes (#21854)
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
https://github.com/vim/vim/commit/6ed545e79735f23ff8e650bc2f0967e5a0baedc9
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 36a8674730..6102f05abd 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -3661,8 +3661,7 @@ static bool ins_start_select(int c) static void ins_insert(int replaceState) { set_vim_var_string(VV_INSERTMODE, ((State & REPLACE_FLAG) ? "i" : - replaceState == MODE_VREPLACE ? "v" : - "r"), 1); + replaceState == MODE_VREPLACE ? "v" : "r"), 1); ins_apply_autocmds(EVENT_INSERTCHANGE); if (State & REPLACE_FLAG) { State = MODE_INSERT | (State & MODE_LANGMAP); |