The Autodesk EAGLE uses plain XML format since a few years, and I think it would be useful to load the proper syntax highlighting in Kate automatically.
Details
- Reviewers
dhaumann - Group Reviewers
Framework: Syntax Highlighting
Create an XML file.
Rename it to foo.sch
Open it in kate
The syntax highlighting should be OK.
Rename the foo.sch to foo.brd
Open it in kate
The syntax highlighting should be OK.
Diff Detail
- Repository
- R216 Syntax Highlighting
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Git commit 106694b84c2baf2aa390dc17107912f0eb16f09c by Christoph Cullmann, on behalf of Miklos Marton.
Committed on 13/08/2018 at 08:21.
Pushed by cullmann into branch 'master'.
Add Autodesk EAGLE sch and brd file format to the XML category
M +1 -1 data/syntax/xml.xml
https://commits.kde.org/syntax-highlighting/106694b84c2baf2aa390dc17107912f0eb16f09c
diff --git a/data/syntax/xml.xml b/data/syntax/xml.xml
index 035bba6..ad34a45 100644
- a/data/syntax/xml.xml
+++ b/data/syntax/xml.xml
@@ -6,7 +6,7 @@
<!ENTITY name "(?![0-9])[\w_:][\w.:_-]*"> <!ENTITY entref "&(#[0-9]+|#[xX][0-9A-Fa-f]+|&name;">
]>
-<language name="XML" version="8" kateversion="3.4" section="Markup" extensions="*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl;*.scxml;*.xbel;*.dae" mimetype="text/xml;text/book;text/daml;text/rdf;application/rss+xml;application/xspf+xml;image/svg+xml;application/x-designer;application/x-xbel;application/xml;application/scxml+xml" casesensitive="1" indenter="xml" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
+<language name="XML" version="9" kateversion="3.4" section="Markup" extensions="*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl;*.scxml;*.xbel;*.dae;*.sch;*.brd" mimetype="text/xml;text/book;text/daml;text/rdf;application/rss+xml;application/xspf+xml;image/svg+xml;application/x-designer;application/x-xbel;application/xml;application/scxml+xml" casesensitive="1" indenter="xml" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">