view runtime/syntax/catalog.vim @ 32760:8eded585a4d5 v9.0.1699

patch 9.0.1699: compile warning for xdiff/xutils on MS-Windows Commit: https://github.com/vim/vim/commit/6c313bbb043745a60a7ee30a78edb907260b764a Author: Mike Williams <mikew@globalgraphics.com> Date: Sat Aug 12 20:47:43 2023 +0200 patch 9.0.1699: compile warning for xdiff/xutils on MS-Windows Problem: compile warning for xdiff/xutils on MS-Windows Solution: add explicit type cast from size_t to long closes: #12531 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Mike Williams <mikew@globalgraphics.com>
author Christian Brabandt <cb@256bit.org>
date Sat, 12 Aug 2023 21:00:05 +0200
parents 7bc41231fbc7
children
line wrap: on
line source

" Vim syntax file
" Language:	sgml catalog file
" Maintainer:	Johannes Zellner <johannes@zellner.org>
" Last Change:	Fr, 04 Nov 2005 12:46:45 CET
" Filenames:	/etc/sgml.catalog
" $Id: catalog.vim,v 1.2 2005/11/23 21:11:10 vimboss Exp $

" Quit when a syntax file was already loaded
if exists("b:current_syntax")
  finish
endif

syn case ignore

" strings
syn region  catalogString start=+"+ skip=+\\\\\|\\"+ end=+"+ keepend
syn region  catalogString start=+'+ skip=+\\\\\|\\'+ end=+'+ keepend

syn region  catalogComment      start=+--+   end=+--+ contains=catalogTodo
syn keyword catalogTodo		TODO FIXME XXX NOTE contained
syn keyword catalogKeyword	DOCTYPE OVERRIDE PUBLIC DTDDECL ENTITY CATALOG


" The default highlighting.
hi def link catalogString		     String
hi def link catalogComment		     Comment
hi def link catalogTodo			     Todo
hi def link catalogKeyword		     Statement

let b:current_syntax = "catalog"