plugins: generic load_data instead of module pointer in Plugin struct
[geany-mirror.git] / data / filetypes.rust
blob713006af5f18a71ce7c59fea7271af788c163347
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 bytestring=string_1
18 bytestringraw=string_2
19 bytecharacter=character
20 operator=operator
21 identifier=identifier_1
22 lifetime=parameter
23 macro=preprocessor
24 lexerror=error
26 [keywords]
27 # all items must be in one line
28 primary=abstract alignof as become box break const continue crate do else enum extern false final fn for if impl in let loop macro match mod move mut offsetof override priv proc pub pure ref return self sizeof static struct super trait true type typeof unsafe unsized use virtual where while yield
29 secondary=bool char f32 f64 i16 i32 i64 i8 isize str u16 u32 u64 u8 usize
30 tertiary=Self
32 [lexer_properties]
33 styling.within.preprocessor=1
34 lexer.cpp.track.preprocessor=0
36 [settings]
37 # default extension used when saving files
38 extension=rs
40 # MIME type
41 mime_type=text/x-rustsrc
43 # single comments, like # in this file
44 comment_single=//
45 # multiline comments
46 comment_open=/*
47 comment_close=*/
49 # set to false if a comment character/string should start at column 0 of a line, true uses any
50 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
51         #command_example();
52 # setting to false would generate this
53 #       command_example();
54 # This setting works only for single line comments
55 comment_use_indent=true
57 # context action command (please see Geany's main documentation for details)
58 context_action_cmd=
60 [indentation]
61 #width=4
62 # 0 is spaces, 1 is tabs, 2 is tab & spaces
63 #type=1
65 [build-menu]
66 FT_00_LB=Compile
67 FT_00_CM=rustc "%f"
68 FT_00_WD=
69 NF_00_LB=Cargo Build
70 NF_00_CM=cargo build
71 NF_00_WD=
72 NF_01_LB=Cargo Test
73 NF_01_CM=cargo test
74 NF_01_WD=
75 NF_02_LB=Cargo Bench
76 NF_02_CM=cargo bench
77 NF_02_WD=
78 EX_00_LB=Run
79 EX_00_CM="./%e"
80 EX_00_WD=
81 EX_01_LB=Cargo Run
82 EX_01_CM=cargo run
83 EX_01_WD=