소스 검색

added more keywords from core

Daniel-Constantin Mierla 5 년 전
부모
커밋
cc5e2bee4e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      kamailio-mode.el

+ 2 - 2
kamailio-mode.el

@@ -3,9 +3,9 @@
 (setq kamailio-font-lock-keywords
       (let* (
             ;; define keywords
-            (x-keywords '("branch_route" "break" "case" "default" "else" "event_route" "exit" "failure_route" "for" "if" "loadmodule" "onreply_route" "onsend_route" "reply_route" "request_route" "return" "route" "switch" "while"))
+            (x-keywords '("branch_route" "break" "case" "default" "else" "event_route" "exit" "drop" "failure_route" "for" "if" "loadmodule" "onreply_route" "onsend_route" "reply_route" "request_route" "return" "route" "switch" "while"))
             (x-types '())
-            (x-constants '("ACK" "TCP" "TLS" "UDP"))
+            (x-constants '("ACK" "TCP" "TLS" "UDP" "SCTP" "WS" "WSS" "INET" "INET6" "myself" "uri" "from_uri" "to_uri"))
             (x-events '())
             ;; define functions
             (x-functions '("acc_db_request" "add_path_received" "add_rr_param" "allow_routing" "allow_source_address" "allow_trusted" " allow_uri" "append_hf" "append_to_reply" "avp_check" "avp_delete" "change_reply_status" "check_route_param" "DEBUG" "defined" "dp_translate" "ERROR" "fix_nated_sdp" "force_rport" "force_send_socket" "forward" "get_redirects" "handle_ruri_alias" "has_totag" "http_client_query" "inactivate_gw" "INFO" "in_list" "isflagset" "is_avp_set" "isbflagset" "is_direction" "is_first_hop" "is_domain_local" "is_e164" "is_gflag" "is_gruu" "is_method" "is_numeric" "is_present_hf" "is_tel_number" "jsonrpc_dispatch" "load_gws" "lookup_domain" "lookup" "loose_route" "maxfwd_process" "modparam" "m_store" "mt_match" "nat_uac_test" "next_gw" "NOTICE" "pike_check_req" "proxy_challenge" "record_route" "redirecting" "remove_hf" "resetflag" "rtpengine_answer" "rtpengine_delete" "rtpengine_offer" "save" "sanity_check" "sdp_content" "sdp_transport" "sdp_with_codecs_by_name" "send_reply_mode" "send_reply" "setbflag" "setflag" "setxflag" "set_reply_close" "set_reply_no_connect" "set_rtpengine_set" "set_uri_host" "set_uri_user" "set_forward_no_connect" "sipdump_send" "sql_query" "sql_result_free" "starts_with" "subst_uri" "subst_user" "tel2sip" "t_branch_replied" "t_branch_timeout" "t_check_status" "t_check_trans" "t_is_canceled" "t_is_set" "t_load_contacts" "t_lookup_cancel" "t_next_contacts" "t_on_branch" "t_on_failure" "t_on_reply" "t_precheck_trans" "t_relay_cancel" "t_relay" "t_set_fr" "unregister" "WARN" "ws_handle_handshake" "www_challenge" "xerr" "xhttp_reply" "xdbg" "xinfo" "xnotice" "xwarn"))