Hello everyone,

I'm having trouble with the Kate text editor. Last year I was running Kubuntu and Kate would recognize file types and open in the appropriate mode. For example, if in the terminal I typed:

kate script.cpp

Kate would open with c++ highlighting and indenting. On OpenSUSE however, this doesn't happen. Kate opens in normal mode when I type the above command. Does anyone know how I can get Kate to recognize the .cpp suffix and open in the correct mode? Any help is appreciated.