summaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins/reload.lua
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-09-17 19:45:23 +0100
committerIgor Soarez <igor@soarez.org>2026-09-17 19:45:23 +0100
commit13cc065ec014b86369dfe4ad60d1a43fa06fd251 (patch)
tree684690c61b7b59758c2aac132c65b81c86de0608 /config/nvim/lua/plugins/reload.lua
dotfiles
Shell, editor and terminal configuration, the tools that go with them, and szecret, an age-based secret manager whose store lives elsewhere. History restarts here. What came before was not written to be read by anyone else, and carried machine names, addresses and an encrypted secret store; it is kept privately instead. What is left is meant to be safe on any machine, including one whose owner is not me: see CLAUDE.md for the rule it is written to.
Diffstat (limited to 'config/nvim/lua/plugins/reload.lua')
-rw-r--r--config/nvim/lua/plugins/reload.lua28
1 files changed, 28 insertions, 0 deletions
diff --git a/config/nvim/lua/plugins/reload.lua b/config/nvim/lua/plugins/reload.lua
new file mode 100644
index 0000000..6bd1366
--- /dev/null
+++ b/config/nvim/lua/plugins/reload.lua
@@ -0,0 +1,28 @@
+return {
+ {
+ dir = vim.fn.stdpath("config") .. "/local-plugins/cfg-watch",
+ name = "cfg-watch",
+ event = "VeryLazy", -- fires after init.lua finishes and UI is ready
+ -- Colorscheme plugins (defined in lua/plugins/colorschemes.lua as lazy=true)
+ -- are listed here so they load before load_colors() runs `:colorscheme`.
+ dependencies = {
+ { "rktjmp/fwatch.nvim" },
+ "sonph/onehalf",
+ "altercation/vim-colors-solarized",
+ "nlknguyen/papercolor-theme",
+ "tanvirtin/monokai.nvim",
+ "tomasr/molokai",
+ "cohlin/vim-colorschemes",
+ "reedes/vim-colors-pencil",
+ "ayu-theme/ayu-vim",
+ "overcache/NeoSolarized",
+ "cormacrelf/vim-colors-github",
+ "rafi/awesome-vim-colorschemes",
+ },
+ config = function()
+ local lc = require("cfg_watch")
+ lc.load_colors()
+ lc.load_config("local")
+ end,
+ },
+}