From 683e99c013a85e20d733fc0380445a6279d91dd5 Mon Sep 17 00:00:00 2001 From: nullchilly Date: Sat, 16 Jul 2022 13:28:51 +0700 Subject: [PATCH] feat(readme): Improve toggling FAQ --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2441280..695b8b0 100644 --- a/README.md +++ b/README.md @@ -458,11 +458,15 @@ vim.api.nvim_create_autocmd("User", { You need to enable [truecolor](https://wiki.archlinux.org/title/Color_output_in_console#True_color_support) -**Toggle based on background value?** +**Toggle light/dark theme based on background value?** + +For people who are hybrid between light and dark mode! + +`set background=light` will change flavour to latte + +`set background=dark` -> mocha flavour ```lua --- set background=light will change flavour to latte --- set background=dark -> mocha flavour vim.api.nvim_create_autocmd("OptionSet", { pattern = "background", callback = function()