icinga2/tools/syntax/nano
Carlos Cesario fa515bd5af Syntax Highlighting: Add nano syntax file.
Fixes #6385

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-06-04 15:45:03 +02:00
..
README Syntax Highlighting: Add nano syntax file. 2014-06-04 15:45:03 +02:00
icinga2.nanorc Syntax Highlighting: Add nano syntax file. 2014-06-04 15:45:03 +02:00

README

Icinga 2 Configuration Nano Syntax Highlighting
===============================================

$ cp /etc/nanorc ~/.nanorc

# mkdir -p /etc/nano
# cp icinga2.nanorc /etc/nano/

Then include the icinga2.nanorc file in your ~/.nanorc by adding the following line:

$ vim ~/.nanorc

## Icinga 2
include "/etc/nano/icinga2.nanorc"

Now test it :-)

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