mirror of
https://github.com/neovim/neovim.git
synced 2026-02-17 00:54:15 +00:00
docs(docstrings): fix runtime type annotations
This commit is contained in:
@@ -107,9 +107,11 @@ end
|
||||
---
|
||||
---@see |vim.gsplit()|
|
||||
---
|
||||
---@alias split_kwargs {plain: boolean, trimempty: boolean} | boolean | nil
|
||||
---
|
||||
---@param s string String to split
|
||||
---@param sep string Separator or pattern
|
||||
---@param kwargs table Keyword arguments:
|
||||
---@param kwargs split_kwargs Keyword arguments:
|
||||
--- - plain: (boolean) If `true` use `sep` literally (passed to string.find)
|
||||
--- - trimempty: (boolean) If `true` remove empty items from the front
|
||||
--- and back of the list
|
||||
|
||||
Reference in New Issue
Block a user