Mercurial > vim
view runtime/syntax/hostsaccess.vim @ 9711:b74515b8f3d4 v7.4.2131
commit https://github.com/vim/vim/commit/57e69ff2cca9edee3546373d04e0dde6810309e5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 30 23:05:09 2016 +0200
patch 7.4.2131
Problem: More memory leaks when using partial, e.g. for "exit-cb".
Solution: Don't copy the callback when using a partial.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jul 2016 23:15:05 +0200 |
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