diff options
| author | seraphim <18ycm9tx@anonaddy.me> | 2026-08-23 19:31:22 +0700 |
|---|---|---|
| committer | seraphim <18ycm9tx@anonaddy.me> | 2026-08-23 19:31:22 +0700 |
| commit | 9d11eefc53441e1f5688545b4b827f7c8dd5090d (patch) | |
| tree | 5e695b58b7403a9ac82c700d6ca11fdf5328abef /.config/nvim/lua | |
| parent | ed3e8f6ec6929327ab19e512ffb0d8ece12ed5a8 (diff) | |
reorganize directories, so everything in .config
Diffstat (limited to '.config/nvim/lua')
| -rw-r--r-- | .config/nvim/lua/caelus/init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/lua/caelus/init.lua b/.config/nvim/lua/caelus/init.lua index dec0a41..2507bea 100644 --- a/.config/nvim/lua/caelus/init.lua +++ b/.config/nvim/lua/caelus/init.lua @@ -29,6 +29,15 @@ local colors = { } function M.colorscheme() + -- Prefer wallust-generated colors (auto-themed from the wallpaper). + local wallust = (os.getenv("HOME") or "") .. "/.cache/wallust/colors/wallust.lua" + if vim.loop.fs_stat(wallust) and pcall(dofile, wallust) then + if package.loaded['lualine'] then + require('lualine').setup({ options = { theme = 'auto' } }) + end + return + end + vim.cmd("highlight clear") vim.cmd("syntax reset") |
