You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/utils/misc/vim
Victor Seva 28bb5a9977
Imported Upstream version 4.0.2
13 years ago
..
ftdetect merge with upstream 3.3.2 13 years ago
syntax Imported Upstream version 4.0.2 13 years ago
Makefile upstream 4.0.1 version. No sipwise patches. 13 years ago
README upstream 4.0.1 version. No sipwise patches. 13 years ago

README

Overview
--------

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

Install
-------

Run 'make install' in this folder, or:
	- 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".