[sr-dev] git:master:ab079178: misc/vim: syntax highlighting for log facility values

Daniel-Constantin Mierla miconda at gmail.com
Tue May 31 17:22:27 CEST 2016


Module: kamailio
Branch: master
Commit: ab079178ab49d8c855f135d85d8e8acfb03ec6bd
URL: https://github.com/kamailio/kamailio/commit/ab079178ab49d8c855f135d85d8e8acfb03ec6bd

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-05-31T17:22:08+02:00

misc/vim: syntax highlighting for log facility values

---

Modified: utils/misc/vim/syntax/kamailio.vim

---

Diff:  https://github.com/kamailio/kamailio/commit/ab079178ab49d8c855f135d85d8e8acfb03ec6bd.diff
Patch: https://github.com/kamailio/kamailio/commit/ab079178ab49d8c855f135d85d8e8acfb03ec6bd.patch

---

diff --git a/utils/misc/vim/syntax/kamailio.vim b/utils/misc/vim/syntax/kamailio.vim
index 6bad5f7..fbafa01 100644
--- a/utils/misc/vim/syntax/kamailio.vim
+++ b/utils/misc/vim/syntax/kamailio.vim
@@ -45,7 +45,7 @@ syn region	kamailioString			matchgroup=Normal start='"' skip='\\"' end='"' conta
 syn match	kamailioVariable		"$[a-zA-Z_][a-zA-Z0-9_]*\(([^)]\+)\)\?" contained
 syn match	kamailioIdentifier		'[a-zA-Z_][a-zA-Z0-9_]*' contained
 syn keyword	kamailioStatement	route if else switch case default break exit return drop while include_file import_file contained
-syn keyword	kamailioSpecial			yes no on off true false enabled disabled contained
+syn keyword	kamailioSpecial			yes no on off true false enabled disabled LOG_LOCAL0 LOG_LOCAL1 LOG_LOCAL2 LOG_LOCAL3 LOG_LOCAL4 LOG_LOCAL5 LOG_LOCAL6 LOG_LOCAL7 contained
 
 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
 




More information about the sr-dev mailing list