@b4n commented on this pull request.
{
+ GeanyDocument *doc = document_get_current(); + + if (plugin_extension_goto_provided(doc, NULL)) + return plugin_extension_goto_perform(doc, pos, definition);
…or just use `get_current_word_or_sel()`? Not tested, but the click handler (that doesn't handle the selection) should actually be *clearing* the selection by setting the caret+anchor position, so the selection will always be empty in that code path, won't it?