Mercurial > vim
view runtime/syntax/hostsaccess.vim @ 9377:5ec4fbfe38c5 v7.4.1970
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 1 14:04:51 2016 +0200
patch 7.4.1970
Problem: Using ":insert" in an empty buffer sets the jump mark. (Ingo
Karkat)
Solution: Don't adjust marks when replacing the empty line in an empty
buffer. (closes #892)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 01 Jul 2016 14:15:06 +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