]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1848: A few typos in the code v9.1.1848
authorzeertzjq <zeertzjq@outlook.com>
Sun, 12 Oct 2025 14:14:46 +0000 (14:14 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 12 Oct 2025 14:14:46 +0000 (14:14 +0000)
Problem:  A few typos in the code
Solution: Fix typos (zeertzjq)

closes: #18550

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/change.c
src/insexpand.c
src/version.c
src/wayland.c

index 527d2cc8c04d79104f290aa1d27d5847ad0851ea..eadcfd0e24de638e63f79d6887ca12cc1888839b 100644 (file)
@@ -156,7 +156,7 @@ static long next_listener_id = 0;
 
 // A flag that is set when any buffer listener housekeeping is required.
 // Currently the only condition is when a listener is marked for removal.
-static bool houskeeping_required;
+static bool housekeeping_required;
 
 /*
  * Remove a given listener_T entry from its containing list.
@@ -212,23 +212,23 @@ clean_listener_list(buf_T *buf, listener_T **list, bool all)
 }
 
 /*
- * Perform houskeeping tasks for buffer change listeners.
+ * Perform housekeeping tasks for buffer change listeners.
  *
- * This does nothing unless the "houskeeping_required" flag has been set.
+ * This does nothing unless the "housekeeping_required" flag has been set.
  */
     static void
 perform_listener_housekeeping(void)
 {
     buf_T      *buf;
 
-    if (houskeeping_required)
+    if (housekeeping_required)
     {
        FOR_ALL_BUFFERS(buf)
        {
            clean_listener_list(buf, &buf->b_listener, FALSE);
            clean_listener_list(NULL, &buf->b_sync_listener, FALSE);
        }
-       houskeeping_required = FALSE;
+       housekeeping_required = FALSE;
     }
 }
 
@@ -453,9 +453,9 @@ f_listener_remove(typval_T *argvars, typval_T *rettv)
        if (lnr != NULL)
        {
            // Clear the ID to indicate that the listener is unused flag
-           // houskeeping.
+           // housekeeping.
            lnr->lr_id = 0;
-           houskeeping_required = TRUE;
+           housekeeping_required = TRUE;
            rettv->vval.v_number = 1;
            return;
        }
index 42da99ad66935d1d6dc0f99533bb64a713db3f24..214395f55e18ed6cecd958dc7f9c065672e1c39b 100644 (file)
@@ -2489,7 +2489,7 @@ ins_compl_has_autocomplete(void)
 }
 
 /*
- * Cacluate fuzzy score and sort completion matches unless sorting is disabled.
+ * Calculate fuzzy score and sort completion matches unless sorting is disabled.
  */
     static void
 ins_compl_fuzzy_sort(void)
index 2dd8c9764a3ad66fa892dad72931a83ed016b44d..a2f10f91142501ebb989f55f0a976b01edbc6a2b 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1848,
 /**/
     1847,
 /**/
index 6d28cbc25741057d2372f60b76681ff0ef9a07ec..36ccf66682b7bc48b86c841bef2e6bb70bb66508 100644 (file)
@@ -738,7 +738,7 @@ wayland_prepare_read(void)
 }
 
 /*
- * Catch up on any qeueued events
+ * Catch up on any queued events
  */
     int
 wayland_update(void)
@@ -866,7 +866,7 @@ ex_wlrestore(exarg_T *eap)
 
 /*
  * Get a suitable data device manager from connection. "supported" should be
- * iniitialized to VWL_DATA_PROTOCOL_NONE beforehand. Returns NULL if there are
+ * initialized to VWL_DATA_PROTOCOL_NONE beforehand. Returns NULL if there are
  * no data device manager available with the required selection.
  */
     vwl_data_device_manager_T *