|
@@ -1,15 +1,15 @@
|
|
Overview
|
|
Overview
|
|
--------
|
|
--------
|
|
|
|
|
|
-Vim scripts to auto-detect SER and Kamailio configuration files and
|
|
|
|
|
|
+Vim scripts to auto-detect Kamailio configuration files and
|
|
enable syntax highlighting for them.
|
|
enable syntax highlighting for them.
|
|
|
|
|
|
Install
|
|
Install
|
|
-------
|
|
-------
|
|
|
|
|
|
Run 'make install' in this folder, or:
|
|
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
|
|
|
|
|
|
+ - copy ftdetect/kamailio.vim to ~/.vim/ftdetect/kamailio.vim
|
|
|
|
+ - copy syntax/kamailio.vim to ~/.vim/syntax/kamailio.vim
|
|
|
|
|
|
Usage
|
|
Usage
|
|
-----
|
|
-----
|
|
@@ -17,4 +17,6 @@ Usage
|
|
- autodetection is based on .cfg extension and match of #!SER,
|
|
- autodetection is based on .cfg extension and match of #!SER,
|
|
#!KAMAILIO (and other variants), modparam or route keywords in
|
|
#!KAMAILIO (and other variants), modparam or route keywords in
|
|
first 400 lines of file. You can enable syntax highlighting for files
|
|
first 400 lines of file. You can enable syntax highlighting for files
|
|
-not auto-detected with vim command: "setf ser".
|
|
|
|
|
|
+not auto-detected with vim command:
|
|
|
|
+
|
|
|
|
+ setf kamailio
|