mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 12:50:04 +08:00
Fix up (#2197)
This commit is contained in:
parent
1651ede080
commit
7a9474795a
@ -63,7 +63,7 @@ let s:cs = [
|
||||
let s:NUMBER = SpaceVim#api#import('data#number')
|
||||
|
||||
let s:time = {
|
||||
\ 'dalily' : 1 * 24 * 60 * 60 * 1000,
|
||||
\ 'daily' : 1 * 24 * 60 * 60 * 1000,
|
||||
\ 'hourly' : 1 * 60 * 60 * 1000,
|
||||
\ 'weekly' : 7 * 24 * 60 * 60 * 1000,
|
||||
\ }
|
||||
|
@ -88,13 +88,13 @@ SpaceVim 支持在配置文件中通过 `colorscheme_bg` 这一选项来设置
|
||||
```
|
||||
|
||||
除了在每次启用时自动应用随即主题以外,也可以设置它的更新频率,默认是为空,
|
||||
表示,每次启用 Vim 是随即选择一种主题。可供选择的频率有:`dalily`、`hourly`、`weekly`,
|
||||
表示,每次启用 Vim 是随即选择一种主题。可供选择的频率有:`daily`、`hourly`、`weekly`,
|
||||
以及 `数字 + 单位` 这种格式,如 `1h`。
|
||||
|
||||
```toml
|
||||
[[layers]]
|
||||
name = "colorscheme"
|
||||
random_theme = true
|
||||
frequency = "dalily"
|
||||
frequency = "daily"
|
||||
```
|
||||
|
||||
|
@ -85,14 +85,14 @@ Colorscheme layer support random colorscheme on startup. just load this layer wi
|
||||
random_theme = true
|
||||
```
|
||||
|
||||
The frequency can be changed via `frequency` layer options, the available values are `dalily`, `hourly`, `weekly`.
|
||||
The frequency can be changed via `frequency` layer options, the available values are `daily`, `hourly`, `weekly`.
|
||||
You can also use `number + unit`, for example: `1h`.
|
||||
|
||||
```toml
|
||||
[[layers]]
|
||||
name = "colorscheme"
|
||||
random_theme = true
|
||||
frequency = "dalily"
|
||||
frequency = "daily"
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user