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:
parent
deaafcf549
commit
b115814916
1 changed files with 6 additions and 1 deletions
7
init.lua
7
init.lua
|
@ -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,
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue