aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorPascal Kuthe2022-10-06 18:50:54 +0000
committerPascal Kuthe2022-10-06 18:50:54 +0000
commit7bc324fde986fab2ded2ad29d7b5244521eddc44 (patch)
tree46e977856d00f3c8fc172269bdf642c8ade059a5 /book/src
parent114610f7dc5d6395ef5cce9111a363f7c8d879a4 (diff)
make casing consistent with other configuration
Diffstat (limited to 'book/src')
-rw-r--r--book/src/themes.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/book/src/themes.md b/book/src/themes.md
index 450b3364..b386973a 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -13,7 +13,7 @@ The default theme.toml can be found [here](https://github.com/helix-editor/helix
Each line in the theme file is specified as below:
```toml
-key = { fg = "#ffffff", bg = "#000000", underline_color = "#ff0000", underline_style = "curl", modifiers = ["bold", "italic"] }
+key = { fg = "#ffffff", bg = "#000000", underline-color = "#ff0000", underline-style = "curl", modifiers = ["bold", "italic"] }
```
where `key` represents what you want to style, `fg` specifies the foreground color, `bg` the background color, `underline_style` the underline style, `underline_color` the underline color (only meaningful if an underline style is enabled), and `modifiers` is a list of style modifiers. `bg`, `underline` and `modifiers` can be omitted to defer to the defaults.
@@ -91,7 +91,7 @@ Less common modifiers might not be supported by your terminal emulator.
### Underline Style
-One of the following values may be used as an `underline_styles`.
+One of the following values may be used as an `underline-style`.
Some styles might not be supported by your terminal emulator.
@@ -101,7 +101,7 @@ Some styles might not be supported by your terminal emulator.
| `curl` |
| `dashed` |
| `dot` |
-| `double-line` |
+| `double_line` |
### Scopes