aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/nvim-treesitter.txt21
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}~