[SR-Users] Lint and syntax check

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 5 15:24:48 CET 2015


On 05/02/15 13:42, Olle E. Johansson wrote:
> On 05 Feb 2015, at 12:33, Manuel Rubio <manuel at altenwald.com> wrote:
>
>> Hi,
>>
>> I want to know if someone is using something similar to lint-like behaviour[1] and syntax highlighting in editors like Sublime, TextMate, emacs, ... for Kamailio configuration files.
>>
>> [1] http://en.wikipedia.org/wiki/Lint_%28software%29
> https://github.com/miconda/vim-extensions
>
> Is one that Daniel created. I've seen something similar for Emacs.
>
That's the auto-complete pluging for vim.

Vim syntax highlighting is inside the source code in utils/misc/vim/.

Also, for checking the kamailio config for syntax errors, use:

kamailio -c -f /path/to/kamailio.cfg

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-users mailing list