aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/treesitter.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-09-30 09:53:52 +0200
committerGitHub <noreply@github.com>2022-09-30 09:53:52 +0200
commitdf646572c53f55268a5dbb61628d7c3b302d5663 (patch)
tree2b4dc98b294e8faae446c21181d48c47a22b54aa /src/nvim/lua/treesitter.c
parent9cf252e12153aa8bf657631a8ed2b83888948fb0 (diff)
downloadrneovim-df646572c53f55268a5dbb61628d7c3b302d5663.tar.gz
rneovim-df646572c53f55268a5dbb61628d7c3b302d5663.tar.bz2
rneovim-df646572c53f55268a5dbb61628d7c3b302d5663.zip
docs: fix typos (#20394)
Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/lua/treesitter.c')
-rw-r--r--src/nvim/lua/treesitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/treesitter.c b/src/nvim/lua/treesitter.c
index 64cace9ab4..79b11eca4a 100644
--- a/src/nvim/lua/treesitter.c
+++ b/src/nvim/lua/treesitter.c
@@ -1369,7 +1369,7 @@ static int query_inspect(lua_State *L)
lua_rawseti(L, -2, nextitem++); // [retval, patterns, pat, pred]
}
// last predicate should have ended with TypeDone
- lua_pop(L, 1); // [retval, patters, pat]
+ lua_pop(L, 1); // [retval, patterns, pat]
lua_rawseti(L, -2, (int)i + 1); // [retval, patterns]
}
lua_setfield(L, -2, "patterns"); // [retval]