* Add style options to Onedark setup (init.lua) * stylua init.lua * Load onedark through `require` * Improve commenting
@@ -193,8 +193,13 @@ require('lazy').setup({
-- Theme inspired by Atom
'navarasu/onedark.nvim',
priority = 1000,
+ lazy = false,
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,
},