Handle failure of reading named style by trying to read it as a named color
[geany-mirror.git] / data / filetypes.cpp
blob85cf4adb4e6543375de8a41f502ae5bda26c3771
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=and and_eq asm auto bitand bitor bool break case catch char class compl const const_cast continue default delete do double dynamic_cast else enum explicit export extern false float for friend goto if inline int long mutable namespace new not not_eq operator or or_eq private protected public register reinterpret_cast return short signed sizeof static static_cast struct switch template this throw true try typedef typeid typename union unsigned using virtual void volatile wchar_t while xor xor_eq
7 secondary=
8 # these are some doxygen keywords (incomplete)
9 docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return see since struct throw todo typedef var version warning union
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 ifdef ifndef
16 preprocessor.middle.$(file.patterns.cpp)=else elif
17 preprocessor.end.$(file.patterns.cpp)=endif
19 [settings]
20 lexer_filetype=C
22 # default extension used when saving files
23 extension=cpp
25 # the following characters are these which a "word" can contains, see documentation
26 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
28 # single comments, like # in this file
29 comment_single=//
30 # multiline comments
31 comment_open=/*
32 comment_close=*/
34 # set to false if a comment character/string should start at column 0 of a line, true uses any
35 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
36 #command_example();
37 # setting to false would generate this
38 # command_example();
39 # This setting works only for single line comments
40 comment_use_indent=true
42 # context action command (please see Geany's main documentation for details)
43 context_action_cmd=
45 [indentation]
46 #width=4
47 # 0 is spaces, 1 is tabs, 2 is tab & spaces
48 #type=1
50 [build_settings]
51 # %f will be replaced by the complete filename
52 # %e will be replaced by the filename without extension
53 # (use only one of it at one time)
54 compiler=g++ -Wall -c "%f"
55 linker=g++ -Wall -o "%e" "%f"
56 run_cmd="./%e"