On Fri, 9 Mar 2012 15:15:28 -0800 (PST) Darrell Anderson humanreadable@yahoo.com wrote:
To me the root problem of your description is why kate is not detecting the file type. I have seen this often enough and is frustrating. Before submitting an enhancement request, perhaps browse the code to learn how detection functions. Possibly an extra if-then statement or equivalent is all that is needed to address some of these shortcomings.
I believe the detection is by file extension (ran into this when adding WesnothML to the list of available highlight types in an older version that didn't have it by default--its extension is also sometimes used by . . . I think it was QuakeScript).