view runtime/syntax/xbl.vim @ 8170:a0ffb1f3dedc v7.4.1378

commit https://github.com/vim/vim/commit/65edff8f51e9e54f85407bdb9156ae8e3e1b76a1 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 21 16:40:11 2016 +0100 patch 7.4.1378 Problem: Can't change job settings after it started. Solution: Add job_setoptions() with the "stoponexit" flag.
author Christian Brabandt <cb@256bit.org>
date Sun, 21 Feb 2016 16:45:05 +0100
parents 82b5078be2dd
children
line wrap: on
line source

" Vim syntax file
" Language:	    XBL 1.0
" Maintainer:	    Doug Kearns <dougkearns@gmail.com>
" Latest Revision:  2007 November 5

if exists("b:current_syntax")
  finish
endif

let s:cpo_save = &cpo
set cpo&vim

runtime! syntax/xml.vim
unlet b:current_syntax

syn include @javascriptTop syntax/javascript.vim
unlet b:current_syntax

syn region xblJavascript
	\ matchgroup=xmlCdataStart start=+<!\[CDATA\[+
	\ matchgroup=xmlCdataEnd end=+]]>+
	\ contains=@javascriptTop keepend extend

let b:current_syntax = "xbl"

let &cpo = s:cpo_save
unlet s:cpo_save

" vim: ts=8