geany/data/filetypes.caml
Colomban Wendling 441bab9d3b Add new filetype setting "comment_single"
This provides separated single-line and multiline comment support.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-20 15:02:22 +00:00

56 lines
2.0 KiB
Plaintext

# For complete documentation of this file, please see Geany's main documentation
[styling]
# foreground;background;bold;italic
default=0x000000;0xffffff;false;false
comment=0x808080;0xffffff;false;false
comment1=0x808080;0xffffff;false;false
comment2=0x808080;0xffffff;false;false
comment3=0x808080;0xffffff;false;false
number=0x7f7f00;0xffffff;false;false
keyword=0x001a7f;0xffffff;true;false
keyword2=0x7f0000;0xffffff;true;false
string=0x7f007f;0xffffff;false;false
char=0x7f007f;0xffffff;false;false
operator=0x000000;0xffffff;false;false
identifier=0x111199;0xffffff;false;false
tagname=0x000000;0xffe0ff;true;false
linenum=0x000000;0xc0c0c0;false;false
[keywords]
# all items must be in one line
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
keywords_optional=option Some None ignore ref
[settings]
# default extension used when saving files
extension=ml
# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# single comments, like # in this file
#comment_single=
# multiline comments
comment_open=(*
comment_close=*)
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=true
# context action command (please see Geany's main documentation for details)
context_action_cmd=
[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=ocamlc -c "%f"
linker=ocamlc -o "%e" "%f"
run_cmd="./%e"