From c80a3976cb34c2b3c7f6f01e9ad2db41a4f67796 Mon Sep 17 00:00:00 2001 From: Maria José Solano Date: Mon, 9 Oct 2023 15:34:48 -0700 Subject: docs: miscellaneous doc and type fixes (#25554) --- runtime/doc/options.txt | 2 +- runtime/lua/vim/_meta/api.lua | 2 +- runtime/lua/vim/_meta/api_keysets.lua | 2 +- runtime/lua/vim/_meta/options.lua | 4 ++-- runtime/lua/vim/_meta/vimfn.lua | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'runtime') diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 283c1e3612..87cf811d63 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -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:[1-9]": resize to accommodate multiple folds up to the selected level - 0: to disable foldcolumn + "0": to disable foldcolumn "[1-9]": to display a fixed number of columns See |folding|. diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index bdcc68d7cd..5a9b0b53ce 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -1,4 +1,4 @@ ---- @meta +--- @meta _ -- THIS FILE IS GENERATED -- DO NOT EDIT error('Cannot require a meta file') diff --git a/runtime/lua/vim/_meta/api_keysets.lua b/runtime/lua/vim/_meta/api_keysets.lua index ebd164712c..467409505e 100644 --- a/runtime/lua/vim/_meta/api_keysets.lua +++ b/runtime/lua/vim/_meta/api_keysets.lua @@ -1,4 +1,4 @@ ---- @meta +--- @meta _ -- THIS FILE IS GENERATED -- DO NOT EDIT error('Cannot require a meta file') diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 08ee1f97ba..e90a85ae0a 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -1,4 +1,4 @@ ---- @meta +--- @meta _ -- THIS FILE IS GENERATED -- DO NOT EDIT 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:[1-9]": resize to accommodate multiple folds up to the --- selected level ---- 0: to disable foldcolumn +--- "0": to disable foldcolumn --- "[1-9]": to display a fixed number of columns --- See `folding`. --- diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 06de2fdd1c..481ffd1831 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -1,4 +1,4 @@ ---- @meta +--- @meta _ -- THIS FILE IS GENERATED -- DO NOT EDIT error('Cannot require a meta file') @@ -8055,7 +8055,7 @@ function vim.fn.shellescape(string, special) end --- will be assumed. --- --- @param col? integer ---- @return any +--- @return integer function vim.fn.shiftwidth(col) end --- @param name string -- cgit