diff options
| author | Kiyan Yazdani <yazdani.kiyan@protonmail.com> | 2020-05-07 13:58:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-07 13:58:12 +0200 |
| commit | 096ca6b0689fe04400ed65420f15794d3e88bfa9 (patch) | |
| tree | 15d220a3581f2ceb24ab4fac079bdd5560efe62f /doc | |
| parent | 5cc7407c7f730c552120fc7d7d9a136ae6b7035f (diff) | |
| parent | 703ccbec594219e0331c434ee57a0a48c92b280e (diff) | |
Merge pull request #44 from vigoux/statusline
Provide a statusline indicator
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nvim-treesitter.txt | 13 | ||||
| -rw-r--r-- | doc/tags | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index ceb834be..084936ba 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -97,5 +97,16 @@ A list of languages can be found at |:TSInstallInfo| List modules state for the current session. - vim:tw=78:ts=8:noet:ft=help:norl: +============================================================================== +FUNCTIONS~ + *nvim-treesitter-functions* + +|nvim_treesitter#statusline(size)| + *nvim_treesitter#statusline()* +Returns a string describing the current position in the syntax tree. This +could be used as a statusline indicator. +Note: The `size` argument is optionnal. When specified, the string will not be + longer than `size`. + + vim:tw=78:ts=8:noet:ft=help:norl: @@ -7,5 +7,7 @@ :TSModuleInfo nvim-treesitter.txt /*:TSModuleInfo* nvim-treesitter nvim-treesitter.txt /*nvim-treesitter* nvim-treesitter-commands nvim-treesitter.txt /*nvim-treesitter-commands* +nvim-treesitter-functions nvim-treesitter.txt /*nvim-treesitter-functions* nvim-treesitter-intro nvim-treesitter.txt /*nvim-treesitter-intro* nvim-treesitter-quickstart nvim-treesitter.txt /*nvim-treesitter-quickstart* +nvim_treesitter#statusline() nvim-treesitter.txt /*nvim_treesitter#statusline()* |
