add vim-be-good to play around

This commit is contained in:
Daylin Morgan 2024-10-20 12:44:59 -05:00
parent 703f1270f8
commit a4d60021aa
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -3,27 +3,21 @@ local plugins = {}
local single_host_plugins = { local single_host_plugins = {
othalan = { othalan = {
{'ThePrimeagen/vim-be-good'}, -- for fun + learning
{ "aklt/plantuml-syntax" }, { "aklt/plantuml-syntax" },
{ "kaarmu/typst.vim" }, { "kaarmu/typst.vim" },
{ {
"mickael-menu/zk-nvim", "mickael-menu/zk-nvim",
config = function() config = function()
require("zk").setup({ require("zk").setup({
-- See Setup section below
}) })
end, end,
}, },
{ "Fymyte/rasi.vim" }, -- { "Fymyte/rasi.vim" },
-- { dir = "~/dev/github/usu-dev/usu-vim/" }, -- { dir = "~/dev/github/usu-dev/usu-vim/" },
}, },
} }
local function add_single_host_plugins()
if vim.tbl_contains(vim.tbl_keys(single_host_plugins), hostname) then
vim.list_extend(plugins, single_host_plugins[hostname])
end
end
if vim.tbl_contains({ "othalan", "algiz" }, hostname) then if vim.tbl_contains({ "othalan", "algiz" }, hostname) then
vim.list_extend(plugins, { vim.list_extend(plugins, {
{ "lambdalisue/suda.vim" }, { "lambdalisue/suda.vim" },
@ -31,6 +25,8 @@ if vim.tbl_contains({ "othalan", "algiz" }, hostname) then
}) })
end end
add_single_host_plugins() if vim.tbl_contains(vim.tbl_keys(single_host_plugins), hostname) then
vim.list_extend(plugins, single_host_plugins[hostname])
end
return plugins return plugins