diff options
| author | kiyan42 <yazdani.kiyan@protonmail.com> | 2020-10-19 21:32:54 +0200 |
|---|---|---|
| committer | Kiyan Yazdani <yazdani.kiyan@protonmail.com> | 2020-10-19 21:41:57 +0200 |
| commit | f115d0ebaa7f7331ba2a98411f9cde18822cf7a5 (patch) | |
| tree | 2193cc8f319781842842bc4a466270300da12564 /README.md | |
| parent | 1735528db5866d4ccdf117fb7f4c7fd2b724e4db (diff) | |
update docs
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -75,6 +75,7 @@ provides two command to tackle this issue: - `TSInstall {language}` to install one or more parsers. `TSInstall <tab>` will give you a list of supported languages, or select `all` to install them all. - `TSInstallInfo` to know which parser is installed. +- `TSUpdate` to update already installed parsers Let's say you need parsers for `lua`, this is how you install it: @@ -153,6 +154,18 @@ require'nvim-treesitter.configs'.setup { } ``` +## Indentation + +Treesitter based indentation (`=` vim behavior) + +```lua +require'nvim-treesitter.config'.setup { + indent = { + enable = true + } +} +``` + # External modules Other modules can be installed as plugins. |
