plugins/ayu: automatically apply ayu theme when enabled (#661)

This commit is contained in:
Kasper Seweryn 2023-10-22 12:48:48 +00:00 committed by GitHub
parent 65bd427a6e
commit 36119e7ec1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,9 @@ in {
extraPlugins = [cfg.package];
extraConfigLuaPre = ''
require("ayu").setup(${helpers.toLuaObject setupOptions})
local ayu = require("ayu")
ayu.setup(${helpers.toLuaObject setupOptions})
ayu.colorscheme()
'';
};
}