summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNazar <63452145+Tokarak@users.noreply.github.com>2024-01-29 18:52:50 +0000
committerGitHub <noreply@github.com>2024-01-29 13:52:50 -0500
commitb11581491671ed49b1dfdb1ea777932ade7ff2e5 (patch)
tree342bfd37447b84fad81470641eac28b9cb2378f4
parentdeaafcf5491a76f71d3bc70c9d75b3320fe83e83 (diff)
Add Onedark Style (#590)
* Add style options to Onedark setup (init.lua) * stylua init.lua * Load onedark through `require` * Improve commenting
-rw-r--r--init.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 3694bc0..6c6ae02 100644
--- a/init.lua
+++ b/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,
},