diff --git a/home/private_dot_config/nvim/lua/plugins/host.lua b/home/private_dot_config/nvim/lua/plugins/host.lua index 95f2419..69aec65 100644 --- a/home/private_dot_config/nvim/lua/plugins/host.lua +++ b/home/private_dot_config/nvim/lua/plugins/host.lua @@ -3,27 +3,21 @@ 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({ - -- See Setup section below }) end, }, - { "Fymyte/rasi.vim" }, + -- { "Fymyte/rasi.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 vim.list_extend(plugins, { { "lambdalisue/suda.vim" }, @@ -31,6 +25,8 @@ if vim.tbl_contains({ "othalan", "algiz" }, hostname) then }) 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