docs(treesitter): clean up and update treesitter.txt (#20142)

* add type annotations to code
* clean up and expand static documentation
* consistent use of tags for static and generated docs
This commit is contained in:
Christian Clason
2022-09-14 11:08:31 +02:00
committed by GitHub
parent 8b0b0a5c32
commit ddb762f401
10 changed files with 581 additions and 531 deletions

View File

@@ -720,7 +720,7 @@ end
---
--- They mimic defaultdict in python.
---
--- If @p create is @c nil, this will create a defaulttable whose constructor function is
--- If {create} is `nil`, this will create a defaulttable whose constructor function is
--- this function, effectively allowing to create nested tables on the fly:
---
--- <pre>