Skip to content

Commit f11f008

Browse files
Tokaraklastapella
authored andcommitted
Add Onedark Style (nvim-lua#590)
* Add style options to Onedark setup (init.lua) * stylua init.lua * Load onedark through `require` * Improve commenting
1 parent aaf670e commit f11f008

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

init.lua

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,14 @@ require('lazy').setup({
297297
'navarasu/onedark.nvim',
298298
enabled = false,
299299
priority = 1000,
300-
-- config = function()
301-
-- vim.cmd.colorscheme 'onedark'
302-
-- end,
300+
lazy = false,
301+
config = function()
302+
require('onedark').setup {
303+
-- Set a style preset. 'dark' is default.
304+
style = 'dark', -- dark, darker, cool, deep, warm, warmer, light
305+
}
306+
require('onedark').load()
307+
end,
303308
},
304309

305310
{

0 commit comments

Comments
 (0)