view runtime/syntax/xbl.vim @ 16756:ad0ef98aa5ed v8.1.1380

patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set commit https://github.com/vim/vim/commit/fa8f861957f4f9f7a0946d9d61fe90a9882f54e6 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 24 17:05:44 2019 +0200 patch 8.1.1380: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set Problem: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set. Solution: Invert condition. (closes https://github.com/vim/vim/issues/4422)
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 May 2019 17:15:05 +0200
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