icinga2/tools/syntax/vim
Andrew Meyer ec1a66f0c9 Vim syntax: Match groups before host/service/user objects
switches order of syntax object definitions to stop short circuit

fixes #9045

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-04-11 11:27:26 +02:00
..
ftdetect Add icinga2 vim syntax file and installation documentation. 2014-06-02 16:29:27 +02:00
syntax Vim syntax: Match groups before host/service/user objects 2015-04-11 11:27:26 +02:00
README Syntax Highlighting: Add nano syntax file. 2014-06-04 15:45:03 +02:00

README

Icinga 2 Configuration Vim Syntax Highlighting
==============================================

$ PREFIX=~/.vim
$ mkdir -p $PREFIX/{syntax,ftdetect}
$ cp syntax/icinga2.vim $PREFIX/syntax/
$ cp ftdetect/icinga2.vim $PREFIX/ftdetect/

Modify 'ftdetect/icinga2.vim' if your configuration isn't located in
'/etc/icinga2'.

Now test it :-)

$ vim /etc/icinga2/conf.d/templates.conf