diff options
| author | kiyan42 <yazdani.kiyan@protonmail.com> | 2020-08-17 00:21:34 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2020-08-17 17:48:33 +0200 |
| commit | 20e448882e1463958d13219d9418de9a4b73480b (patch) | |
| tree | befdbee884f0fea5e1ea80fad3b27abf37a9fbd7 /doc | |
| parent | Merge pull request #316 from TravonteD/fennel (diff) | |
| download | nvim-treesitter-20e448882e1463958d13219d9418de9a4b73480b.tar nvim-treesitter-20e448882e1463958d13219d9418de9a4b73480b.tar.gz nvim-treesitter-20e448882e1463958d13219d9418de9a4b73480b.tar.bz2 nvim-treesitter-20e448882e1463958d13219d9418de9a4b73480b.tar.lz nvim-treesitter-20e448882e1463958d13219d9418de9a4b73480b.tar.xz nvim-treesitter-20e448882e1463958d13219d9418de9a4b73480b.tar.zst nvim-treesitter-20e448882e1463958d13219d9418de9a4b73480b.zip | |
some refacto, doc fixes and jsx queries
- compute query language extensions *after* default ones
(jsx after javascript)
- remove outdated ts_utils functions from docs
- add better regex detection to javascript
- javascriptreact to use javascript queries
- add javascript.jsx to javascript queries
- write jsx.scm hl file
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nvim-treesitter.txt | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index ed992e2d9..5cec85c57 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -228,33 +228,6 @@ Returns the previous node within the same parent. `allow_switch_parent` and `allow_prev_parent` follow the same rule as |ts_utils.get_next_node| but if the node is the first node. - *ts_utils.containing_scope* -containing_scope(node)~ - -Returns the smallest scope containing the node. - - *ts_utils.parent_scope* -parent_scope(node, cursor_pos)~ - -Returns the parent scope of the current scope that contains the node. -`cursor_pos` should be `{ row = number, col = number }` - - *ts_utils.nested_scope* -nested_scope(node, cursor_pos)~ - -Returns the first scope within current scope that contains the node. -`cursor_pos` should be `{ row = number, col = number }` - - *ts_utils.next_scope* -next_scope(node)~ - -Returns the neighbour scope of the current node. - - *ts_utils.previous_scope* -previous_scope(node)~ - -Returns the previous neighbour scope of the current node. - ============================================================================== FUNCTIONS *nvim-treesitter-functions* |
