2023-10-30 17:58:33 -05:00
|
|
|
local hostname = vim.fn.hostname()
|
|
|
|
local plugins = {}
|
|
|
|
|
|
|
|
local single_host_plugins = {
|
|
|
|
othalan = {
|
2024-08-20 14:53:02 -05:00
|
|
|
{ "aklt/plantuml-syntax" },
|
2023-10-30 17:58:33 -05:00
|
|
|
{ "kaarmu/typst.vim" },
|
|
|
|
{
|
|
|
|
"mickael-menu/zk-nvim",
|
|
|
|
config = function()
|
|
|
|
require("zk").setup({
|
|
|
|
-- See Setup section below
|
|
|
|
})
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
{ "Fymyte/rasi.vim" },
|
|
|
|
{ dir = "~/dev/github/usu-dev/usu-vim/" },
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
local function add_single_host_plugins()
|
2023-10-31 00:55:32 -05:00
|
|
|
if vim.tbl_contains(vim.tbl_keys(single_host_plugins), hostname) then
|
2023-10-30 17:58:33 -05:00
|
|
|
vim.list_extend(plugins, single_host_plugins[hostname])
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2024-01-16 14:03:32 -06:00
|
|
|
if vim.tbl_contains({ "othalan", "algiz" }, hostname) then
|
2023-10-30 17:58:33 -05:00
|
|
|
vim.list_extend(plugins, {
|
|
|
|
{ "lambdalisue/suda.vim" },
|
2024-01-15 09:53:02 -06:00
|
|
|
{ "LnL7/vim-nix" },
|
2023-10-30 17:58:33 -05:00
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
add_single_host_plugins()
|
|
|
|
|
|
|
|
return plugins
|