aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim/_meta')
-rw-r--r--runtime/lua/vim/_meta/api.lua3
-rw-r--r--runtime/lua/vim/_meta/builtin_types.lua4
-rw-r--r--runtime/lua/vim/_meta/options.lua2
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua4
4 files changed, 6 insertions, 7 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua
index b890b64174..63a7bcc37d 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -630,8 +630,7 @@ function vim.api.nvim_buf_line_count(buffer) end
--- otherwise the same as "trunc".
--- - ephemeral : for use with `nvim_set_decoration_provider()`
--- callbacks. The mark will only be used for the current
---- redraw cycle, and not be permantently stored in the
---- buffer.
+--- redraw cycle, and not be permanently stored in the buffer.
--- - right_gravity : boolean that indicates the direction
--- the extmark will be shifted in when new text is inserted
--- (true for right, false for left). Defaults to true.
diff --git a/runtime/lua/vim/_meta/builtin_types.lua b/runtime/lua/vim/_meta/builtin_types.lua
index eae76d80d7..9dd0374486 100644
--- a/runtime/lua/vim/_meta/builtin_types.lua
+++ b/runtime/lua/vim/_meta/builtin_types.lua
@@ -259,12 +259,12 @@
--- write. The number is the write count. The
--- first write has number 1, the last one the
--- "save_last" mentioned above.
---- @field save integer
+--- @field save? integer
---
--- Alternate entry. This is again a List of undo
--- blocks. Each item may again have an "alt"
--- item.
---- @field alt vim.fn.undotree.entry[]
+--- @field alt? vim.fn.undotree.entry[]
--- @class vim.fn.undotree.ret
---
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 59e65b0585..775dda59f7 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -1109,7 +1109,7 @@ vim.go.cia = vim.go.completeitemalign
--- combination with "menu" or "menuone".
---
--- @type string
-vim.o.completeopt = "menu,preview"
+vim.o.completeopt = "menu,popup"
vim.o.cot = vim.o.completeopt
vim.bo.completeopt = vim.o.completeopt
vim.bo.cot = vim.bo.completeopt
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 6ffd0e9619..2b4f1a32b0 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -5868,7 +5868,7 @@ function vim.fn.matchend(expr, pat, start, count) end
---
--- @param list any[]
--- @param str string
---- @param dict? string
+--- @param dict? table
--- @return any
function vim.fn.matchfuzzy(list, str, dict) end
@@ -5895,7 +5895,7 @@ function vim.fn.matchfuzzy(list, str, dict) end
---
--- @param list any[]
--- @param str string
---- @param dict? string
+--- @param dict? table
--- @return any
function vim.fn.matchfuzzypos(list, str, dict) end