[geany/geany] a17e37: Test against the lexer instead of the filetype when computing