diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2021-03-30 16:40:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-30 16:40:29 -0400 |
| commit | 240cec9192802db4f166c092428087180e4d3214 (patch) | |
| tree | 22726ca9f25d60bd34029bdcf5406036946cc81a /runtime/doc | |
| parent | f89bfa68692540c2a28794297ce2ab63892de410 (diff) | |
| download | rneovim-240cec9192802db4f166c092428087180e4d3214.tar.gz rneovim-240cec9192802db4f166c092428087180e4d3214.tar.bz2 rneovim-240cec9192802db4f166c092428087180e4d3214.zip | |
ts: Add language version to vim.treesitter (#14255)
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/treesitter.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt index 1696d3b9ba..343f4a62c2 100644 --- a/runtime/doc/treesitter.txt +++ b/runtime/doc/treesitter.txt @@ -32,6 +32,12 @@ retained for the lifetime of a buffer but this is subject to change. A plugin should keep a reference to the parser object as long as it wants incremental updates. + *vim.treesitter.language_version* +To check which language version is compiled with neovim, the number is stored +within `vim.treesitter.language_version`. This number is not too helpful +unless you are wondering about compatibility between different versions of +compiled grammars. + Parser files *treesitter-parsers* Parsers are the heart of tree-sitter. They are libraries that tree-sitter will |