mirror of
https://github.com/neovim/neovim.git
synced 2026-04-04 14:49:31 +00:00
feat(treesitter): async parsing
**Problem:** Parsing can be slow for large files, and it is a blocking operation which can be disruptive and annoying. **Solution:** Provide a function for asynchronous parsing, which accepts a callback to be run after parsing completes. Co-authored-by: Lewis Russell <lewis6991@gmail.com> Co-authored-by: Luuk van Baal <luukvbaal@gmail.com> Co-authored-by: VanaIgr <vanaigranov@gmail.com>
This commit is contained in:
4
runtime/lua/vim/_meta/options.lua
generated
4
runtime/lua/vim/_meta/options.lua
generated
@@ -4845,8 +4845,8 @@ vim.go.redrawdebug = vim.o.redrawdebug
|
||||
vim.go.rdb = vim.go.redrawdebug
|
||||
|
||||
--- Time in milliseconds for redrawing the display. Applies to
|
||||
--- 'hlsearch', 'inccommand', `:match` highlighting and syntax
|
||||
--- highlighting.
|
||||
--- 'hlsearch', 'inccommand', `:match` highlighting, syntax highlighting,
|
||||
--- and async `LanguageTree:parse()`.
|
||||
--- When redrawing takes more than this many milliseconds no further
|
||||
--- matches will be highlighted.
|
||||
--- For syntax highlighting the time applies per window. When over the
|
||||
|
||||
Reference in New Issue
Block a user