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

Looks sensible, but I'd naively think it'd be better to check the lexer rather than the filetype: isn't the lexer that's supposed to support or not the keywords?

Basically: WTF the switch on filetype is for?