mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
docs: add statusline indicator informations.
Also document newly added parsers by adding them in the readme.
This commit is contained in:
parent
7682a1a49f
commit
703ccbec59
3 changed files with 22 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue