From 592810ca1f406bd5b2dde4c3a242c5ff6efc14fc Mon Sep 17 00:00:00 2001 From: arza Date: Tue, 20 Sep 2016 04:36:08 +0300 Subject: core: add option weechat.look.align_multiline_words --- src/core/wee-config.c | 9 +++++++++ src/core/wee-config.h | 1 + 2 files changed, 10 insertions(+) (limited to 'src/core') diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 35b67889e..82d18fa61 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -83,6 +83,7 @@ struct t_config_option *config_startup_sys_rlimit; /* config, look & feel section */ struct t_config_option *config_look_align_end_of_lines; +struct t_config_option *config_look_align_multiline_words; struct t_config_option *config_look_bar_more_down; struct t_config_option *config_look_bar_more_left; struct t_config_option *config_look_bar_more_right; @@ -2458,6 +2459,14 @@ config_weechat_init_options () NULL, NULL, NULL, &config_change_buffers, NULL, NULL, NULL, NULL, NULL); + config_look_align_multiline_words = config_file_new_option ( + weechat_config_file, ptr_section, + "align_multiline_words", "boolean", + N_("align multiline words according to weechat.look.align_end_of_lines"), + NULL, 0, 0, "on", NULL, 0, + NULL, NULL, NULL, + &config_change_buffers, NULL, NULL, + NULL, NULL, NULL); config_look_bar_more_down = config_file_new_option ( weechat_config_file, ptr_section, "bar_more_down", "string", diff --git a/src/core/wee-config.h b/src/core/wee-config.h index 6682f25f1..73305d5b4 100644 --- a/src/core/wee-config.h +++ b/src/core/wee-config.h @@ -133,6 +133,7 @@ extern struct t_config_option *config_startup_display_version; extern struct t_config_option *config_startup_sys_rlimit; extern struct t_config_option *config_look_align_end_of_lines; +extern struct t_config_option *config_look_align_multiline_words; extern struct t_config_option *config_look_bar_more_down; extern struct t_config_option *config_look_bar_more_left; extern struct t_config_option *config_look_bar_more_right; -- cgit v1.2.3