From ea8f1463ddd18cb95bb960c684aab6cd3cb4799b Mon Sep 17 00:00:00 2001 From: Olivia Kinnear Date: Wed, 20 May 2026 01:47:35 -0500 Subject: fix(lua): fields of `nvim.spellfile.Opts` are optional #39902 --- runtime/lua/nvim/spellfile.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/lua/nvim/spellfile.lua') diff --git a/runtime/lua/nvim/spellfile.lua b/runtime/lua/nvim/spellfile.lua index 5a33e7ee9e..8bf094ec34 100644 --- a/runtime/lua/nvim/spellfile.lua +++ b/runtime/lua/nvim/spellfile.lua @@ -20,15 +20,15 @@ local M = {} --- --- The base URL from where the spellfiles are downloaded. Uses `g:spellfile_URL` --- if it's set, otherwise https://ftp.nluug.nl/pub/vim/runtime/spell. ---- @field url string +--- @field url? string --- --- Number of milliseconds after which the [vim.net.request()] times out. --- (default: 15000) ---- @field timeout_ms integer +--- @field timeout_ms? integer --- --- Whether to ask user to confirm download. --- (default: `true`) ---- @field confirm boolean +--- @field confirm? boolean --- @type nvim.spellfile.Opts local config = { -- cgit