Skip to content

ipoddubny/asterisk-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published