use older api for nvim <0.10

This commit is contained in:
Daylin Morgan 2023-10-31 00:55:32 -05:00
parent c0a68300b7
commit ec98c87205
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -23,12 +23,12 @@ local single_host_plugins = {
}
local function add_single_host_plugins()
if vim.list_contains(vim.tbl_keys(single_host_plugins), hostname) then
if vim.tbl_contains(vim.tbl_keys(single_host_plugins), hostname) then
vim.list_extend(plugins, single_host_plugins[hostname])
end
end
if vim.list_contains({ "othalan", "algiz" }, hostname) then
if vim.tbl_contains({ "othalan", "algiz" }, "algiz") then
vim.list_extend(plugins, {
{ "lambdalisue/suda.vim" },
})