TSUpdate does not install if up to date

This commit is contained in:
Shane Hird 2021-06-24 23:20:29 +10:00 committed by Stephan Seitz
parent b46580fb66
commit 76ea2b8871
4 changed files with 126 additions and 88 deletions

View file

@ -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 of {language} or all installed parsers
if {language} is omitted.
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}~