<p>In <a href="https://github.com/geany/geany/pull/629#discussion_r41065268">src/plugins.c</a>:</p>
<pre style='color:#555'>>      gint count = 0;
>  
>    list = utils_get_file_list(path, NULL, NULL);
>  
>    for (item = list; item != NULL; item = g_slist_next(item))
>    {
> -          tmp = strrchr(item->data, '.');
> -          if (tmp == NULL || utils_str_casecmp(tmp, "." G_MODULE_SUFFIX) != 0)
> -                  continue;
> +          gchar *fname = g_build_filename(path, item->data, NULL);
> +          PluginProxy *proxy = is_plugin(fname);
> +
> +          if (proxy != NULL && plugin_new(proxy->plugin, fname, FALSE, TRUE))
> +                          count++;
</pre>
<p>weird indentation</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/629/files#r41065268">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ_ph52MT2UIUcucBocuYgWYaVSUgks5o3uNDgaJpZM4Fy7fG.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/629/files#r41065268"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>