aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/treesitter.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-07-08 00:28:44 +0200
committerGitHub <noreply@github.com>2021-07-07 15:28:44 -0700
commit4547137aaff32b20172870a549d3a28a3c7adf1c (patch)
tree0f40a62b3741c57a6f5759dc25f8932a26922908 /src/nvim/lua/treesitter.c
parente2bc7e321b4a8bec3727cf342a84eb1e85dadbc8 (diff)
downloadrneovim-4547137aaff32b20172870a549d3a28a3c7adf1c.tar.gz
rneovim-4547137aaff32b20172870a549d3a28a3c7adf1c.tar.bz2
rneovim-4547137aaff32b20172870a549d3a28a3c7adf1c.zip
chore: use codespell to spell check #15016
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 e3fa48f530..1425baacf0 100644
--- a/src/nvim/lua/treesitter.c
+++ b/src/nvim/lua/treesitter.c
@@ -384,7 +384,7 @@ static int parser_parse(lua_State *L)
// Sometimes parsing fails (timeout, or wrong parser ABI)
// In those case, just return an error.
if (!new_tree) {
- return luaL_error(L, "An error occured when parsing.");
+ return luaL_error(L, "An error occurred when parsing.");
}
// The new tree will be pushed to the stack, without copy, owwership is now to