<p></p>
<p><b>@xiota</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2943#discussion_r738774517">src/editor.c</a>:</p>
<pre style='color:#555'>>  
 static void auto_close_chars(ScintillaObject *sci, gint pos, gchar c)
 {
        const gchar *closing_char = NULL;
-       gint end_pos = -1;
-
-       if (utils_isbrace(c, 0))
-               end_pos = sci_find_matching_brace(sci, pos - 1);
</pre>
<p>As far as I can tell, the autoclose plugin does not do any checking for whether Geany is already autoclosing. Yet when both the plugin and Geany autoclose are enabled, only a single closing brace appears in the editor. It's possible that Geany not closing braces when a matching brace is found is why the plugin does not "conflict" with built-in autoclose. (See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1038774758" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2970" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2970/hovercard" href="https://github.com/geany/geany/issues/2970">#2970</a>.)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2943#discussion_r738774517">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4KOME5B7M2QAQYIADUJG3GXANCNFSM5GBHXS3Q">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ3TD2VJBLU3P4RZOLLUJG3GXA5CNFSM5GBHXS32YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOF45XRRI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2943#discussion_r738774517",
"url": "https://github.com/geany/geany/pull/2943#discussion_r738774517",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>