Open
Description
Describe the bug
GLAMOUR_STYLE env variable is not respected in glow renderer
Setup
Please complete the following information along with version numbers, if applicable.
- OS: macOS
- Shell: zsh
- Terminal Emulator: wezterm
- Terminal Multiplexer: tmux
- Locale: en_US.UTF-8
To Reproduce
Steps to reproduce the behavior:
- remove
style
from config file - unset GLAMOUR_STYLE from env
- run glow on any md file or run TUI - see 'auto' style
export GLAMOUR_STYLE=tokyo-night
- run glow on any md file or run TUI - see 'auto' style not changed
- add `style: tokyo-night" info config file
- run glow on any md file or run TUI - see how style was changed
export GLAMOUR_STYLE=dark
- run glow on any md file - see 'tokyo-night' style not changed
Source Code
no need
Expected behavior
Respect GLAMOUR_STYLE env variable in TUI mode (as code says) and in CLI mode
Additional context
none
Metadata
Metadata
Assignees
Labels
No labels
Activity