diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-01 06:05:29 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-01 06:18:52 +0800 |
commit | c9ca90229b9b46782cad83502caaccaa7520dc0d (patch) | |
tree | 57f907f8587266cf46fe7979aacaab7a9d917641 /src/nvim/edit.c | |
parent | 68ec497d52bc8e93e12c74099ee9826b9469c3be (diff) | |
download | rneovim-c9ca90229b9b46782cad83502caaccaa7520dc0d.tar.gz rneovim-c9ca90229b9b46782cad83502caaccaa7520dc0d.tar.bz2 rneovim-c9ca90229b9b46782cad83502caaccaa7520dc0d.zip |
vim-patch:9.0.0124: code has more indent than needed
Problem: Code has more indent than needed.
Solution: Use continue and return statements. (closes vim/vim#10824)
https://github.com/vim/vim/commit/101d57b34b72f4fbc7df1b6edfd64c64a6be14fc
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 6658f69dda..e7a8f81813 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -4311,8 +4311,8 @@ static bool ins_start_select(int c) case K_S_DOWN: case K_S_END: case K_S_HOME: - // Start selection right away, the cursor can move with - // CTRL-O when beyond the end of the line. + // Start selection right away, the cursor can move with CTRL-O when + // beyond the end of the line. start_selection(); // Execute the key in (insert) Select mode. |