Update mappings for new Scintilla
[geany-mirror.git] / data / filetypes.c
blob2f1e5c68083e89376e46f67740a0b94686083f99
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 comment=comment
6 commentline=comment_line
7 commentdoc=comment_doc
8 preprocessorcomment=comment
9 preprocessorcommentdoc=comment_doc
10 number=number_1
11 word=keyword_1
12 word2=keyword_2
13 string=string_1
14 stringraw=string_2
15 character=character
16 userliteral=other
17 uuid=other
18 preprocessor=preprocessor
19 operator=operator
20 identifier=identifier_1
21 stringeol=string_eol
22 verbatim=string_2
23 regex=regex
24 commentlinedoc=comment_line_doc
25 commentdockeyword=comment_doc_keyword
26 commentdockeyworderror=comment_doc_keyword_error
27 globalclass=class
28 # """verbatim"""
29 tripleverbatim=string_2
30 hashquotedstring=string_2
32 [keywords]
33 # all items must be in one line
34 primary=asm auto break case char const continue default do double else enum extern float for goto if inline int long register restrict return short signed sizeof static struct switch typedef union unsigned void volatile while FALSE NULL TRUE
35 secondary=
36 # these are the Doxygen keywords
37 docComment=a addindex addtogroup anchor arg attention author authors b brief bug c callergraph callgraph category cite class code cond copybrief copydetails copydoc copyright date def defgroup deprecated details dir dontinclude dot dotfile e else elseif em endcode endcond enddot endhtmlonly endif endinternal endlatexonly endlink endmanonly endmsc endrtfonly endverbatim endxmlonly enum example exception extends file fn headerfile hideinitializer htmlinclude htmlonly if ifnot image implements include includelineno ingroup interface internal invariant latexonly li line link mainpage manonly memberof msc mscfile n name namespace nosubgrouping note overload p package page par paragraph param post pre private privatesection property protected protectedsection protocol public publicsection ref related relatedalso relates relatesalso remark remarks result return returns retval rtfonly sa section see short showinitializer since skip skipline snippet struct subpage subsection subsubsection tableofcontents test throw throws todo tparam typedef union until var verbatim verbinclude version warning weakgroup xmlonly xrefitem
39 [lexer_properties]
40 styling.within.preprocessor=1
41 lexer.cpp.track.preprocessor=0
42 preprocessor.symbol.$(file.patterns.cpp)=#
43 preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
44 preprocessor.middle.$(file.patterns.cpp)=else elif
45 preprocessor.end.$(file.patterns.cpp)=endif
47 [settings]
48 # default extension used when saving files
49 extension=c
51 # the following characters are these which a "word" can contains, see documentation
52 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
54 # single comments, like # in this file
55 comment_single=//
56 # multiline comments
57 comment_open=/*
58 comment_close=*/
60 # set to false if a comment character/string should start at column 0 of a line, true uses any
61 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
62 #command_example();
63 # setting to false would generate this
64 # command_example();
65 # This setting works only for single line comments
66 comment_use_indent=true
68 # context action command (please see Geany's main documentation for details)
69 context_action_cmd=
71 [indentation]
72 #width=4
73 # 0 is spaces, 1 is tabs, 2 is tab & spaces
74 #type=1
76 [build_settings]
77 # %f will be replaced by the complete filename
78 # %e will be replaced by the filename without extension
79 # (use only one of it at one time)
80 compiler=gcc -Wall -c "%f"
81 linker=gcc -Wall -o "%e" "%f"
82 run_cmd="./%e"