Bram Moolenaar | 446beb4 | 2011-05-10 17:18:44 +0200 | [diff] [blame] | 1 | " Vim syntax file |
| 2 | " Language: hosts.deny, hosts.allow configuration files |
| 3 | " Maintainer: Thilo Six <T.Six@gmx.de> |
| 4 | " Last Change: 2011 May 01 |
| 5 | " Derived From: conf.vim |
| 6 | " Credits: Bram Moolenaar |
| 7 | " |
| 8 | " This file is there to get at least a minimal highlighting. |
| 9 | " A later version may be improved. |
| 10 | |
| 11 | |
| 12 | " Quit when a (custom) syntax file was already loaded |
| 13 | if exists("b:current_syntax") |
| 14 | finish |
| 15 | endif |
| 16 | |
| 17 | " For a starter we just use conf.vim for highlighting |
| 18 | if version < 600 |
| 19 | so <sfile>:p:h/conf.vim |
| 20 | else |
| 21 | runtime! syntax/conf.vim |
| 22 | unlet b:current_syntax |
| 23 | endif |
| 24 | |
| 25 | |
| 26 | let b:current_syntax = "hostsaccess" |
| 27 | " vim: ts=8 sw=2 |