1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23: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:
Sébastien Helleu
2026-05-29 21:43:46 +02:00
parent a98568788b
commit d4ed290a37
11 changed files with 55 additions and 132 deletions
+3 -7
View File
@@ -2513,13 +2513,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