]> git.xonotic.org Git - xonotic/gmqcc.git/blob - syntax/geany/filetypes.qc
oops
[xonotic/gmqcc.git] / syntax / geany / filetypes.qc
1 [styling]
2 default=default
3 comment=comment
4 commentline=comment_line
5 commentdoc=comment_doc
6 preprocessorcomment=comment
7 number=number_1
8 word=keyword_1
9 word2=keyword_2
10 string=string_1
11 stringraw=string_2
12 character=character
13 uuid=other
14 preprocessor=preprocessor
15 operator=operator
16 identifier=identifier_1
17 stringeol=string_eol
18 verbatim=string_2
19 regex=regex
20 commentlinedoc=comment_line_doc
21 commentdockeyword=comment_doc_keyword
22 commentdockeyworderror=comment_doc_keyword_error
23 globalclass=class
24 tripleverbatim=string_2
25 hashquotedstring=string_2
26
27 [keywords]
28 primary=break case const continue string default do else enum float for goto if return switch typedef void while false nil true
29 secondary=
30 docComment=
31
32 [lexer_properties]
33 styling.within.preprocessor=1
34 lexer.cpp.track.preprocessor=0
35 preprocessor.symbol.$(file.patterns.cpp)=#
36 preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
37 preprocessor.middle.$(file.patterns.cpp)=else elif
38 preprocessor.end.$(file.patterns.cpp)=endif
39
40 [settings]
41 extension=qc
42 comment_single=//
43 comment_open=/*
44 comment_close=*/
45 comment_use_indent=true
46 context_action_cmd=
47
48 [indentation]
49 width=4
50 type=0
51
52 [build_settings]
53 compiler=gmqcc -Wall "%f" -o "%e"
54 linker=
55 run_cmd=qcvm "./%e"