On 04.11.2009 21:45 Uhr, Iñaki Baz Castillo wrote:
El Miércoles, 4 de Noviembre de 2009, Daniel-Constantin Mierla escribió:
Hello,
I updated the vim syntax file for Kamailio 3.0 and SR3.0/devel. I attached 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.
To install, copy the files in your home dir - see the hints inside each file to know which one to place where:
.vim/syntax/ser.vim .vim/ftdetect/ser.vim
If you don't install the file type detect script, then you can use ":setf ser" once you opened the config file.
Thanks a lot. Hope somebody does the same for Kate editor :)
it works for Kvim :-) -- beautiful, see: http://by-miconda.blogspot.com/2009/11/vim-syntax-file-for-kamailio-30.html
Cheers, Daniel