On Thursday, 12 November 2020 15:14:23 GMT Keith Edmunds wrote: > I've never used Kate (vim for me), but it sounds as if it is > syntax-highlighting 'connect' in one file and not the other. That suggests > either something else has changed so that 'connect' doesn't make sense, or > there may be some non-visual problem with 'connect' (eg, an 8bit char in > there or - silly examples - you've put "Connect" or "c0nnect" or something > like that).
Kate does do syntax highlighting but it seems to base its decision on the file extension rather than the shebang (which I note in the snippet is in line 3 and not the first line as it usually is). > Do you know / can you find out what blue highlighting means? Or - shudder > - can you open the file in (g)vim and see if it looks OK there? Peter had renamed his file to 'subscriber.py.2' and Kate didn't know what to do with a .2 file. -- Terry Coles -- Next meeting: Online, Jitsi, Tuesday, 2020-12-01 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk