mirror of https://github.com/Icinga/icinga2.git
parent
03b8514606
commit
88975a8e07
|
@ -1 +0,0 @@
|
|||
Contains various syntax highlighting scripts for vim, nano, etc.
|
|
@ -1,18 +0,0 @@
|
|||
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
|
|
@ -1,15 +0,0 @@
|
|||
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
|
||||
|
Loading…
Reference in New Issue