From 6fb4d0ab0b3a504a5030ff2c2ca2e14f9491d84d Mon Sep 17 00:00:00 2001 From: Nazar <63452145+Tokarak@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:52:50 +0000 Subject: [PATCH] Add Onedark Style (#590) * Add style options to Onedark setup (init.lua) * stylua init.lua * Load onedark through `require` * Improve commenting --- init.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 4d49438ea22..0eb76e1a18c 100644 --- a/init.lua +++ b/init.lua @@ -194,9 +194,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, }, {