From 8041e49cf790d2864f125b44fcb556381c6f6fd8 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 25 Apr 2021 12:22:01 +0200 Subject: [PATCH] docs: clear warning that settings need to come before loading the colorscheme --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9c1085f..28a25bf 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,8 @@ require('lualine').setup { ## ⚙️ Configuration +> ❗️ configuration needs to be set **BEFORE** loading the color scheme with `colorscheme tokyonight` + The theme comes in three styles, `storm`, a darker variant `night` and `day`. | Option | Default | Description | @@ -113,6 +115,9 @@ vim.g.tokyonight_sidebars = { "qf", "vista_kind", "terminal", "packer" } -- Change the "hint" color to the "orange" color, and make the "error" color bright red vim.g.tokyonight_colors = { hint = "orange", error = "#ff0000" } + +-- Load the colorscheme +vim.cmd[[colorscheme tokyonight]] ``` ```vim @@ -120,6 +125,9 @@ vim.g.tokyonight_colors = { hint = "orange", error = "#ff0000" } let g:tokyonight_style = "night" let g:tokyonight_italic_functions = true let g:tokyonight_sidebars = [ "qf", "vista_kind", "terminal", "packer" ] + +" Load the colorscheme +colorscheme tokyonight ``` ## 🍭 Extras