airosa-id / asterisk-vim

Vim syntax highlighting for Asterisk configuration files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

asterisk-vim

Vim syntax highlight and SnipMate snippets for Asterisk config files.

Snippets for extensions.conf:

  • exten<TAB> - takes exten from the previous string where available
  • same<TAB>

Installation

Using Pathogen:

cd ~/.vim/bundle
git clone git://github.com/ipoddubny/asterisk-vim.git

Manual installation: Copy the files in syntax directory to ~/.vim/syntax/ and place asterisk.snippets to snipmate's snippets directory.

What's new

  • support for multiline comments ;-- --;
  • correct handling of escaped semicolon ; - it's not a comment
  • support for "same =>" prefix in extensions.conf
  • fixed hostname in "host=" for sip.conf, iax.conf, etc
  • a few minor fixes for extensions.conf

About

Vim syntax highlighting for Asterisk configuration files


Languages

Language:Vim Script 100.0%