docs: note to set options before setting the colorscheme

closes #12
This commit is contained in:
mvllow 2021-08-16 10:27:37 -05:00
commit c8d623872e

View file

@ -73,6 +73,8 @@ require('lualine').setup({
## Options ## Options
> Options should be set before the colorscheme
```lua ```lua
-- Set variant -- Set variant
-- @usage 'base' | 'moon' | 'dawn' | 'rose-pine[-moon][-dawn]' -- @usage 'base' | 'moon' | 'dawn' | 'rose-pine[-moon][-dawn]'
@ -84,6 +86,9 @@ vim.g.rose_pine_enable_italics = true
-- Use terminal background -- Use terminal background
-- Note: Set to true to fix any funky background colors -- Note: Set to true to fix any funky background colors
vim.g.rose_pine_disable_background = false vim.g.rose_pine_disable_background = false
-- Set colorscheme after options
vim.cmd('colorscheme rose-pine')
``` ```
## Functions ## Functions