diff src/cmdexpand.c @ 33006:29b2193466e0 v9.0.1795

patch 9.0.1795: Indentation issues Commit: https://github.com/vim/vim/commit/d4e4ecbb3793cd45b645471966c1ac703be52f4a Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Aug 27 18:35:45 2023 +0200 patch 9.0.1795: Indentation issues Problem: Indentation issues Solution: Fix code indentation issues. closes: #12906 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2023 18:45:05 +0200
parents 6e346800670c
children 55fefd9848e3
line wrap: on
line diff
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -4022,7 +4022,7 @@ f_getcompletion(typval_T *argvars, typva
     {
 	xpc.xp_pattern = pat;
 	xpc.xp_pattern_len = (int)STRLEN(xpc.xp_pattern);
-        xpc.xp_line = pat;
+	xpc.xp_line = pat;
 
 	xpc.xp_context = cmdcomplete_str_to_type(type);
 	if (xpc.xp_context == EXPAND_NOTHING)
@@ -4033,26 +4033,26 @@ f_getcompletion(typval_T *argvars, typva
 
 	if (xpc.xp_context == EXPAND_USER_DEFINED)
 	{
-            // Must be "custom,funcname" pattern
-            if (STRNCMP(type, "custom,", 7) != 0)
-            {
-                semsg(_(e_invalid_argument_str), type);
-                return;
-            }
-
-            xpc.xp_arg = type + 7;
+	    // Must be "custom,funcname" pattern
+	    if (STRNCMP(type, "custom,", 7) != 0)
+	    {
+		semsg(_(e_invalid_argument_str), type);
+		return;
+	    }
+
+	    xpc.xp_arg = type + 7;
 	}
 
 	if (xpc.xp_context == EXPAND_USER_LIST)
 	{
-            // Must be "customlist,funcname" pattern
-            if (STRNCMP(type, "customlist,", 11) != 0)
-            {
-                semsg(_(e_invalid_argument_str), type);
-                return;
-            }
-
-            xpc.xp_arg = type + 11;
+	    // Must be "customlist,funcname" pattern
+	    if (STRNCMP(type, "customlist,", 11) != 0)
+	    {
+		semsg(_(e_invalid_argument_str), type);
+		return;
+	    }
+
+	    xpc.xp_arg = type + 11;
 	}
 
 # if defined(FEAT_MENU)