docs: miscellaneous doc and type fixes (#25554)

This commit is contained in:
Maria José Solano 2023-10-09 15:34:48 -07:00 committed by GitHub
parent 81f67b79e8
commit c80a3976cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 11 deletions

View File

@ -2552,7 +2552,7 @@ A jump table for the options with a short description can be found at |Q_op|.
"auto": resize to the minimum amount of folds to display. "auto": resize to the minimum amount of folds to display.
"auto:[1-9]": resize to accommodate multiple folds up to the "auto:[1-9]": resize to accommodate multiple folds up to the
selected level selected level
0: to disable foldcolumn "0": to disable foldcolumn
"[1-9]": to display a fixed number of columns "[1-9]": to display a fixed number of columns
See |folding|. See |folding|.

View File

@ -1,4 +1,4 @@
--- @meta --- @meta _
-- THIS FILE IS GENERATED -- THIS FILE IS GENERATED
-- DO NOT EDIT -- DO NOT EDIT
error('Cannot require a meta file') error('Cannot require a meta file')

View File

@ -1,4 +1,4 @@
--- @meta --- @meta _
-- THIS FILE IS GENERATED -- THIS FILE IS GENERATED
-- DO NOT EDIT -- DO NOT EDIT
error('Cannot require a meta file') error('Cannot require a meta file')

View File

@ -1,4 +1,4 @@
--- @meta --- @meta _
-- THIS FILE IS GENERATED -- THIS FILE IS GENERATED
-- DO NOT EDIT -- DO NOT EDIT
error('Cannot require a meta file') error('Cannot require a meta file')
@ -2276,7 +2276,7 @@ vim.go.fcl = vim.go.foldclose
--- "auto": resize to the minimum amount of folds to display. --- "auto": resize to the minimum amount of folds to display.
--- "auto:[1-9]": resize to accommodate multiple folds up to the --- "auto:[1-9]": resize to accommodate multiple folds up to the
--- selected level --- selected level
--- 0: to disable foldcolumn --- "0": to disable foldcolumn
--- "[1-9]": to display a fixed number of columns --- "[1-9]": to display a fixed number of columns
--- See `folding`. --- See `folding`.
--- ---

View File

@ -1,4 +1,4 @@
--- @meta --- @meta _
-- THIS FILE IS GENERATED -- THIS FILE IS GENERATED
-- DO NOT EDIT -- DO NOT EDIT
error('Cannot require a meta file') error('Cannot require a meta file')
@ -8055,7 +8055,7 @@ function vim.fn.shellescape(string, special) end
--- will be assumed. --- will be assumed.
--- ---
--- @param col? integer --- @param col? integer
--- @return any --- @return integer
function vim.fn.shiftwidth(col) end function vim.fn.shiftwidth(col) end
--- @param name string --- @param name string

View File

@ -19,14 +19,14 @@ local DEP_API_DOC = 'runtime/doc/api.mpack'
--- @field since integer --- @field since integer
local LUA_META_HEADER = { local LUA_META_HEADER = {
'--- @meta', '--- @meta _',
'-- THIS FILE IS GENERATED', '-- THIS FILE IS GENERATED',
'-- DO NOT EDIT', '-- DO NOT EDIT',
"error('Cannot require a meta file')", "error('Cannot require a meta file')",
} }
local LUA_API_META_HEADER = { local LUA_API_META_HEADER = {
'--- @meta', '--- @meta _',
'-- THIS FILE IS GENERATED', '-- THIS FILE IS GENERATED',
'-- DO NOT EDIT', '-- DO NOT EDIT',
"error('Cannot require a meta file')", "error('Cannot require a meta file')",
@ -35,7 +35,7 @@ local LUA_API_META_HEADER = {
} }
local LUA_OPTION_META_HEADER = { local LUA_OPTION_META_HEADER = {
'--- @meta', '--- @meta _',
'-- THIS FILE IS GENERATED', '-- THIS FILE IS GENERATED',
'-- DO NOT EDIT', '-- DO NOT EDIT',
"error('Cannot require a meta file')", "error('Cannot require a meta file')",

View File

@ -9636,6 +9636,7 @@ M.funcs = {
name = 'shiftwidth', name = 'shiftwidth',
params = { { 'col', 'integer' } }, params = { { 'col', 'integer' } },
signature = 'shiftwidth([{col}])', signature = 'shiftwidth([{col}])',
returns = 'integer',
}, },
sign_define = { sign_define = {
args = { 1, 2 }, args = { 1, 2 },

View File

@ -2932,7 +2932,7 @@ return {
"auto": resize to the minimum amount of folds to display. "auto": resize to the minimum amount of folds to display.
"auto:[1-9]": resize to accommodate multiple folds up to the "auto:[1-9]": resize to accommodate multiple folds up to the
selected level selected level
0: to disable foldcolumn "0": to disable foldcolumn
"[1-9]": to display a fixed number of columns "[1-9]": to display a fixed number of columns
See |folding|. See |folding|.
]=], ]=],