please apply this patch to also have bash syntax highliting for *.nix files. diff --git a/xml/bash.xml b/xml/bash.xml index a07de39..07b0562 100644 --- a/xml/bash.xml +++ b/xml/bash.xml @@ -8,7 +8,7 @@ <!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following --> <!ENTITY pathpart "([\w_@.%*?+-]|\\ )"> <!-- valid character in a file name --> ]> -<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> +<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile;*.nix" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> <!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl) Changes by Matthew Woehlke (mw_triad@users.sourceforge.net) Reproducible: Always
Created attachment 99802 [details] highligthing-kate-nix.patch
Git commit 3742e3bfa82f317ca7ffb5cf872b45dcc8d629cb by Christoph Cullmann. Committed on 06/09/2016 at 15:29. Pushed by cullmann into branch 'master'. highlight .nix files as bash, guess can't hurt M +9 -9 src/syntax/data/bash.xml http://commits.kde.org/ktexteditor/3742e3bfa82f317ca7ffb5cf872b45dcc8d629cb