Change builtin tparam aliases to expand to full type names
'@int' now means '@tparam integer' instead of '@tparam int'. '@bool' now means '@tparam boolean' instead of '@tparam bool'. '@func' now means '@tparam function' instead of '@tparam func'. '@tab' now means '@tparam table' instead of '@tparam tab'.
This commit is contained in:
parent
3e573f4edd
commit
deec0f1a69
8
ldoc.lua
8
ldoc.lua
|
@ -195,10 +195,10 @@ ldoc.alias ('error',doc.error_macro)
|
|||
|
||||
ldoc.tparam_alias 'string'
|
||||
ldoc.tparam_alias 'number'
|
||||
ldoc.tparam_alias 'int'
|
||||
ldoc.tparam_alias 'bool'
|
||||
ldoc.tparam_alias 'func'
|
||||
ldoc.tparam_alias 'tab'
|
||||
ldoc.tparam_alias('int', 'integer')
|
||||
ldoc.tparam_alias('bool', 'boolean')
|
||||
ldoc.tparam_alias('func', 'function')
|
||||
ldoc.tparam_alias('tab', 'table')
|
||||
ldoc.tparam_alias 'thread'
|
||||
|
||||
function ldoc.add_language_extension(ext, lang)
|
||||
|
|
Loading…
Reference in New Issue