aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_options.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-07-17 16:32:56 +0100
committerLewis Russell <lewis6991@gmail.com>2023-07-17 16:32:56 +0100
commit69d49727d7766d799aa1989bf67e763258b868e6 (patch)
tree7ae25f0020d184cb80ba1f55874c8e4d57e6adec /runtime/lua/vim/_options.lua
parente6e0bc225b14f135e2270f3bacd5fb8ebf7e3792 (diff)
downloadrneovim-69d49727d7766d799aa1989bf67e763258b868e6.tar.gz
rneovim-69d49727d7766d799aa1989bf67e763258b868e6.tar.bz2
rneovim-69d49727d7766d799aa1989bf67e763258b868e6.zip
fix: luacheck
Diffstat (limited to 'runtime/lua/vim/_options.lua')
-rw-r--r--runtime/lua/vim/_options.lua8
1 files changed, 4 insertions, 4 deletions
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
---</pre>
--- @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
---</pre>
---@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
---</pre>
---@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
---</pre>
---@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')