Start to make it easier to compile the core in isolation
[geany-mirror.git] / data / filetypes.vala
blob0f6bbd38864bf8c3c73e0114805115717318e721
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling=C]
4 [keywords]
5 # all items must be in one line
6 primary=abstract as async base bool break callback case catch char class const constpointer construct continue default delegate delete do double dynamic else ensures enum errordomain extern false finally float for foreach generic get global if in inline int int16 int32 int64 int8 interface internal is lock long namespace new null out override owned private protected public ref requires return set sealed short signal size_t sizeof ssize_t static string struct switch this throw throws time_t true try typeof uchar uint uint16 uint32 uint64 uint8 ulong unichar unowned ushort using value var virtual void weak while yield
7 #secondary=
8 # these are the Doxygen and Valadoc keywords
9 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 inheritDoc 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
11 [lexer_properties]
12 styling.within.preprocessor=1
13 lexer.cpp.track.preprocessor=0
14 preprocessor.symbol.$(file.patterns.cpp)=#
15 preprocessor.start.$(file.patterns.cpp)=if
16 preprocessor.middle.$(file.patterns.cpp)=else elif
17 preprocessor.end.$(file.patterns.cpp)=endif
18 lexer.cpp.triplequoted.strings=1
20 [settings]
21 lexer_filetype=C
23 # default extension used when saving files
24 extension=vala
26 # MIME type
27 mime_type=text/x-vala
29 # the following characters are these which a "word" can contains, see documentation
30 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
32 # single comments, like # in this file
33 comment_single=//
34 # multiline comments
35 comment_open=/*
36 comment_close=*/
38 # set to false if a comment character/string should start at column 0 of a line, true uses any
39 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
40 #command_example();
41 # setting to false would generate this
42 # command_example();
43 # This setting works only for single line comments
44 #comment_use_indent=true
46 # context action command (please see Geany's main documentation for details)
47 #context_action_cmd=
49 [indentation]
50 #width=4
51 # 0 is spaces, 1 is tabs, 2 is tab & spaces
52 #type=1
54 [build_settings]
55 # %f will be replaced by the complete filename
56 # %e will be replaced by the filename without extension
57 # (use only one of it at one time)
58 compiler=valac -c "%f"
59 linker=valac "%f"
60 run_cmd=./"%e"