aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-06-27 20:31:16 +0200
committerGitHub <noreply@github.com>2020-06-27 20:31:16 +0200
commitaa4746c72299e599f976bc3bc8adf351b5bca16c (patch)
tree0df782791e366fb98052f29141265c98368de269
parenthighlight: use custom highlight groups (diff)
parentupdate docs for TSInstall (diff)
downloadnvim-treesitter-aa4746c72299e599f976bc3bc8adf351b5bca16c.tar
nvim-treesitter-aa4746c72299e599f976bc3bc8adf351b5bca16c.tar.gz
nvim-treesitter-aa4746c72299e599f976bc3bc8adf351b5bca16c.tar.bz2
nvim-treesitter-aa4746c72299e599f976bc3bc8adf351b5bca16c.tar.lz
nvim-treesitter-aa4746c72299e599f976bc3bc8adf351b5bca16c.tar.xz
nvim-treesitter-aa4746c72299e599f976bc3bc8adf351b5bca16c.tar.zst
nvim-treesitter-aa4746c72299e599f976bc3bc8adf351b5bca16c.zip
Merge pull request #115 from kyazdani42/doc/update-install-doc
update docs for TSInstall
-rw-r--r--README.md2
-rw-r--r--doc/nvim-treesitter.txt5
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 9c8a97d33..54d17abce 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ $ git clone https://github.com/nvim-treesitter/nvim-treesitter.git
Treesitter is using a different _parser_ for every language. It can be quite a pain to install, but fortunately `nvim-treesitter`
provides two command to tackle this issue:
- - `TSInstall` to install a given parser.
+ - `TSInstall` to install one or more parser. You can use `TSInstall all` to download all parsers.
- `TSInstallInfo` to know which parser is installed.
Let's say you need parsers for `lua`, `c`, and `python`, this is how you do with these commands:
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt
index 5a3a4ce11..67e9f7581 100644
--- a/doc/nvim-treesitter.txt
+++ b/doc/nvim-treesitter.txt
@@ -52,9 +52,10 @@ By default, everything is disabled. To enable support for features, in your `ini
==============================================================================
COMMANDS *nvim-treesitter-commands*
-|:TSInstall| {language} *:TSInstall*
+|:TSInstall| {language} ... *:TSInstall*
-Download, compile and install a parser for {language}
+Install one or more treesitter parsers.
+You can use |:TSInstall| `all` to install all parsers.
|:TSInstallInfo| *:TSInstallInfo*