summaryrefslogtreecommitdiff
path: root/src/plugins/fset/fset-config.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-05-30 21:16:38 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-06-25 16:35:27 +0200
commit2fac9d34f3f5db1b7d59420acb93ee4be5c84d10 (patch)
treeb28626fd7616d71b0d11d82e201c6031b22d82d7 /src/plugins/fset/fset-config.c
parent3515134b190220eb5c3dc693cc6e94e46037d341 (diff)
downloadweechat-2fac9d34f3f5db1b7d59420acb93ee4be5c84d10.zip
fset: add ${string_values}, add options fset.color.string_values and fset.color.string_values_selected
Diffstat (limited to 'src/plugins/fset/fset-config.c')
-rw-r--r--src/plugins/fset/fset-config.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/plugins/fset/fset-config.c b/src/plugins/fset/fset-config.c
index 210c60846..c5fb1bc82 100644
--- a/src/plugins/fset/fset-config.c
+++ b/src/plugins/fset/fset-config.c
@@ -50,6 +50,7 @@ struct t_config_option *fset_config_color_min[2];
struct t_config_option *fset_config_color_name[2];
struct t_config_option *fset_config_color_parent_name[2];
struct t_config_option *fset_config_color_quotes[2];
+struct t_config_option *fset_config_color_string_values[2];
struct t_config_option *fset_config_color_type[2];
struct t_config_option *fset_config_color_value[2];
struct t_config_option *fset_config_color_value_diff[2];
@@ -334,6 +335,22 @@ fset_config_init ()
NULL, NULL, NULL,
&fset_config_change_color, NULL, NULL,
NULL, NULL, NULL);
+ fset_config_color_string_values[0] = weechat_config_new_option (
+ fset_config_file, ptr_section,
+ "string_values", "color",
+ N_("color for string values"),
+ NULL, 0, 0, "default", NULL, 0,
+ NULL, NULL, NULL,
+ &fset_config_change_color, NULL, NULL,
+ NULL, NULL, NULL);
+ fset_config_color_string_values[1] = weechat_config_new_option (
+ fset_config_file, ptr_section,
+ "string_values_selected", "color",
+ N_("color for string values on the selected line"),
+ NULL, 0, 0, "white", NULL, 0,
+ NULL, NULL, NULL,
+ &fset_config_change_color, NULL, NULL,
+ NULL, NULL, NULL);
fset_config_color_type[0] = weechat_config_new_option (
fset_config_file, ptr_section,
"type", "color",