[SR-Users] vim syntax file for config
Daniel-Constantin Mierla
miconda at gmail.com
Fri May 29 15:38:31 CEST 2009
Hello,
for xVIM fans, here is attached a syntax file for SIP Router config
file. It is refurbished from an old openser syntax file, updated with
latest config language rules.
It is still missing the 'select' definition, I had no time to search for
the regexp that matches its format, maybe a ser developer can give it
quicker. Of course, it can take other improvement, please feel free to
contribute. If there are many users, we can keep it inside the source
tree, somewhere in the scripts dir.
Probably most of you know, but for newbees:
- place the ser.vim in your home directory under ".vim/syntax/"
- when you edit the config file with vim, run "setf ser"
You can add rules in vim config to auto-detect -- see google for that --
skipping in this way setf command each time you edit a config.
Hope some of you enjoy it,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ser.vim
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090529/23452f16/attachment.txt>
More information about the sr-users
mailing list