diff options
author | James Trew <66286082+jamestrew@users.noreply.github.com> | 2024-10-03 10:45:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-03 03:45:51 -0700 |
commit | 385fbfb3e739b457027b469782678f86eefdf7fc (patch) | |
tree | 8e604da45cc3f172e60904631da5d16c64debee5 /runtime/doc/lua.txt | |
parent | c6abc97006eee7fc89baefad2e1bddb248187f2e (diff) | |
download | rneovim-385fbfb3e739b457027b469782678f86eefdf7fc.tar.gz rneovim-385fbfb3e739b457027b469782678f86eefdf7fc.tar.bz2 rneovim-385fbfb3e739b457027b469782678f86eefdf7fc.zip |
docs: improve luacats support #30580
Some composite/compound types even as basic as `(string|number)[]` are
not currently supported by the luacats LPEG grammar used by gen_vimdoc.
It would be parsed & rendered as just `string|number`.
Changeset adds better support for these types.
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index e793a97fe1..6269eb0c5b 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -752,8 +752,8 @@ vim.diff({a}, {b}, {opts}) *vim.diff()* the internal diff library. Return: ~ - (`string|integer[]`) See {opts.result_type}. `nil` if {opts.on_hunk} - is given. + (`string|integer[][]?`) See {opts.result_type}. `nil` if + {opts.on_hunk} is given. ============================================================================== |