diff --git a/book/src/themes.md b/book/src/themes.md index e3b95c0a7..c205fce5d 100644 --- a/book/src/themes.md +++ b/book/src/themes.md @@ -293,8 +293,9 @@ These scopes are used for theming the editor interface: | `ui.statusline.select` | Statusline mode during select mode ([only if `editor.color-modes` is enabled][editor-section]) | | `ui.statusline.separator` | Separator character in statusline | | `ui.bufferline` | Style for the buffer line | -| `ui.bufferline.active` | Style for the active buffer in buffer line | +| `ui.bufferline.active` | Style for the active buffer in buffer line | | `ui.bufferline.background` | Style for bufferline background | +| `ui.bufferline.marker` | Style for bufferline underflow and overflow markers | | `ui.popup` | Documentation popups (e.g. Space + k) | | `ui.popup.info` | Prompt for multiple key options | | `ui.window` | Borderlines separating splits | diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 1d43fbcda..8f3272d62 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -722,8 +722,8 @@ impl EditorView { // Add under and overflow markers. let markers = editor .theme - .try_get("ui.bufferline") - .unwrap_or_else(|| editor.theme.get("ui.bufferline.active")); + .try_get("ui.bufferline.marker") + .unwrap_or_else(|| editor.theme.get("ui.bufferline")); if mark_underflow { let _ = surface.set_string(viewport.left(), viewport.top(), " < ", markers);