From cde679e435ade757733772236abf299fc06da231 Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Mon, 22 May 2023 14:35:25 +0100 Subject: refactor: rewrite installation using jobs and async Replace sync variants with callback support --- doc/nvim-treesitter.txt | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'doc') diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 7054121b5..a7c6bfa69 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -38,16 +38,13 @@ To install supported parsers and queries, put this in your `init.lua` file: >lua require'nvim-treesitter.configs'.setup { - -- A directory to install the parsers into. + -- A directory to install the parsers and queries to. -- Defaults to the `stdpath('data')/site` dir. install_dir = "/some/path/to/store/parsers", -- A list of parser names, or "core", "stable", "community", "unstable" ensure_install = { "core", "rust" }, - -- Install parsers synchronously (only applied to `ensure_installed`) - sync_install = false, - -- Automatically install missing parsers when entering buffer auto_install = false, @@ -66,10 +63,6 @@ COMMANDS *nvim-treesitter-commands* Install one or more treesitter parsers. You can use |:TSInstall| `all` to install all parsers. Use |:TSInstall!| to force the reinstallation of already installed parsers. - *:TSInstallSync* -:TSInstallSync {language} ... ~ - -Perform the |:TSInstall| operation synchronously. *:TSInstallInfo* :TSInstallInfo ~ @@ -83,11 +76,6 @@ Update the installed parser for one more {language} or all installed parsers if {language} is omitted. The specified parser is installed if it is not already installed. - *:TSUpdateSync* -:TSUpdateSync {language} ... ~ - -Perform the |:TSUpdate| operation synchronously. - *:TSUninstall* :TSUninstall {language} ... ~ -- cgit v1.2.3-70-g09d2