Emacs extension for kamailio.cfg syntax highlighting

Daniel-Constantin Mierla bcc4ed8d6e keywords for ip, port, af and method 4 年之前
.gitignore 28358de165 Initial commit 4 年之前
LICENSE 28358de165 Initial commit 4 年之前
README.md c26679fdb3 Update README.md 4 年之前
kamailio-mode.el bcc4ed8d6e keywords for ip, port, af and method 4 年之前

README.md

emacs-kamailio-syntax

Emacs mode for kamailio.cfg syntax highlighting and indentation

  • Save kamailio-mode.el somewhere in your file system.

  • Load the module in your Emacs Initialization File:

    (load "path_to_kamalio-mode.el")
    
  • To activate the mode, tell it on the first nonblank line of your kamailio.cfg file, for example:

    # -*- mode: kamailio; tab-width: 4; c-basic-offset: 4; -*-