aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/marktree.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-03-12 06:51:53 +0100
committerGitHub <noreply@github.com>2024-03-12 13:51:53 +0800
commita74e869ffa503cc9c2d21836e24fec7a7ffca147 (patch)
tree156cd105df32c5dfa1a572c34bdb739378e1d57f /src/nvim/marktree.c
parentac8cd5368db83cced9bc049ceb50c21cb8a4f743 (diff)
downloadrneovim-a74e869ffa503cc9c2d21836e24fec7a7ffca147.tar.gz
rneovim-a74e869ffa503cc9c2d21836e24fec7a7ffca147.tar.bz2
rneovim-a74e869ffa503cc9c2d21836e24fec7a7ffca147.zip
docs: small fixes (#27364)
Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com> Co-authored-by: Ynda Jas <yndajas@gmail.com> Co-authored-by: Owen Hines <TheOdd@users.noreply.github.com> Co-authored-by: Wanten <41904684+WantenMN@users.noreply.github.com> Co-authored-by: lukasvrenner <118417051+lukasvrenner@users.noreply.github.com> Co-authored-by: cuinix <915115094@qq.com>
Diffstat (limited to 'src/nvim/marktree.c')
-rw-r--r--src/nvim/marktree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/marktree.c b/src/nvim/marktree.c
index 0ebebf409e..34d6cd118f 100644
--- a/src/nvim/marktree.c
+++ b/src/nvim/marktree.c
@@ -460,7 +460,7 @@ static void meta_describe_key(uint32_t *meta_inc, MTKey k)
meta_describe_key_inc(meta_inc, &k);
}
-// if x is internal, asumes x->meta[..] of children are correct
+// if x is internal, assumes x->meta[..] of children are correct
static void meta_describe_node(uint32_t *meta_node, MTNode *x)
{
memset(meta_node, 0, kMTMetaCount * sizeof(meta_node[0]));
@@ -1425,7 +1425,7 @@ bool marktree_itr_get_ext(MarkTree *b, MTPos p, MarkTreeIter *itr, bool last, bo
}
if (meta_filter) {
if (!meta_has(itr->x->meta[itr->i], meta_filter)) {
- // this takes us to the interal position after the first rejected node
+ // this takes us to the internal position after the first rejected node
break;
}
}