refactor(nvim): pass theme setting to themes.lua
parent
50c22738b3
commit
d1627cef60
|
@ -162,8 +162,10 @@
|
||||||
${builtins.readFile ./nvim-cmp.lua }
|
${builtins.readFile ./nvim-cmp.lua }
|
||||||
${builtins.readFile ./telescope.lua }
|
${builtins.readFile ./telescope.lua }
|
||||||
|
|
||||||
|
do
|
||||||
|
local vim_theme = "${theme}";
|
||||||
${builtins.readFile ./themes.lua }
|
${builtins.readFile ./themes.lua }
|
||||||
vim.opt.background = '${theme}'
|
end
|
||||||
|
|
||||||
${builtins.readFile ./project-nvim.lua }
|
${builtins.readFile ./project-nvim.lua }
|
||||||
${builtins.readFile ./dap.lua }
|
${builtins.readFile ./dap.lua }
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
vim.cmd("colorscheme solarized")
|
vim.cmd("colorscheme solarized")
|
||||||
|
vim.opt.background = vim_theme
|
||||||
|
|
Loading…
Reference in New Issue