mirror of
https://github.com/neovim/neovim.git
synced 2026-04-25 08:44:06 +00:00
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.
This commit is contained in:
@@ -182,8 +182,8 @@ function vim.str_utf_end(str, index) end
|
||||
--- that sequence.
|
||||
--- @param str string
|
||||
--- @param index? integer
|
||||
--- @return integer UTF-32 index
|
||||
--- @return integer UTF-16 index
|
||||
--- @return integer # UTF-32 index
|
||||
--- @return integer # UTF-16 index
|
||||
function vim.str_utfindex(str, index) end
|
||||
|
||||
--- The result is a String, which is the text {str} converted from
|
||||
|
||||
Reference in New Issue
Block a user