aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index eae29a25b..de2589c34 100644
--- a/README.md
+++ b/README.md
@@ -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.