dotfiles/home/private_dot_config/nvim/lua/plugins/host.lua

39 lines
904 B
Lua
Raw Normal View History

2023-10-30 17:58:33 -05:00
local hostname = vim.fn.hostname()
local plugins = {}
local single_host_plugins = {
othalan = {
2024-10-20 12:44:59 -05:00
{'ThePrimeagen/vim-be-good'}, -- for fun + learning
2024-08-20 14:53:02 -05:00
{ "aklt/plantuml-syntax" },
2024-11-13 15:52:20 -06:00
-- { "kaarmu/typst.vim" },
2023-10-30 17:58:33 -05:00
{
"mickael-menu/zk-nvim",
config = function()
require("zk").setup({
})
end,
},
2024-10-20 12:44:59 -05:00
-- { "Fymyte/rasi.vim" },
2024-09-16 11:15:30 -05:00
-- { dir = "~/dev/github/usu-dev/usu-vim/" },
2023-10-30 17:58:33 -05:00
},
}
2024-11-13 15:52:20 -06:00
if vim.tbl_contains({"othalan", "rentcomp01.ccbb.utexas.edu", "rentcomp02.ccbb.utexas.edu"}, hostname) then
vim.list_extend(plugins, {
{"kaarmu/typst.vim" },
})
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
2024-10-20 12:44:59 -05:00
if vim.tbl_contains(vim.tbl_keys(single_host_plugins), hostname) then
vim.list_extend(plugins, single_host_plugins[hostname])
end
2023-10-30 17:58:33 -05:00
return plugins