diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-05-12 16:02:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 08:02:46 -0600 |
commit | a1b663cce861a76f78d65aa538426d0cf635c379 (patch) | |
tree | fa9e34b0021bca3922eb8ffa01f24a4a2a43a3f6 /runtime/lua/vim/lsp/log.lua | |
parent | 2bbd588e73c4c0c17e497fafd281ceba382b9e4d (diff) | |
download | rneovim-a1b663cce861a76f78d65aa538426d0cf635c379.tar.gz rneovim-a1b663cce861a76f78d65aa538426d0cf635c379.tar.bz2 rneovim-a1b663cce861a76f78d65aa538426d0cf635c379.zip |
build(lua2dox): add parenthesis around parameter types in documentation (#18532)
This will check if the string after the variable in a @param is either
"number", "string", "table", "boolean" and "function" and if so add a
parenthesis around it. This will help separate the variable type with
the following text. Had all our functions been annotated with emmylua
then a more robust solution might have been preferable (such as always
assuming the third string is parameter type without making any checks).
I believe however this is a clear improvement over the current situation
and will suffice for now.
Diffstat (limited to 'runtime/lua/vim/lsp/log.lua')
0 files changed, 0 insertions, 0 deletions