]> granicus.if.org Git - vim/commit
patch 9.0.1166: code is indented more than necessary v9.0.1166
authorYegappan Lakshmanan <yegappan@yahoo.com>
Mon, 9 Jan 2023 19:04:23 +0000 (19:04 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 9 Jan 2023 19:04:23 +0000 (19:04 +0000)
commit1cfb14aa972ccf3235ac67f07b7db1175b7c5384
treeb746eda548993b9e0987d7c9c0c543ddddc5758f
parent765d82a657c5e42d5d7c88ae410e53f398c34c43
patch 9.0.1166: code is indented more than necessary

Problem:    Code is indented more than necessary.
Solution:   Use an early return where it makes sense. (Yegappan Lakshmanan,
            closes #11792)
22 files changed:
src/autocmd.c
src/buffer.c
src/charset.c
src/cindent.c
src/clientserver.c
src/cmdexpand.c
src/debugger.c
src/dict.c
src/diff.c
src/digraph.c
src/edit.c
src/evalfunc.c
src/evalwindow.c
src/ex_cmds.c
src/ex_cmds2.c
src/ex_getln.c
src/filepath.c
src/findfile.c
src/fold.c
src/hardcopy.c
src/highlight.c
src/version.c