Mercurial > vim
diff src/vim9class.c @ 35685:5c89a485e597 v9.1.0581
patch 9.1.0581: Various lines are indented inconsistently
Commit: https://github.com/vim/vim/commit/d9be94cf03dc123f1bd64531198bd7f52c986162
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Jul 14 10:20:20 2024 +0200
patch 9.1.0581: Various lines are indented inconsistently
Problem: style: Various lines are indented inconsistently
Solution: Retab these lines and correct some comments.
(zeertzjq)
closes: #15259
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 17 Jul 2024 08:13:32 +0200 |
parents | b39982468366 |
children | 3e5c832bba3f |
line wrap: on
line diff
--- a/src/vim9class.c +++ b/src/vim9class.c @@ -3101,7 +3101,7 @@ class_member_lookup(class_T *cl, char_u { ret_m = m; ret_idx = i; - break; + break; } } if (idx != NULL) @@ -3184,11 +3184,11 @@ object_member_lookup(class_T *cl, char_u } } else if (STRCMP(name, m->ocm_name) == 0) - { + { ret_m = m; ret_idx = i; - break; - } + break; + } } if (idx != NULL) *idx = ret_idx; @@ -3684,7 +3684,7 @@ method_not_found_msg(class_T *cl, vartyp } else semsg(_(e_method_not_found_on_class_str_str), method_name, - cl->class_name); + cl->class_name); vim_free(method_name); }