2
0
Daniel-Constantin Mierla bae37685f2 utils/misc: few updates to vim syntax highlighting 13 жил өмнө
..
ftdetect bae37685f2 utils/misc: few updates to vim syntax highlighting 13 жил өмнө
syntax bae37685f2 utils/misc: few updates to vim syntax highlighting 13 жил өмнө
README 4e46984428 utils/misc: added vim syntax and auto-detect scripts 15 жил өмнө

README

Vim scripts to auto-detect SER and Kamailio configuration files and
enable syntax highlighting for them.

Install:

- copy ftdetect/ser.vim to ~/.vim/ftdetect/ser.vim
- copy syntax/ser.vim to ~/.vim/syntax/ser.vim

Usage:

- autodetection is based on .cfg extension and match of #!SER,
#!KAMAILIO (and other variants), modparam or route keywords in
first 400 lines of file. You can enable syntax highlighting for files
not auto-detected with vim command: "setf ser".