|
@@ -37,7 +37,7 @@ syn match kamailioOperator '!\|&&\|||\|=[~=]\?\|>\|<\|+\|-\|/\|\*\||\|&\|^\|\~'
|
|
|
syn keyword kamailioOperatorWord defined eq ieq ne ine mod and or not contained
|
|
|
|
|
|
syn region kamailioCppComment start='/\*' end='\*/' contains=kamailioTodo
|
|
|
-syn match kamailioHashDefine '#!define\s\|#!ifdef\s\|#!ifndef\s\|#!endif\|#!else\|#!substdef\|#!substdefs\|#!subst\|#!trydef\|#!trydefine\|#!redef\|#!redefine\|#!defenv\|!!define\s\|!!ifdef\s\|!!ifndef\s\|!!endif\|!!else\|!!substdef\|!!substdefs\|!!subst\|!!trydef\|!!trydefine\|!!redef\|!!redefine\|!!defenv\|#!KAMAILIO\|#!OPENSER\|#!SER\|#!MAXCOMPAT\|#!ALL\|#!include_file\|#!import_file\|!!include_file\|!!import_file'
|
|
|
+syn match kamailioHashDefine '#!define\s\|#!ifdef\s\|#!ifndef\s\|#!endif\|#!else\|#!substdef\|#!substdefs\|#!subst\|#!trydef\|#!trydefine\|#!redef\|#!redefine\|#!defenv\|!!define\s\|!!ifdef\s\|!!ifndef\s\|!!endif\|!!else\|!!substdef\|!!substdefs\|!!subst\|!!trydef\|!!trydefine\|!!redef\|!!redefine\|!!defenv\|#!KAMAILIO\|#!OPENSER\|#!SER\|#!MAXCOMPAT\|#!ALL\|#!include_file\|#!import_file\|!!include_file\|!!import_file\|include_file\|import_file'
|
|
|
" syn match kamailioHashDefine '^\s*#!.+$'
|
|
|
syn match kamailioHashComment '#[^!].*$\|#$' contains=kamailioTodo
|
|
|
syn match kamailioSlashSlashComment '//.*$\|//#$' contains=kamailioTodo
|
|
@@ -71,7 +71,7 @@ syn keyword kamailioCoreParameter memdbg mem_dbg sip_warning server_signature re
|
|
|
syn keyword kamailioCoreParameter tcp_delayed_ack tcp_syncnt tcp_linger2 tcp_keepalive tcp_keepidle tcp_keepintvl tcp_keepcnt tcp_crlf_ping disable_tls tls_disable enable_tls tls_enable tlslog tls_log tls_port_no tls_method tls_verify tls_require_certificate tls_certificate tls_private_key tls_ca_list tls_handshake_timeout tls_send_timeout disable_sctp enable_sctp sctp_children sctp_socket_rcvbuf sctp_socket_receive_buffer sctp_socket_sndbuf sctp_socket_send_buffer sctp_autoclose sctp_send_ttl sctp_send_retries socket_workers contained
|
|
|
syn keyword kamailioCoreParameter advertised_address advertised_port disable_core_dump open_files_limit shm_force_alloc mlock_pages real_time rt_prio rt_policy rt_timer1_prio rt_fast_timer_prio rt_ftimer_prio rt_timer1_policy rt_ftimer_policy rt_timer2_prio rt_stimer_prio rt_timer2_policy rt_stimer_policy mcast_loopback mcast_ttl tos pmtu_discovery exit_timeout ser_kill_timeout max_while_loops stun_refresh_interval stun_allow_stun stun_allow_fp server_id description descr desc loadpath mpath fork_delay modinit_delay http_reply_hack latency_log latency_limit_action latency_limit_db mem_join mem_safety msg_time tcp_clone_rcvbuf tls_max_connections contained
|
|
|
syn keyword kamailioCoreParameter async_workers async_workers_group max_recursive_level dns_naptr_ignore_rfc http_reply_parse version_table tcp_accept_no_cl advertise name auto_bind_ipv6 sql_buffer_size pv_buffer_size pv_buffer_slots corelog core_log udp4_raw udp4_raw_mtu udp4_raw_ttl onsend_route_reply max_branches dns_cache_rec_pref run_dir async_usleep async_nonblock log_engine_type log_engine_data cfgengine xavp_via_params xavp_via_fields kemi.event_route_callback route_locks_size kemi.reply_route_callback kemi.onsend_route_callback ip_free_bind ip_nonlocal_bind contained
|
|
|
-syn keyword kamailioCoreParameter pv_cache_limit pv_cache_action verbose_startup tcp_accept_haproxy received_route_mode bind_ipv6_link_local latency_limit_cfg tcp_accept_unique tcp_connection_match uri_host_extra_chars stats_name_separator sip_parser_log hdr_name_extra_chars ipv6_hex_style sip_parser_mode contained
|
|
|
+syn keyword kamailioCoreParameter pv_cache_limit pv_cache_action verbose_startup tcp_accept_haproxy received_route_mode bind_ipv6_link_local latency_limit_cfg latency_cfg_log tcp_accept_unique tcp_connection_match uri_host_extra_chars stats_name_separator sip_parser_log hdr_name_extra_chars ipv6_hex_style sip_parser_mode contained
|
|
|
|
|
|
syn region kamailioBlock start='{' end='}' transparent contained contains=kamailioBlock,@kamailioCodeElements
|
|
|
|