From 69d49727d7766d799aa1989bf67e763258b868e6 Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Mon, 17 Jul 2023 16:32:56 +0100 Subject: fix: luacheck --- runtime/lua/vim/_options.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'runtime/lua/vim/_options.lua') diff --git a/runtime/lua/vim/_options.lua b/runtime/lua/vim/_options.lua index d498ae0a2c..6dbe4cf64a 100644 --- a/runtime/lua/vim/_options.lua +++ b/runtime/lua/vim/_options.lua @@ -846,7 +846,7 @@ end --- --- @diagnostic disable-next-line:unused-local used for gen_vimdoc -local Option = {} +local Option = {} -- luacheck: no unused ---Returns a Lua-representation of the option. Boolean, number and string ---values will be returned in exactly the same fashion. @@ -901,7 +901,7 @@ function Option:get() end --- ---@param value string Value to append --- @diagnostic disable-next-line:unused-local used for gen_vimdoc -function Option:append(value) end +function Option:append(value) end -- luacheck: no unused ---Prepend a value to string-style options. See |:set^=| --- @@ -911,7 +911,7 @@ function Option:append(value) end --- ---@param value string Value to prepend ---@diagnostic disable-next-line:unused-local used for gen_vimdoc -function Option:prepend(value) end +function Option:prepend(value) end -- luacheck: no unused ---Remove a value from string-style options. See |:set-=| --- @@ -921,7 +921,7 @@ function Option:prepend(value) end --- ---@param value string Value to remove ---@diagnostic disable-next-line:unused-local used for gen_vimdoc -function Option:remove(value) end +function Option:remove(value) end -- luacheck: no unused vim.opt = create_option_accessor() vim.opt_local = create_option_accessor('local') -- cgit