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/misc/extra/vim
Victor Seva 402fd75e65
New upstream version 5.5.0
4 years ago
..
ftdetect Imported Upstream version 5.1.2 7 years ago
syntax New upstream version 5.5.0 4 years ago
Makefile Imported Upstream version 5.1.2 7 years ago
README Imported Upstream version 5.1.2 7 years ago

README

Overview
--------

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

Install
-------

Run 'make install' in this folder, or:
	- copy ftdetect/kamailio.vim to ~/.vim/ftdetect/kamailio.vim
	- copy syntax/kamailio.vim to ~/.vim/syntax/kamailio.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 kamailio