annotate runtime/syntax/hostsaccess.vim @ 8271:770774e66011 v7.4.1428

commit https://github.com/vim/vim/commit/edb4f2b3601b0abd47091606269c0ac3244a805b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 27 15:27:23 2016 +0100 patch 7.4.1428 Problem: Compiler warning for non-virtual destructor. Solution: Make it virtual. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Feb 2016 15:30:05 +0100
parents 3c7da93eb7f9
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2826
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Language: hosts.deny, hosts.allow configuration files
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Maintainer: Thilo Six <T.Six@gmx.de>
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 " Last Change: 2011 May 01
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 " Derived From: conf.vim
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 " Credits: Bram Moolenaar
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 "
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 " This file is there to get at least a minimal highlighting.
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 " A later version may be improved.
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 " Quit when a (custom) syntax file was already loaded
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 if exists("b:current_syntax")
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 finish
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 endif
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 " For a starter we just use conf.vim for highlighting
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 if version < 600
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 so <sfile>:p:h/conf.vim
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 else
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 runtime! syntax/conf.vim
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 unlet b:current_syntax
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 endif
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 let b:current_syntax = "hostsaccess"
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 " vim: ts=8 sw=2