Skip to content

Commit c771a93

Browse files
committed
kate: add note about &rustIdent;
1 parent 8596535 commit c771a93

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/etc/kate/rust.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE language SYSTEM "language.dtd"
33
[
4+
<!-- TODO: Kate's regex engine has very limited support for
5+
predefined char classes, so making rustIdent consistent with actual
6+
Rust identifiers will be a bit difficult -->
47
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
58
]>
69
<language name="Rust" version="0.6" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">

0 commit comments

Comments
 (0)