view runtime/syntax/libao.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 1218c5353e2b
children
line wrap: on
line source

" Vim syntax file
" Language:             libao.conf(5) configuration file
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2006-04-19

if exists("b:current_syntax")
  finish
endif

let s:cpo_save = &cpo
set cpo&vim

syn keyword libaoTodo     contained TODO FIXME XXX NOTE

syn region  libaoComment  display oneline start='^\s*#' end='$'
                          \ contains=libaoTodo,@Spell

syn keyword libaoKeyword  default_driver

hi def link libaoTodo     Todo
hi def link libaoComment  Comment
hi def link libaoKeyword  Keyword

let b:current_syntax = "libao"

let &cpo = s:cpo_save
unlet s:cpo_save