remove old rc extension from detection files

This commit is contained in:
Daniel Micay 2014-01-22 20:36:08 -05:00
parent fce792249e
commit a2dab3c46e
5 changed files with 5 additions and 6 deletions

View File

@ -122,8 +122,8 @@ To build an executable from a source file with a main function:
To build a library from a source file:
$ rustc --lib hello-lib.rs
To build either with a crate (.rc) file:
$ rustc hello.rc
To build either with a crate (.rs) file:
$ rustc hello.rs
To build an executable with debug info (experimental):
$ rustc -Z debug-info -o hello hello.rs

View File

@ -5,7 +5,7 @@
<language id="rust" _name="Rust" version="2.0" _section="Sources">
<metadata>
<property name="mimetypes">text/x-rust</property>
<property name="globs">*.rs;*.rc</property>
<property name="globs">*.rs</property>
<property name="line-comment-start">//</property>
<property name="block-comment-start">/*</property>
<property name="block-comment-end">*/</property>

View File

@ -2,6 +2,5 @@
<mime-type type="text/x-rust">
<comment>Rust Source</comment>
<glob pattern="*.rs"/>
<glob pattern="*.rc"/>
</mime-type>
</mime-info>

View File

@ -7,7 +7,7 @@
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
]>
<language name="Rust" version="0.10-pre" kateversion="2.4" section="Sources" extensions="*.rs;*.rc" mimetype="text/x-rust" priority="15">
<language name="Rust" version="0.10-pre" kateversion="2.4" section="Sources" extensions="*.rs" mimetype="text/x-rust" priority="15">
<highlighting>
<list name="fn">
<item> fn </item>

View File

@ -1 +1 @@
au BufRead,BufNewFile *.rs,*.rc set filetype=rust
au BufRead,BufNewFile *.rs set filetype=rust