diff --git a/init.lua b/init.lua index baf48a54..3ce3afb4 100644 --- a/init.lua +++ b/init.lua @@ -201,8 +201,13 @@ require('lazy').setup({ -- Theme inspired by Atom 'navarasu/onedark.nvim', priority = 1000, + lazy = true, config = function() - vim.cmd.colorscheme('onedark') + require('onedark').setup({ + -- Set a style preset. 'dark' is default. + style = 'dark', -- dark, darker, cool, deep, warm, warmer, light + }) + require('onedark').load() end, }, @@ -216,7 +221,7 @@ require('lazy').setup({ opts = { options = { icons_enabled = true, - theme = 'onedark', + theme = 'auto', component_separators = '|', section_separators = '', },