mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
core: always write all options in theme files
Theme files saved with /theme save and automatic backups now always contain every themable option (full snapshot), so a theme file is self-contained and round-trips exactly regardless of the current configuration. The diff-only mode and the "-full" argument of /theme save are removed.
This commit is contained in:
@@ -2265,13 +2265,9 @@ Save the current themable options as a new user theme file:
|
||||
/theme save mytheme
|
||||
----
|
||||
|
||||
By default only options whose value differs from their hardcoded
|
||||
default are written, keeping the file small and focused. To capture
|
||||
every themable option:
|
||||
|
||||
----
|
||||
/theme save mytheme -full
|
||||
----
|
||||
Every themable option is written, so the file is self-contained and
|
||||
applies the exact same look on any WeeChat, regardless of its current
|
||||
configuration.
|
||||
|
||||
Reserved names (built-in theme names like `+light+` and any name
|
||||
starting with `+backup-+`) are refused. Files live at
|
||||
|
||||
Reference in New Issue
Block a user