File tree 5 files changed +5
-6
lines changed
gtksourceview-3.0/language-specs
5 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,8 @@ To build an executable from a source file with a main function:
122
122
To build a library from a source file:
123
123
$ rustc --lib hello-lib.rs
124
124
125
- To build either with a crate (.rc ) file:
126
- $ rustc hello.rc
125
+ To build either with a crate (.rs ) file:
126
+ $ rustc hello.rs
127
127
128
128
To build an executable with debug info (experimental):
129
129
$ rustc -Z debug-info -o hello hello.rs
Original file line number Diff line number Diff line change 5
5
<language id =" rust" _name =" Rust" version =" 2.0" _section =" Sources" >
6
6
<metadata >
7
7
<property name =" mimetypes" >text/x-rust</property >
8
- <property name =" globs" >*.rs;*.rc </property >
8
+ <property name =" globs" >*.rs</property >
9
9
<property name =" line-comment-start" >//</property >
10
10
<property name =" block-comment-start" >/*</property >
11
11
<property name =" block-comment-end" >*/</property >
Original file line number Diff line number Diff line change 2
2
<mime-type type =" text/x-rust" >
3
3
<comment >Rust Source</comment >
4
4
<glob pattern =" *.rs" />
5
- <glob pattern =" *.rc" />
6
5
</mime-type >
7
6
</mime-info >
Original file line number Diff line number Diff line change 7
7
<!ENTITY rustIdent " [a-zA-Z_][a-zA-Z_0-9]*" >
8
8
<!ENTITY rustIntSuf " ([iu](8|16|32|64)?)?" >
9
9
]>
10
- <language name =" Rust" version =" 0.10-pre" kateversion =" 2.4" section =" Sources" extensions =" *.rs;*.rc " mimetype =" text/x-rust" priority =" 15" >
10
+ <language name =" Rust" version =" 0.10-pre" kateversion =" 2.4" section =" Sources" extensions =" *.rs" mimetype =" text/x-rust" priority =" 15" >
11
11
<highlighting >
12
12
<list name =" fn" >
13
13
<item > fn </item >
Original file line number Diff line number Diff line change 1
- au BufRead ,BufNewFile *.rs,*.rc set filetype = rust
1
+ au BufRead ,BufNewFile *.rs set filetype = rust
You can’t perform that action at this time.
0 commit comments