A naphthalene benzimidazole-based chemosensor for the colorimetric and on-off fluorescent detection of fluoride ion.