patch 9.1.1848: A few typos in the code
Commit:
https://github.com/vim/vim/commit/fa8879d7e028f9689bc20db9a3e28615a2100e91
Author: zeertzjq <[email protected]>
Date: Sun Oct 12 14:14:46 2025 +0000
patch 9.1.1848: A few typos in the code
Problem: A few typos in the code
Solution: Fix typos (zeertzjq)
closes: #18550
Signed-off-by: zeertzjq <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/change.c b/src/change.c
index 527d2cc8c..eadcfd0e2 100644
--- a/src/change.c
+++ b/src/change.c
@@ -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;
}
diff --git a/src/insexpand.c b/src/insexpand.c
index 42da99ad6..214395f55 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -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)
diff --git a/src/version.c b/src/version.c
index 2dd8c9764..a2f10f911 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1848,
/**/
1847,
/**/
diff --git a/src/wayland.c b/src/wayland.c
index 6d28cbc25..36ccf6668 100644
--- a/src/wayland.c
+++ b/src/wayland.c
@@ -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 *
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1v7x5L-00AHND-EK%40256bit.org.