view runtime/syntax/rng.vim @ 31227:1a9e44a45614 v9.0.0947

patch 9.0.0947: invalid memory access in substitute with function Commit: https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 25 13:03:31 2022 +0000 patch 9.0.0947: invalid memory access in substitute with function Problem: Invalid memory access in substitute with function that goes to another file. Solution: Check for text locked in CTRL-W gf.
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Nov 2022 14:15:05 +0100
parents 2d1383658bb4
children
line wrap: on
line source

" Vim syntax file
" Language:    RELAX NG
" Maintainer:  Jaromir Hradilek <jhradilek@gmail.com>
" URL:         https://github.com/jhradilek/vim-rng
" Last Change: 25 March 2013
" Description: A syntax file for RELAX NG, a schema language for XML

if exists('b:current_syntax')
  finish
endif

do Syntax xml
syn spell toplevel
syn cluster xmlTagHook add=rngTagName
syn case match

syn keyword rngTagName anyName attribute choice data define div contained
syn keyword rngTagName element empty except externalRef grammar contained
syn keyword rngTagName group include interleave list mixed name contained
syn keyword rngTagName notAllowed nsName oneOrMore optional param contained
syn keyword rngTagName parentRef ref start text value zeroOrMore contained

hi def link rngTagName Statement

let b:current_syntax = 'rng'