Add Onedark Style (#590)

* Add style options to Onedark setup (init.lua)

* stylua init.lua

* Load onedark through `require`

* Improve commenting
This commit is contained in:
Nazar 2024-01-29 18:52:50 +00:00 committed by GitHub
parent deaafcf549
commit b115814916
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,
},