Mercurial > vim
view runtime/syntax/hostsaccess.vim @ 27382:123b0747fa10 v8.2.4219
patch 8.2.4219: reading before the start of the line
Commit: https://github.com/vim/vim/commit/44db8213d38c39877d2148eff6a72f4beccfb94e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 25 21:26:17 2022 +0000
patch 8.2.4219: reading before the start of the line
Problem: Reading before the start of the line.
Solution: Check boundary before trying to read the character.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 25 Jan 2022 22:30:03 +0100 |
parents | 43efa4f5a8ea |
children |
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 runtime! syntax/conf.vim unlet b:current_syntax let b:current_syntax = "hostsaccess" " vim: ts=8 sw=2