38 lines
904 B
Lua
38 lines
904 B
Lua
local hostname = vim.fn.hostname()
|
|
local plugins = {}
|
|
|
|
local single_host_plugins = {
|
|
othalan = {
|
|
{'ThePrimeagen/vim-be-good'}, -- for fun + learning
|
|
{ "aklt/plantuml-syntax" },
|
|
-- { "kaarmu/typst.vim" },
|
|
{
|
|
"mickael-menu/zk-nvim",
|
|
config = function()
|
|
require("zk").setup({
|
|
})
|
|
end,
|
|
},
|
|
-- { "Fymyte/rasi.vim" },
|
|
-- { dir = "~/dev/github/usu-dev/usu-vim/" },
|
|
},
|
|
}
|
|
|
|
if vim.tbl_contains({"othalan", "rentcomp01.ccbb.utexas.edu", "rentcomp02.ccbb.utexas.edu"}, hostname) then
|
|
vim.list_extend(plugins, {
|
|
{"kaarmu/typst.vim" },
|
|
})
|
|
end
|
|
|
|
if vim.tbl_contains({ "othalan", "algiz" }, hostname) then
|
|
vim.list_extend(plugins, {
|
|
{ "lambdalisue/suda.vim" },
|
|
{ "LnL7/vim-nix" },
|
|
})
|
|
end
|
|
|
|
if vim.tbl_contains(vim.tbl_keys(single_host_plugins), hostname) then
|
|
vim.list_extend(plugins, single_host_plugins[hostname])
|
|
end
|
|
|
|
return plugins
|