Remove line number zoom hack as it is no longer necessary
[geany-mirror.git] / data / filetypes.rust
blob4997bacd3ea05fefaafc8a4d85e7ed9853d58a43
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # Edit these in the colorscheme .conf file instead
4 default=default
5 commentblock=comment
6 commentline=comment_line
7 commentblockdoc=comment_doc
8 commentlinedoc=comment_doc
9 number=number_1
10 word=keyword_1
11 word2=keyword_2
12 word3=keyword_3
13 word4=type
14 string=string_1
15 stringraw=string_2
16 character=character
17 operator=operator
18 identifier=identifier_1
19 lifetime=parameter
20 macro=preprocessor
21 lexerror=error
23 [keywords]
24 # all items must be in one line
25 primary=alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self sizeof static struct super trait true type typeof unsafe unsized use while yield
26 secondary=bool char f32 f64 i16 i32 i64 i8 int str u16 u32 u64 u8 uint
27 tertiary=Self
29 [lexer_properties]
30 styling.within.preprocessor=1
31 lexer.cpp.track.preprocessor=0
33 [settings]
34 # default extension used when saving files
35 extension=rs
37 # MIME type
38 mime_type=text/x-rustsrc
40 # single comments, like # in this file
41 comment_single=//
42 # multiline comments
43 comment_open=/*
44 comment_close=*/
46 # set to false if a comment character/string should start at column 0 of a line, true uses any
47 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
48         #command_example();
49 # setting to false would generate this
50 #       command_example();
51 # This setting works only for single line comments
52 comment_use_indent=true
54 # context action command (please see Geany's main documentation for details)
55 context_action_cmd=
57 [indentation]
58 #width=4
59 # 0 is spaces, 1 is tabs, 2 is tab & spaces
60 #type=1
62 [build_settings]
63 # %f will be replaced by the complete filename
64 # %e will be replaced by the filename without extension
65 # (use only one of it at one time)
66 compiler=rustc "%f"
67 linker=rustc -o "%e" "%f"
68 run_cmd="./%e"