diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2023-05-22 14:35:25 +0100 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2025-05-12 18:43:40 +0200 |
| commit | cde679e435ade757733772236abf299fc06da231 (patch) | |
| tree | 1de16351d97974d189e2ea96780d73048f566f4d /doc/nvim-treesitter.txt | |
| parent | refactor: use vim.fs.joinpath (diff) | |
| download | nvim-treesitter-cde679e435ade757733772236abf299fc06da231.tar nvim-treesitter-cde679e435ade757733772236abf299fc06da231.tar.gz nvim-treesitter-cde679e435ade757733772236abf299fc06da231.tar.bz2 nvim-treesitter-cde679e435ade757733772236abf299fc06da231.tar.lz nvim-treesitter-cde679e435ade757733772236abf299fc06da231.tar.xz nvim-treesitter-cde679e435ade757733772236abf299fc06da231.tar.zst nvim-treesitter-cde679e435ade757733772236abf299fc06da231.zip | |
refactor: rewrite installation using jobs and async
Replace sync variants with callback support
Diffstat (limited to 'doc/nvim-treesitter.txt')
| -rw-r--r-- | doc/nvim-treesitter.txt | 14 |
1 files changed, 1 insertions, 13 deletions
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} ... ~ |
