refactor(nvim): pass theme setting to themes.lua

This commit is contained in:
Michael Mandl 2024-07-28 20:12:53 +02:00 committed by Michael Mandl
parent 22a18418ac
commit 10fec2c615
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2
2 changed files with 5 additions and 2 deletions

View file

@ -162,8 +162,10 @@
${builtins.readFile ./nvim-cmp.lua }
${builtins.readFile ./telescope.lua }
${builtins.readFile ./themes.lua }
vim.opt.background = '${theme}'
do
local vim_theme = "${theme}";
${builtins.readFile ./themes.lua }
end
${builtins.readFile ./project-nvim.lua }
${builtins.readFile ./dap.lua }

View file

@ -1 +1,2 @@
vim.cmd("colorscheme solarized")
vim.opt.background = vim_theme