mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
refactor: remove unused runtime lua functions (#16535)
This commit is contained in:
@@ -16,10 +16,6 @@ for _, v in pairs(a.nvim_get_all_options_info()) do
|
|||||||
if v.shortname ~= "" then options_info[v.shortname] = v end
|
if v.shortname ~= "" then options_info[v.shortname] = v end
|
||||||
end
|
end
|
||||||
|
|
||||||
local is_global_option = function(info) return info.scope == "global" end
|
|
||||||
local is_buffer_option = function(info) return info.scope == "buf" end
|
|
||||||
local is_window_option = function(info) return info.scope == "win" end
|
|
||||||
|
|
||||||
local get_scoped_options = function(scope)
|
local get_scoped_options = function(scope)
|
||||||
local result = {}
|
local result = {}
|
||||||
for name, option_info in pairs(options_info) do
|
for name, option_info in pairs(options_info) do
|
||||||
|
Reference in New Issue
Block a user