Module: sip-router
Branch: master
Commit: 21ab9b3cf1a93019495e8204fbfe56331614bef9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=21ab9b3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Aug 29 15:54:31 2014 +0200
utils/misc/vim: added newer cfg tokens to vim syntax highlighting
---
utils/misc/vim/syntax/kamailio.vim | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/utils/misc/vim/syntax/kamailio.vim b/utils/misc/vim/syntax/kamailio.vim
index 71a5913..b6a7df5 100644
--- a/utils/misc/vim/syntax/kamailio.vim
+++ b/utils/misc/vim/syntax/kamailio.vim
@@ -34,7 +34,7 @@ syn keyword kamailioTodo TODO FIXME XXX contained
syn
match kamailioOperator '!\|&&\|||\|=[~=]\?\|>\|<\|+\|-\|/\|\*\||\|&\|^\|\~\|defined\|eq\|ieq\|ne\|ine\|mod'
display contained
syn region kamailioCppComment start='/\*' end='\*/'
contains=kamailioTodo
-syn
match kamailioHashDefine '#!define\s\|#!ifdef\s\|#!ifndef\s\|#!endif\|#!else\|#!substdef\|#!subst\|!!define\s\|!!ifdef\s\|!!ifndef\s\|!!endif\|!!else\|!!substdef\|!!subst\|#!KAMAILIO\|#!OPENSER\|#!SER\|#!MAXCOMPAT\|#!ALL'
+syn
match kamailioHashDefine '#!define\s\|#!ifdef\s\|#!ifndef\s\|#!endif\|#!else\|#!substdef\|#!substdefs\|#!subst\|#!trydef\|#!trydefine\|#!redef\|#!redefine\|!!define\s\|!!ifdef\s\|!!ifndef\s\|!!endif\|!!else\|!!substdef\|!!substdefs\|!!subst\|!!trydef\|!!trydefine\|!!redef\|!!redefine\|#!KAMAILIO\|#!OPENSER\|#!SER\|#!MAXCOMPAT\|#!ALL\|#!include_file\|#!import_file\|!!include_file\|!!import_file'
" syn match kamailioHashDefine '^\s*#!.+$'
syn match kamailioHashComment '#[^!].*$\|#$' contains=kamailioTodo
@@ -48,11 +48,11 @@ syn keyword kamailioSpecial yes no on off true false enabled
disabled containe
syn keyword kamailioCoreKeyword af dst_ip dst_port from_uri method msg:len proto status
snd_af snd_ip snd_port snd_proto src_ip src_port to_af to_ip to_port to_proto to_uri uri
uri:host uri:port contained
-syn keyword kamailioCoreValue udp UDP tcp TCP tls TLS sctp SCTP inet INET inet6 INET6
sslv23 SSLv23 SSLV23 sslv2 SSLv2 SSLV2 sslv3 SSLv3 SSLV3 tlsv1 TLSv1 TLSV1 max_len myself
contained
+syn keyword kamailioCoreValue udp UDP tcp TCP tls TLS sctp SCTP ws WS wss WSS inet INET
inet6 INET6 sslv23 SSLv23 SSLV23 sslv2 SSLv2 SSLV2 sslv3 SSLv3 SSLV3 tlsv1 TLSv1 TLSV1
max_len myself contained
-syn keyword kamailioCoreFunction forward forward_tcp forward_udp forward_tls forward_sctp
send send_tcp log error exec force_rport add_rport force_tcp_alias add_tcp_alias udp_mtu
udp_mtu_try_proto setflag resetflag isflagset flags bool setavpflag resetavpflag
isavpflagset avpflags rewritehost sethost seth rewritehostport sethostport sethp
rewritehostporttrans sethostporttrans sethpt rewriteuser setuser setu rewriteuserpass
setuserpass setup rewriteport setport setp rewriteuri seturi revert_uri prefix strip
strip_tail userphone append_branch set_advertised_address set_advertised_port
force_send_socket contained
+syn keyword kamailioCoreFunction forward forward_tcp forward_udp forward_tls forward_sctp
send send_tcp log error exec force_rport add_rport force_tcp_alias add_tcp_alias udp_mtu
udp_mtu_try_proto setflag resetflag isflagset flags bool setavpflag resetavpflag
isavpflagset avpflags rewritehost sethost seth rewritehostport sethostport sethp
rewritehostporttrans sethostporttrans sethpt rewriteuser setuser setu rewriteuserpass
setuserpass setup rewriteport setport setp rewriteuri seturi revert_uri prefix strip
strip_tail userphone append_branch set_advertised_address set_advertised_port
force_send_socket remove_branch clear_branches cfg_select cfg_reset contained
-syn keyword kamailioCoreParameter debug fork log_stderror log_facility log_name log_color
listen alias auto_aliases dns rev_dns dns_try_ipv6 dns_try_naptr dns_srv_lb
dns_srv_loadbalancing dns_udp_pref dns_udp_preference dns_tcp_pref dns_tcp_preference
dns_tls_pref dns_tls_preference dns_sctp_pref dns_sctp_preference dns_retr_time
dns_retr_no dns_servers_no dns_use_search_list dns_search_full_match dns_cache_init
use_dns_cache use_dns_failover dns_cache_flags dns_cache_negative_ttl dns_cache_min_ttl
dns_cache_max_ttl dns_cache_mem dns_cache_gc_interval dns_cache_del_nonexp
dns_cache_delete_nonexpired dst_blacklist_init use_dst_blacklist dst_blacklist_mem
dst_blacklist_expire dst_blacklist_ttl dst_blacklist_gc_interval port statistics maxbuffer
children check_via phone2tel syn_branch memlog mem_log memdbg mem_dbg sip_warning
server_signature reply_to_via user uid group gid chroot workdir wdir mhomed disable_tcp
tcp_children tcp_accept_aliases tcp_send_timeout tcp_connect_timeo
ut tcp_connection_lifetime tcp_poll_method tcp_max_connections tcp_no_connect
tcp_source_ipv4 tcp_source_ipv6 tcp_fd_cache tcp_buf_write tcp_async tcp_conn_wq_max
tcp_wq_max tcp_rd_buf_size tcp_wq_blk_size tcp_defer_accept 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 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_po
licy 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_limit_action
latency_limit_db latency_limit_db mem_join mem_safety msg_time tcp_clone_rcvbuf
tls_max_connections contained
+syn keyword kamailioCoreParameter debug fork log_stderror log_facility log_name log_color
listen alias auto_aliases dns rev_dns dns_try_ipv6 dns_try_naptr dns_srv_lb
dns_srv_loadbalancing dns_udp_pref dns_udp_preference dns_tcp_pref dns_tcp_preference
dns_tls_pref dns_tls_preference dns_sctp_pref dns_sctp_preference dns_retr_time
dns_retr_no dns_servers_no dns_use_search_list dns_search_full_match dns_cache_init
use_dns_cache use_dns_failover dns_cache_flags dns_cache_negative_ttl dns_cache_min_ttl
dns_cache_max_ttl dns_cache_mem dns_cache_gc_interval dns_cache_del_nonexp
dns_cache_delete_nonexpired dst_blacklist_init use_dst_blacklist dst_blacklist_mem
dst_blacklist_expire dst_blacklist_ttl dst_blacklist_gc_interval port statistics maxbuffer
children check_via phone2tel syn_branch memlog mem_log memdbg mem_dbg sip_warning
server_signature reply_to_via user uid group gid chroot workdir wdir mhomed disable_tcp
tcp_children tcp_accept_aliases tcp_send_timeout tcp_connect_timeo
ut tcp_connection_lifetime tcp_poll_method tcp_max_connections tcp_no_connect
tcp_source_ipv4 tcp_source_ipv6 tcp_fd_cache tcp_buf_write tcp_async tcp_conn_wq_max
tcp_wq_max tcp_rd_buf_size tcp_wq_blk_size tcp_defer_accept 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 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_po
licy 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 async_workers max_recursive_level dns_naptr_ignore_rfc
http_reply_parse version_table tcp_accept_no_cl advertise auto_bind_ipv6 sql_buffer_size
pv_buffer_size pv_buffer_slots corelog core_log udp4_raw udp4_raw_mtu udp4_raw_ttl
contained
syn region kamailioBlock start='{' end='}' contained
contains=kamailioBlock,@kamailioCodeElements