docs: update wrong operator in doc (#182)

This commit is contained in:
l0calh0st
2022-09-02 13:58:02 +08:00
committed by GitHub
parent 6dfdfcbeea
commit 19cb7e17e7
2 changed files with 5 additions and 5 deletions

View File

@@ -106,8 +106,8 @@ The theme comes in three styles, `storm`, a darker variant `night` and `day`.
The **day** style will be used if:
- `vim.g.tokyonight_style == "day"`
- or `vim.o.background == "light"`
- `vim.g.tokyonight_style = "day"`
- or `vim.o.background = "light"`
| Option | Default | Description |
| ----------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |

View File

@@ -126,8 +126,8 @@ To enable the `tokyonight` colorscheme for `Lightline` :
`colorscheme tokyonight`
The theme comes in three styles, `storm` , a darker variant `night` and `day`.
The **day** style will be used if:
- `vim.g.tokyonight_style == "day"`
- or `vim.o.background == "light"`
- `vim.g.tokyonight_style = "day"`
- or `vim.o.background = "light"`
Option
Default
Description
@@ -286,4 +286,4 @@ How to add a new extra template:
2. add the name and output file extension to the `extras` table in `lua/tokyonight/extra/init.lua`
3. in the root directory, run `$ lua lua/tokyonight/extra/init.lua` to generate / update extra themes
4. commit the newly created themes under `extra/`
vim:tw=78:ts=8:ft=help:norl:
vim:tw=78:ts=8:ft=help:norl: