From b2700b93fa027d035c672ea1587a5123ae6dc663 Mon Sep 17 00:00:00 2001 From: Micah Effiong Date: Wed, 10 Jan 2024 14:16:42 +0100 Subject: [PATCH] remove duplicate conflict --- lua/custom/plugins/onedark-theme.lua | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lua/custom/plugins/onedark-theme.lua b/lua/custom/plugins/onedark-theme.lua index 5778343a..b4fef51f 100644 --- a/lua/custom/plugins/onedark-theme.lua +++ b/lua/custom/plugins/onedark-theme.lua @@ -1,13 +1,10 @@ return { - -- Theme inspired by Atom - 'navarasu/onedark.nvim', - priority = 1000, - config = function() - vim.cmd.colorscheme 'onedark' - end, + -- Extend onedark config + -- prevent override conflict + -- require('onedark').setup { style = 'deep', toggle_style_key = 'ts', -- keybind to toggle theme style. Leave it nil to disable it, or set it to a string, for example "ts" - toggle_style_list = {'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light'}, + toggle_style_list = { 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light' }, } }