I updated the vim syntax file for Kamailio 3.0 and SR3.0/devel. There is now as well a script to auto-detect the type of .cfg file based on matching compatibility string (i.e., #!XYZ), loadmodule or main route line.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHHBa1aC5AwbA3oXjXoqKMWHY4cvFivTvIAjsm8gOnzTPCeWV1WNjqoQ2qqJ7oXgitvtMAm4hMYSuiTE4DijurMnRfSusMnEWlFG6iHWDy5tlMVj-kRT_Ltbt8zsVwSre8mZerSSHWHtns/s320/vim-ser-syntax.png)
To install, copy the files in your home dir (see the hints inside each file to know which one to place where):
If you don't install the file type detect script, then you can use ":setf ser" once you opened the config file.
No comments:
Post a Comment