Mercurial > vim
view runtime/syntax/hostsaccess.vim @ 28891:85c2bbee17d0 v8.2.4968
patch 8.2.4968: reading past end of the line when C-indenting
Commit: https://github.com/vim/vim/commit/60ae0e71490c97f2871a6344aca61cacf220f813
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 16 18:06:15 2022 +0100
patch 8.2.4968: reading past end of the line when C-indenting
Problem: Reading past end of the line when C-indenting.
Solution: Check for NUL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 May 2022 19:15:03 +0200 |
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