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 Jan 29, 2024
1 parent deaafcf commit b115814
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},

Expand Down

0 comments on commit b115814

Please sign in to comment.