remove old rc extension from detection files
This commit is contained in:
parent
fce792249e
commit
a2dab3c46e
5 changed files with 5 additions and 6 deletions
|
@ -122,8 +122,8 @@ To build an executable from a source file with a main function:
|
||||||
To build a library from a source file:
|
To build a library from a source file:
|
||||||
$ rustc --lib hello-lib.rs
|
$ rustc --lib hello-lib.rs
|
||||||
|
|
||||||
To build either with a crate (.rc) file:
|
To build either with a crate (.rs) file:
|
||||||
$ rustc hello.rc
|
$ rustc hello.rs
|
||||||
|
|
||||||
To build an executable with debug info (experimental):
|
To build an executable with debug info (experimental):
|
||||||
$ rustc -Z debug-info -o hello hello.rs
|
$ rustc -Z debug-info -o hello hello.rs
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<language id="rust" _name="Rust" version="2.0" _section="Sources">
|
<language id="rust" _name="Rust" version="2.0" _section="Sources">
|
||||||
<metadata>
|
<metadata>
|
||||||
<property name="mimetypes">text/x-rust</property>
|
<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="line-comment-start">//</property>
|
||||||
<property name="block-comment-start">/*</property>
|
<property name="block-comment-start">/*</property>
|
||||||
<property name="block-comment-end">*/</property>
|
<property name="block-comment-end">*/</property>
|
||||||
|
|
|
@ -2,6 +2,5 @@
|
||||||
<mime-type type="text/x-rust">
|
<mime-type type="text/x-rust">
|
||||||
<comment>Rust Source</comment>
|
<comment>Rust Source</comment>
|
||||||
<glob pattern="*.rs"/>
|
<glob pattern="*.rs"/>
|
||||||
<glob pattern="*.rc"/>
|
|
||||||
</mime-type>
|
</mime-type>
|
||||||
</mime-info>
|
</mime-info>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
|
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
|
||||||
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
|
<!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>
|
<highlighting>
|
||||||
<list name="fn">
|
<list name="fn">
|
||||||
<item> fn </item>
|
<item> fn </item>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
au BufRead,BufNewFile *.rs,*.rc set filetype=rust
|
au BufRead,BufNewFile *.rs set filetype=rust
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue