diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2012-07-30 13:46:37 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2012-07-30 13:46:37 +1200 |
commit | d68afb6ea2b5f5cc10de86ca04957aae4b091eb9 (patch) | |
tree | fef8559c40c85420c34aede3fdca02cb7fdced25 | |
parent | Version 1.8: Initial upload (diff) | |
download | vim-nagios-d68afb6ea2b5f5cc10de86ca04957aae4b091eb9.tar.gz vim-nagios-d68afb6ea2b5f5cc10de86ca04957aae4b091eb9.zip |
First commit of changes to nagios-syntax.
-rw-r--r-- | README | 10 | ||||
-rw-r--r-- | README.markdown | 27 | ||||
-rw-r--r-- | ftdetect/nagios.vim | 1 |
3 files changed, 28 insertions, 10 deletions
@@ -1,10 +0,0 @@ -This is a mirror of http://www.vim.org/scripts/script.php?script_id=2261 - -Nagios <http://www.nagios.org/> template object configuration file. - -Initially based on gentoo source http://dev.gentoo.org/~ramereth/vim/syntax/nagios.vim -http://bugs.gentoo.org/show_bug.cgi?id=76712 -which instead based on http://katanalynx.dyndns.org/~ajar/code :) - -Current URL: -http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-syntax-nagios/nagios.vim diff --git a/README.markdown b/README.markdown new file mode 100644 index 0000000..c0fbd7c --- /dev/null +++ b/README.markdown @@ -0,0 +1,27 @@ +Nagios Vim Syntax +================= + +Syntax file for Nagios in Vim. Forked from the [`vim-scripts` repository][1] of +the same name, itself a mirror from [the script][2] on the official Vim site. + +This way I can add it as a Pathogen bundle and submodule of my [dotfiles][3] +repository. + +This was originally forked to include `ftdetect` rules, which are missing from +the original repository. They're for the default install going into +`/usr/local/nagios`, or the Debian layout of `/etc/nagios3`. I'm happy to merge +others in if this is at all helpful to anyone. + +I may add or fix more stuff later, which I'll push back to the original. + +License +------- + +Sorry, I'm not sure what the license terms are. Check the original repo, or ask +the maintainer, one Elan Ruusamäe. This particular fork is by [Tom Ryder][4]. + +[1]: https://github.com/vim-scripts/nagios-syntax +[2]: http://www.vim.org/scripts/script.php?script_id=2261 +[3]: https://github.com/tejr/dotfiles +[4]: http://www.sanctum.geek.nz/about/tom-ryder + diff --git a/ftdetect/nagios.vim b/ftdetect/nagios.vim new file mode 100644 index 0000000..b3b6766 --- /dev/null +++ b/ftdetect/nagios.vim @@ -0,0 +1 @@ +au BufNewFile,BufRead *{etc,local,lib}/nagios*/*.{cache,cfg} set filetype=nagios |