Skip to content

Commit

Permalink
Add Onedark Style (nvim-lua#590)
Browse files Browse the repository at this point in the history
* Add style options to Onedark setup (init.lua)

* stylua init.lua

* Load onedark through `require`

* Improve commenting
  • Loading branch information
Tokarak authored and lastapella committed Mar 17, 2024
1 parent aaf670e commit f11f008
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,14 @@ require('lazy').setup({
'navarasu/onedark.nvim',
enabled = false,
priority = 1000,
-- config = function()
-- vim.cmd.colorscheme 'onedark'
-- end,
lazy = false,
config = function()
require('onedark').setup {
-- Set a style preset. 'dark' is default.
style = 'dark', -- dark, darker, cool, deep, warm, warmer, light
}
require('onedark').load()
end,
},

{
Expand Down

0 comments on commit f11f008

Please sign in to comment.