An idea:
Right now, changes of files are taken only for *.c and *.h But since we now these extensions, we can choose the most suitable language parser. So there is no need to want from user to set language parser manually and we can let the application to process all files that it has parser for.