aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-01 06:05:29 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-08-01 06:18:52 +0800
commitc9ca90229b9b46782cad83502caaccaa7520dc0d (patch)
tree57f907f8587266cf46fe7979aacaab7a9d917641 /src/nvim/ex_cmds.c
parent68ec497d52bc8e93e12c74099ee9826b9469c3be (diff)
downloadrneovim-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/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index c765b1652d..5ff1a9dd47 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -5793,6 +5793,7 @@ static void do_helptags(char *dirname, bool add_help_tags, bool ignore_writeerr)
if (len <= 4) {
continue;
}
+
if (STRICMP(files[i] + len - 4, ".txt") == 0) {
// ".txt" -> language "en"
lang[0] = 'e';