Update Scintilla keywords and highlighting when changing document tabs
[geany-mirror.git] / data / filetypes.caml
blob2738ff29f5b0b1c4a51b7f4c791d81f64b9bee59
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 comment1=comment
7 comment2=comment
8 comment3=comment
9 number=number_1
10 keyword=keyword_1
11 keyword2=keyword_2
12 string=string_1
13 char=string_1
14 operator=operator
15 identifier=identifier_1
16 tagname=preprocessor
17 linenum=number_2
19 [keywords]
20 # all items must be in one line
21 keywords=and as assert asr begin class constraint do done downto else end exception external false for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new object of open or private rec sig struct then to true try type val virtual when while with
22 keywords_optional=option Some None ignore ref
25 [settings]
26 # default extension used when saving files
27 extension=ml
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=ocamlc -c "%f"
59 linker=ocamlc -o "%e" "%f"
60 run_cmd="./%e"