441bab9d3b
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
74 lines
4.4 KiB
Plaintext
74 lines
4.4 KiB
Plaintext
[styling]
|
|
# Each of these (...) refers to the lexer state SCE_ERLANG_(...)
|
|
default=default
|
|
comment=comment
|
|
variable=default
|
|
number=number
|
|
keyword=keyword
|
|
string=string
|
|
operator=operator
|
|
atom=default
|
|
function_name=default,bold
|
|
character=default
|
|
macro=preprocessor
|
|
record=type
|
|
preproc=preprocessor
|
|
node_name=default
|
|
comment_function=comment
|
|
comment_module=comment
|
|
comment_doc=comment
|
|
comment_doc_macro=comment
|
|
atom_quoted=default
|
|
macro_quoted=default
|
|
record_quoted=default
|
|
node_name_quoted=default
|
|
bifs=keyword2
|
|
modules=default
|
|
modules_att=preprocessor
|
|
unknown=default
|
|
|
|
[keywords]
|
|
# all items must be in one line
|
|
keywords=after and andalso band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse query receive rem try when xor
|
|
# Erlang built-in functions (BIFs)
|
|
bifs=erlang: abs adler32 adler32_combine erlang:append_element apply atom_to_binary atom_to_list binary_to_atom binary_to_existing_atom binary_to_list bitstring_to_list binary_to_term bit_size erlang:bump_reductions byte_size erlang:cancel_timer check_process_code concat_binary crc32 crc32_combine date decode_packet delete_module erlang:demonitor disconnect_node erlang:display element erase erlang:error exit float float_to_list erlang:fun_info erlang:fun_to_list erlang:function_exported garbage_collect get erlang:get_cookie get_keys erlang:get_stacktrace group_leader halt erlang:hash hd erlang:hibernate integer_to_list erlang:integer_to_list iolist_to_binary iolist_size is_alive is_atom is_binary is_bitstring is_boolean erlang:is_builtin is_float is_function is_integer is_list is_number is_pid is_port is_process_alive is_record is_reference is_tuple length link list_to_atom list_to_binary list_to_bitstring list_to_existing_atom list_to_float list_to_integer erlang:list_to_integer list_to_pid list_to_tuple load_module erlang:load_nif erlang:loaded erlang:localtime erlang:localtime_to_universaltime make_ref erlang:make_tuple erlang:max erlang:md5 erlang:md5_final erlang:md5_init erlang:md5_update erlang:memory erlang:min module_loaded erlang:monitor monitor_node node nodes now open_port erlang:phash erlang:phash2 pid_to_list port_close port_command erlang:port_command port_connect port_control erlang:port_call erlang:port_info erlang:port_to_list erlang:ports pre_loaded erlang:process_display process_flag process_info processes purge_module put erlang:raise erlang:read_timer erlang:ref_to_list register registered erlang:resume_process round self erlang:send erlang:send_after erlang:send_nosuspend erlang:set_cookie setelement size spawn spawn_link spawn_monitor spawn_opt split_binary erlang:start_timer statistics erlang:suspend_process erlang:system_flag erlang:system_info erlang:system_monitor erlang:system_profile term_to_binary throw time tl erlang:trace erlang:trace_delivered erlang:trace_info erlang:trace_pattern trunc tuple_size tuple_to_list erlang:universaltime erlang:universaltime_to_localtime unlink unregister whereis erlang:yield
|
|
# Erlang preprocessor instructions
|
|
preproc=-define -else -endif -ifdef -ifndef -include -include_lib -undef
|
|
# Erlang module attributes
|
|
module=-behavior -behaviour -compile -created -created_by -export -file -import -module -modified -modified_by -record -revision -spec -type -vsn
|
|
# Erlang documentation helpers
|
|
doc=@author @clear @copyright @deprecated @doc @docfile @end @equiv @headerfile @hidden @private @reference @see @since @spec @throws @title @todo @TODO @type @version
|
|
# Erlang documentation macros
|
|
doc_macro=@date @docRoot @link @module @package @section @time @type @version
|
|
|
|
[settings]
|
|
# default extension used when saving files
|
|
extension=erl
|
|
|
|
# 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=erlc "%f"
|
|
run_cmd=erl "%f"
|