From 2951af7bbd839ebef25e33f8bd01bd5c501f76c8 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sat, 29 Oct 2022 18:19:38 +0200 Subject: Update how options and colorscheme is set (#12) * Update loading of colorscheme * Fix typo * Fix setting of style * Fix highlighting * Unpack style * Add empty table if props are nil * Fix concat of tables * Fix typo * Update settings * Add call set in settings * Add deep extend * Remove style field * Update README BREAKING CHANGE: updates how the colorscheme is set and the structure of the options table --- colors/no-clown-fiesta.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'colors') diff --git a/colors/no-clown-fiesta.lua b/colors/no-clown-fiesta.lua index 1678131..3a7818d 100644 --- a/colors/no-clown-fiesta.lua +++ b/colors/no-clown-fiesta.lua @@ -1,7 +1 @@ -for k in pairs(package.loaded) do - if k:match ".*no-clown-fiesta.*" then - package.loaded[k] = nil - end -end - -require "no-clown-fiesta" +require("no-clown-fiesta").load() -- cgit v1.2.3-70-g09d2