diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-01 19:03:05 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-01 19:03:05 +0200 |
commit | ff83985ef4f4073f9430ee065b1d8982fb7c6318 (patch) | |
tree | 2b94f2cd1e36de9bb54a02153e1d30be8145bc21 /src/core/wee-config.c | |
parent | 51af351c15c0277d0c6f060624b67b04e77710df (diff) | |
download | weechat-ff83985ef4f4073f9430ee065b1d8982fb7c6318.zip |
Add default template completion (by default: nick or IRC channel)
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r-- | src/core/wee-config.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c index b5fd829e4..536a59424 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -144,6 +144,7 @@ struct t_config_option *config_color_nicklist_separator; /* config, completion section */ +struct t_config_option *config_completion_default_template; struct t_config_option *config_completion_nick_completor; struct t_config_option *config_completion_nick_first_only; struct t_config_option *config_completion_nick_ignore_chars; @@ -1597,6 +1598,13 @@ config_weechat_init_options () return 0; } + config_completion_default_template = config_file_new_option ( + weechat_config_file, ptr_section, + "default_template", "string", + N_("default completion template (please see documentation for template " + "codes and values)"), + NULL, 0, 0, "%n|%(irc_channels)", NULL, 0, + NULL, NULL, NULL, NULL, NULL, NULL); config_completion_nick_completor = config_file_new_option ( weechat_config_file, ptr_section, "nick_completor", "string", |