docs: small fixes (#26651)

Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: WillLillis <wlillis@umass.edu>
This commit is contained in:
dundargoc
2023-12-28 03:28:48 +01:00
committed by GitHub
parent 46ceefb52b
commit 714b075197
11 changed files with 13 additions and 16 deletions

View File

@@ -194,7 +194,7 @@ if tty then
--- already set by the user.
---
--- @param option string Option name
--- @param value string Option value
--- @param value any Option value
local function setoption(option, value)
if vim.api.nvim_get_option_info2(option, {}).was_set then
-- Don't do anything if option is already set