aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/nvim/spellfile.lua
diff options
context:
space:
mode:
authorOlivia Kinnear <git@superatomic.dev>2026-05-20 01:47:35 -0500
committerGitHub <noreply@github.com>2026-05-20 02:47:35 -0400
commitea8f1463ddd18cb95bb960c684aab6cd3cb4799b (patch)
tree3f96910716ed6e3a8c38cf27654f7c103ab4b6d0 /runtime/lua/nvim/spellfile.lua
parenta59c8a9c76ce790d5f131ff79ab95e2c7171c5bf (diff)
downloadrneovim-ea8f1463ddd18cb95bb960c684aab6cd3cb4799b.tar.gz
rneovim-ea8f1463ddd18cb95bb960c684aab6cd3cb4799b.tar.bz2
rneovim-ea8f1463ddd18cb95bb960c684aab6cd3cb4799b.zip
fix(lua): fields of `nvim.spellfile.Opts` are optional #39902
Diffstat (limited to 'runtime/lua/nvim/spellfile.lua')
-rw-r--r--runtime/lua/nvim/spellfile.lua6
1 files changed, 3 insertions, 3 deletions
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 = {