geany/geany — comment on commit f31a84869d45980a7ecb27f5a4d6c3588c547eee
File: src/editor.c line 3491
By ntrel:

The switch on filetype was because not all highlighting.c code that used the C lexer necessarily reserved a keyword list for typenames. If they all do now then we can remove the filetype switch.

If we decide to remove editor_lexer_get_type_keyword_idx() then remember to update HACKING.