Actually if we want that to work for all languages, we could make it technical: trust_file_scope (which is really what this flags is about: whether we want to trust uctags' isFileScope)
Isn't the real question if the Geany flag is a copy of isFileScope or our own heuristic, or some combination of both? For example where does it leave our own heuristic "inter-language symbols not allowed".
Isn't that what causes #3454 where symbols from `*.foo` are not visible in C code?