aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2025-01-13 15:48:02 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2025-01-30 13:46:06 +0100
commite71d2c817d1a2475551f58a98e411f6b39a5be3f (patch)
tree3aa4bb3f3740ab7e96ac66eb7fe71499eb0280af /runtime/lua/vim/treesitter
parent86ae59c6128641d8be612c3bdc9f4b190434c0d3 (diff)
downloadrneovim-e71d2c817d1a2475551f58a98e411f6b39a5be3f.tar.gz
rneovim-e71d2c817d1a2475551f58a98e411f6b39a5be3f.tar.bz2
rneovim-e71d2c817d1a2475551f58a98e411f6b39a5be3f.zip
docs: misc
Co-authored-by: Dustin S. <dstackmasta27@gmail.com> Co-authored-by: Ferenc Fejes <fejes@inf.elte.hu> Co-authored-by: Maria José Solano <majosolano99@gmail.com> Co-authored-by: Yochem van Rosmalen <git@yochem.nl> Co-authored-by: brianhuster <phambinhanctb2004@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim/treesitter')
-rw-r--r--runtime/lua/vim/treesitter/languagetree.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/treesitter/languagetree.lua b/runtime/lua/vim/treesitter/languagetree.lua
index 8ea1c44cdc..1f7872715f 100644
--- a/runtime/lua/vim/treesitter/languagetree.lua
+++ b/runtime/lua/vim/treesitter/languagetree.lua
@@ -523,7 +523,7 @@ end
--- only the root tree without injections).
--- @param on_parse fun(err?: string, trees?: table<integer, TSTree>)? Function invoked when parsing completes.
--- When provided and `vim.g._ts_force_sync_parsing` is not set, parsing will run
---- asynchronously. The first argument to the function is a string respresenting the error type,
+--- asynchronously. The first argument to the function is a string representing the error type,
--- in case of a failure (currently only possible for timeouts). The second argument is the list
--- of trees returned by the parse (upon success), or `nil` if the parse timed out (determined
--- by 'redrawtime').