Mercurial > vim
view runtime/syntax/hostsaccess.vim @ 8132:f96536c291d8 v7.4.1360
commit https://github.com/vim/vim/commit/0ba75a9714884895b2ac09733158c47544a8dfb9
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 19 23:21:26 2016 +0100
patch 7.4.1360
Problem: Can't remove a callback with ch_setoptions().
Solution: When passing zero or an empty string remove the callback.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 19 Feb 2016 23:30:04 +0100 |
parents | 3c7da93eb7f9 |
children | 43efa4f5a8ea |
line wrap: on
line source
" Vim syntax file " Language: hosts.deny, hosts.allow configuration files " Maintainer: Thilo Six <T.Six@gmx.de> " Last Change: 2011 May 01 " Derived From: conf.vim " Credits: Bram Moolenaar " " This file is there to get at least a minimal highlighting. " A later version may be improved. " Quit when a (custom) syntax file was already loaded if exists("b:current_syntax") finish endif " For a starter we just use conf.vim for highlighting if version < 600 so <sfile>:p:h/conf.vim else runtime! syntax/conf.vim unlet b:current_syntax endif let b:current_syntax = "hostsaccess" " vim: ts=8 sw=2