Following https://bugs.kde.org/show_bug.cgi?id=365006 kate treats .nix files as bash scripts which is not ideal.
Hi, No one in Kate team uses these files so it's unlikely to get supported soon because no one knows the nix file syntax. However, if someone who uses these files regularly steps up to support it that would be great. No C++ knowledge is required. Maybe you want to help?
Hi, yes, more highlighting modes are naturally welcome. But we can't have issues open for all modes that are missing. If you are interested to help out, even as non-programmer you can provide some patch. See here for docs: https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/README.md
Hi, Thanks for the fast response and the link! I've started learning Nix recently, so it could take a while before I'm comfortable with submitting a patch for it.
It looks like the proper syntax highlighting was added a while ago. I just didn't see them since kubuntu package repos are not bleeding edge. https://kde.org/announcements/frameworks/5/5.88.0/ https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/syntax/nix.xml