aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/inlay_hint.lua
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2025-02-21 16:31:56 -0800
committerChristian Clason <ch.clason+github@icloud.com>2025-02-23 17:12:58 +0100
commit0c9c140f91c97dfacf8648a5fee90b06d8c50bbc (patch)
tree62ceed3bf60e23dce0d2b199c90b6f520b7ed8ab /runtime/lua/vim/lsp/inlay_hint.lua
parentf398e3a61abbf802b49867d2f533be1b0725c0d7 (diff)
downloadrneovim-0c9c140f91c97dfacf8648a5fee90b06d8c50bbc.tar.gz
rneovim-0c9c140f91c97dfacf8648a5fee90b06d8c50bbc.tar.bz2
rneovim-0c9c140f91c97dfacf8648a5fee90b06d8c50bbc.zip
refactor(treesitter): simplify parsing coroutine logic
Lua coroutines can yield across non-coroutine function boundaries, meaning that we don't need to wrap each helper function in a coroutine and resume it within `_parse()`. If we just have them yield when appropriate, this will be caught by the top level `_parse()` coroutine, and resuming the `_parse()` will resume from the position in the helper function where we yielded last.
Diffstat (limited to 'runtime/lua/vim/lsp/inlay_hint.lua')
0 files changed, 0 insertions, 0 deletions