summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkiyan42 <yazdani.kiyan@protonmail.com>2020-06-19 13:51:09 +0200
committerkiyan42 <yazdani.kiyan@protonmail.com>2020-06-19 14:03:01 +0200
commitcabe61ac19a2d0377a46ef48499eb292e12ae5fb (patch)
tree9b1ae62bb6bd12550e09d6edb0d444c8a509aeb0 /README.md
parent38af29a912a607d3d703f57b840bfc61671679cc (diff)
update docs
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 4 insertions, 10 deletions
diff --git a/README.md b/README.md
index 33ce5d97..b2193103 100644
--- a/README.md
+++ b/README.md
@@ -131,19 +131,13 @@ Some of these features are :
You can find the roadmap [here](https://github.com/nvim-treesitter/nvim-treesitter/projects/1).
The roadmap and all features of this plugin are open to change, and any suggestion will be highly appreciated!
-## Api
+## Utils
-Nvim-treesitter exposes an api to extend node capabilites. You can retrieve the api like this:
+you can get some utility functions with
```lua
-local ts_node_api = require 'nvim-treesitter'.get_node_api()
+local ts_utils = require 'nvim-treesitter.ts_utils'
```
-
-You can also retrieve the current state of the current buffer with:
-```lua
-local buf_state = require'nvim-treesitter'.get_buf_state()
-```
-
-More information is available in neovim documentation (`:help nvim-treesitter-api`).
+More information is available in neovim documentation (`:help nvim-treesitter-utils`).
## Supported Languages