README 556 B

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