mirror of
https://github.com/neovim/neovim.git
synced 2026-04-24 00:05:36 +00:00
docs: fix typos
Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com> Co-authored-by: himanoa <matsunoappy@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@ local M = {}
|
||||
---@class ModuleFindOpts
|
||||
---@field all? boolean Search for all matches (defaults to `false`)
|
||||
---@field rtp? boolean Search for modname in the runtime path (defaults to `true`)
|
||||
---@field patterns? string[] Paterns to use (defaults to `{"/init.lua", ".lua"}`)
|
||||
---@field patterns? string[] Patterns to use (defaults to `{"/init.lua", ".lua"}`)
|
||||
---@field paths? string[] Extra paths to search for modname
|
||||
|
||||
---@class ModuleInfo
|
||||
@@ -469,7 +469,7 @@ end
|
||||
---@class ProfileOpts
|
||||
---@field loaders? boolean Add profiling to the loaders
|
||||
|
||||
--- Debug function that wrapps all loaders and tracks stats
|
||||
--- Debug function that wraps all loaders and tracks stats
|
||||
---@private
|
||||
---@param opts ProfileOpts?
|
||||
function M._profile(opts)
|
||||
|
||||
@@ -655,7 +655,7 @@ end
|
||||
--- vim.validate{arg1={{'foo'}, {'table', 'string'}}, arg2={'foo', {'table', 'string'}}}
|
||||
--- --> NOP (success)
|
||||
---
|
||||
--- vim.validate{arg1={1, {'string', table'}}}
|
||||
--- vim.validate{arg1={1, {'string', 'table'}}}
|
||||
--- --> error('arg1: expected string|table, got number')
|
||||
---
|
||||
--- </pre>
|
||||
|
||||
@@ -68,7 +68,7 @@ function FoldInfo:add_stop(lnum)
|
||||
self.stop_counts[lnum] = (self.stop_counts[lnum] or 0) + 1
|
||||
end
|
||||
|
||||
---@packag
|
||||
---@package
|
||||
---@param lnum integer
|
||||
---@return integer
|
||||
function FoldInfo:get_start(lnum)
|
||||
|
||||
Reference in New Issue
Block a user