diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-05-06 10:18:44 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-05-06 10:18:44 +0200 |
commit | df00926d35fcbc7bfaf846f7f86b31c3023e309f (patch) | |
tree | 31a74d5e5621ec2da7ba7baf02c9601882b384d8 /src/core/wee-config.c | |
parent | 90a9a1fb9685a5f1d7bb7f7043e6a368adc4cd70 (diff) | |
download | weechat-df00926d35fcbc7bfaf846f7f86b31c3023e309f.zip |
core: add option weechat.completion.nick_case_sensitive (closes #981)
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r-- | src/core/wee-config.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 54c78bb92..0bbaea4e3 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -264,6 +264,7 @@ struct t_config_option *config_completion_base_word_until_cursor; struct t_config_option *config_completion_command_inline; struct t_config_option *config_completion_default_template; struct t_config_option *config_completion_nick_add_space; +struct t_config_option *config_completion_nick_case_sensitive; struct t_config_option *config_completion_nick_completer; struct t_config_option *config_completion_nick_first_only; struct t_config_option *config_completion_nick_ignore_chars; @@ -4105,6 +4106,12 @@ config_weechat_init_options () "command line)"), NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + config_completion_nick_case_sensitive = config_file_new_option ( + weechat_config_file, ptr_section, + "nick_case_sensitive", "boolean", + N_("case sensitive completion for nicks"), + NULL, 0, 0, "off", NULL, 0, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); config_completion_nick_completer = config_file_new_option ( weechat_config_file, ptr_section, "nick_completer", "string", |