File: README

package info (click to toggle)
kamailio 6.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 70,472 kB
  • sloc: ansic: 859,394; xml: 203,514; makefile: 9,688; sh: 9,105; sql: 8,571; yacc: 4,121; python: 3,086; perl: 2,955; java: 449; cpp: 289; javascript: 270; php: 258; ruby: 248; awk: 27
file content (22 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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