| 1 |
Overview |
| 2 |
-------- |
| 3 |
|
| 4 |
Vim scripts to auto-detect Kamailio configuration files and |
| 5 |
enable syntax highlighting for them. |
| 6 |
|
| 7 |
Install |
| 8 |
------- |
| 9 |
|
| 10 |
Run 'make install' in this folder, or: |
| 11 |
- copy ftdetect/kamailio.vim to ~/.vim/ftdetect/kamailio.vim |
| 12 |
- copy syntax/kamailio.vim to ~/.vim/syntax/kamailio.vim |
| 13 |
|
| 14 |
Usage |
| 15 |
----- |
| 16 |
|
| 17 |
- autodetection is based on .cfg extension and match of #!SER, |
| 18 |
#!KAMAILIO (and other variants), modparam or route keywords in |
| 19 |
first 400 lines of file. You can enable syntax highlighting for files |
| 20 |
not auto-detected with vim command: |
| 21 |
|
| 22 |
setf kamailio |