kamailio/misc/extra/vim
Xenofon Karamanos d0da89861a Revert "misc: make: Remove Makefiles"
This reverts commit a388ff26bc.
2026-03-18 12:44:37 +00:00
..
ftdetect core: relocated some folders from root and utils to misc 2016-12-07 12:46:38 +01:00
syntax misc: syntax/kamailio.vim - blocklist parameters 2020-10-30 13:55:33 +01:00
Makefile Revert "misc: make: Remove Makefiles" 2026-03-18 12:44:37 +00:00
README core: relocated some folders from root and utils to misc 2016-12-07 12:46:38 +01:00

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