1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 10:13:12 +02:00

fset: add option fset.look.show_plugin_description

This commit is contained in:
Sébastien Helleu
2017-05-31 21:40:42 +02:00
parent ee3d5474b9
commit f555d588b8
3 changed files with 34 additions and 0 deletions
+7
View File
@@ -207,6 +207,13 @@ int
fset_option_match_filters (const char *config_name, const char *section_name,
struct t_fset_option *fset_option)
{
if (!weechat_config_boolean (fset_config_look_show_plugin_description)
&& (strcmp (config_name, "plugins") == 0)
&& (strcmp (section_name, "desc") == 0))
{
return 0;
}
if (!fset_option_filter || !fset_option_filter[0])
return 1;