From d60439fe89bc478d1ae09f07e59c4f39343aa3d6 Mon Sep 17 00:00:00 2001 From: nullchilly Date: Sat, 16 Jul 2022 13:31:29 +0700 Subject: [PATCH] feat(readme): update --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4899e95..e0eaf55 100644 --- a/README.md +++ b/README.md @@ -460,11 +460,7 @@ You need to enable [truecolor](https://wiki.archlinux.org/title/Color_output_in_ #### 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` to mocha flavour +For people who are hybrid between light and dark mode you can use this autocmd! ```lua vim.api.nvim_create_autocmd("OptionSet", { @@ -475,6 +471,8 @@ vim.api.nvim_create_autocmd("OptionSet", { }) ``` +`set background=light` will change flavour to latte and `set background=dark` to mocha flavour + ## 💝 Thanks to - [Pocco81](https://github.com/Pocco81)