mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 22:35:33 +00:00
docs: json, tests, lsp #35754
Close #35926 Close #35818 Co-authored-by: skewb1k <skewb1kunix@gmail.com> Co-authored-by: glepnir <glephunter@gmail.com>
This commit is contained in:
28
runtime/lua/vim/_meta/vimfn.lua
generated
28
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -5697,7 +5697,7 @@ function vim.fn.mapset(dict) end
|
||||
--- @param pat string
|
||||
--- @param start? integer
|
||||
--- @param count? integer
|
||||
--- @return any
|
||||
--- @return integer
|
||||
function vim.fn.match(expr, pat, start, count) end
|
||||
|
||||
--- Defines a pattern to be highlighted in the current window (a
|
||||
@@ -5761,8 +5761,8 @@ function vim.fn.match(expr, pat, start, count) end
|
||||
--- @param pattern string
|
||||
--- @param priority? integer
|
||||
--- @param id? integer
|
||||
--- @param dict? string
|
||||
--- @return any
|
||||
--- @param dict? table
|
||||
--- @return integer
|
||||
function vim.fn.matchadd(group, pattern, priority, id, dict) end
|
||||
|
||||
--- Same as |matchadd()|, but requires a list of positions {pos}
|
||||
@@ -5805,8 +5805,8 @@ function vim.fn.matchadd(group, pattern, priority, id, dict) end
|
||||
--- @param pos any[]
|
||||
--- @param priority? integer
|
||||
--- @param id? integer
|
||||
--- @param dict? string
|
||||
--- @return any
|
||||
--- @param dict? table
|
||||
--- @return integer|table
|
||||
function vim.fn.matchaddpos(group, pos, priority, id, dict) end
|
||||
|
||||
--- Selects the {nr} match item, as set with a |:match|,
|
||||
@@ -5821,7 +5821,7 @@ function vim.fn.matchaddpos(group, pos, priority, id, dict) end
|
||||
--- to three matches. |matchadd()| does not have this limitation.
|
||||
---
|
||||
--- @param nr integer
|
||||
--- @return any
|
||||
--- @return string[]
|
||||
function vim.fn.matcharg(nr) end
|
||||
|
||||
--- Returns the |List| of matches in lines from {lnum} to {end} in
|
||||
@@ -5872,7 +5872,7 @@ function vim.fn.matcharg(nr) end
|
||||
--- @param lnum string|integer
|
||||
--- @param end_ string|integer
|
||||
--- @param dict? table
|
||||
--- @return any
|
||||
--- @return string[]
|
||||
function vim.fn.matchbufline(buf, pat, lnum, end_, dict) end
|
||||
|
||||
--- Deletes a match with ID {id} previously defined by |matchadd()|
|
||||
@@ -5909,7 +5909,7 @@ function vim.fn.matchdelete(id, win) end
|
||||
--- @param pat string
|
||||
--- @param start? integer
|
||||
--- @param count? integer
|
||||
--- @return any
|
||||
--- @return integer
|
||||
function vim.fn.matchend(expr, pat, start, count) end
|
||||
|
||||
--- If {list} is a list of strings, then returns a |List| with all
|
||||
@@ -5977,7 +5977,7 @@ function vim.fn.matchend(expr, pat, start, count) end
|
||||
--- @param list any[]
|
||||
--- @param str string
|
||||
--- @param dict? table
|
||||
--- @return any
|
||||
--- @return table
|
||||
function vim.fn.matchfuzzy(list, str, dict) end
|
||||
|
||||
--- Same as |matchfuzzy()|, but returns the list of matched
|
||||
@@ -6004,7 +6004,7 @@ function vim.fn.matchfuzzy(list, str, dict) end
|
||||
--- @param list any[]
|
||||
--- @param str string
|
||||
--- @param dict? table
|
||||
--- @return any
|
||||
--- @return table
|
||||
function vim.fn.matchfuzzypos(list, str, dict) end
|
||||
|
||||
--- Same as |match()|, but return a |List|. The first item in the
|
||||
@@ -6022,7 +6022,7 @@ function vim.fn.matchfuzzypos(list, str, dict) end
|
||||
--- @param pat string
|
||||
--- @param start? integer
|
||||
--- @param count? integer
|
||||
--- @return any
|
||||
--- @return string[]
|
||||
function vim.fn.matchlist(expr, pat, start, count) end
|
||||
|
||||
--- Same as |match()|, but return the matched string. Example: >vim
|
||||
@@ -6041,7 +6041,7 @@ function vim.fn.matchlist(expr, pat, start, count) end
|
||||
--- @param pat string
|
||||
--- @param start? integer
|
||||
--- @param count? integer
|
||||
--- @return any
|
||||
--- @return string
|
||||
function vim.fn.matchstr(expr, pat, start, count) end
|
||||
|
||||
--- Returns the |List| of matches in {list} where {pat} matches.
|
||||
@@ -6079,7 +6079,7 @@ function vim.fn.matchstr(expr, pat, start, count) end
|
||||
--- @param list string[]
|
||||
--- @param pat string
|
||||
--- @param dict? table
|
||||
--- @return any
|
||||
--- @return string[]
|
||||
function vim.fn.matchstrlist(list, pat, dict) end
|
||||
|
||||
--- Same as |matchstr()|, but return the matched string, the start
|
||||
@@ -6103,7 +6103,7 @@ function vim.fn.matchstrlist(list, pat, dict) end
|
||||
--- @param pat string
|
||||
--- @param start? integer
|
||||
--- @param count? integer
|
||||
--- @return any
|
||||
--- @return table
|
||||
function vim.fn.matchstrpos(expr, pat, start, count) end
|
||||
|
||||
--- Return the maximum value of all items in {expr}. Example: >vim
|
||||
|
||||
Reference in New Issue
Block a user