diff options
| author | Shane Hird <shane.hird@csgicorp.com> | 2021-06-24 23:20:29 +1000 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-04 14:59:13 +0200 |
| commit | 76ea2b8871d2d053da46a7202efec12020d9c76e (patch) | |
| tree | eebdea0393449030ba38b1fe1ae6c2fc54e3cc7e /doc | |
| parent | Use bang for TSInstall commands (diff) | |
| download | nvim-treesitter-76ea2b8871d2d053da46a7202efec12020d9c76e.tar nvim-treesitter-76ea2b8871d2d053da46a7202efec12020d9c76e.tar.gz nvim-treesitter-76ea2b8871d2d053da46a7202efec12020d9c76e.tar.bz2 nvim-treesitter-76ea2b8871d2d053da46a7202efec12020d9c76e.tar.lz nvim-treesitter-76ea2b8871d2d053da46a7202efec12020d9c76e.tar.xz nvim-treesitter-76ea2b8871d2d053da46a7202efec12020d9c76e.tar.zst nvim-treesitter-76ea2b8871d2d053da46a7202efec12020d9c76e.zip | |
TSUpdate does not install if up to date
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nvim-treesitter.txt | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 1d480cdb6..6a0a7629b 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -184,10 +184,15 @@ Supported options: COMMANDS *nvim-treesitter-commands* *:TSInstall* -:TSInstall| {language} ...~ +:TSInstall {language} ...~ Install one or more treesitter parsers. -You can use |:TSInstall| `all` to install all 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~ @@ -195,10 +200,16 @@ You can use |:TSInstall| `all` to install all parsers. List informations about currently installed parsers *:TSUpdate* -:TSUpdate {language}~ +:TSUpdate {language} ...~ + +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} ...~ -Update the installed parser of {language} or all installed parsers -if {language} is omitted. +Perform the |:TSUpdate| operation synchronously. *:TSUninstall* :TSUninstall {language}~ |
