diff options
author | arza <arza@arza.us> | 2016-09-20 04:36:08 +0300 |
---|---|---|
committer | arza <arza@arza.us> | 2016-09-20 04:36:08 +0300 |
commit | 592810ca1f406bd5b2dde4c3a242c5ff6efc14fc (patch) | |
tree | 6927110b8eea4fe53ff36d8710ca1a4631796ee2 /src/core | |
parent | 58ce36c2c9473e5e16dc6285a87f7e2c741bd3a5 (diff) | |
download | weechat-592810ca1f406bd5b2dde4c3a242c5ff6efc14fc.zip |
core: add option weechat.look.align_multiline_words
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-config.c | 9 | ||||
-rw-r--r-- | src/core/wee-config.h | 1 |
2 files changed, 10 insertions, 0 deletions
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; |