refactor: remove unused runtime lua functions (#16535)

This commit is contained in:
dundargoc 2021-12-05 19:11:20 +01:00 committed by GitHub
parent 9b65a7e064
commit 24f9463dd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
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 result = {}
for name, option_info in pairs(options_info) do