Skip to content

Commit 60b7e02

Browse files
Tokarakchrisdd2
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 42bffb7 commit 60b7e02

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

init.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,13 @@ require('lazy').setup({
193193
-- Theme inspired by Atom
194194
'navarasu/onedark.nvim',
195195
priority = 1000,
196+
lazy = false,
196197
config = function()
197-
vim.cmd.colorscheme 'onedark'
198+
require('onedark').setup {
199+
-- Set a style preset. 'dark' is default.
200+
style = 'dark', -- dark, darker, cool, deep, warm, warmer, light
201+
}
202+
require('onedark').load()
198203
end,
199204
},
200205

0 commit comments

Comments
 (0)