view runtime/syntax/jargon.vim @ 12792:f3a7ce8edce9 v8.0.1273

patch 8.0.1273: old test file remaining commit https://github.com/vim/vim/commit/4148be468f82eb4bf463be3610b00a132aee4186 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 6 20:41:19 2017 +0100 patch 8.0.1273: old test file remaining Problem: Old test file remaining. Solution: Delete it.
author Christian Brabandt <cb@256bit.org>
date Mon, 06 Nov 2017 20:45:04 +0100
parents 46763b01cd9a
children 03b854983b14
line wrap: on
line source

" Vim syntax file
" Language:	Jargon File
" Maintainer:	<rms@poczta.onet.pl>
" Last Change:	2001 May 26
"
" quit when a syntax file was already loaded
if exists("b:current_syntax")
	finish
endif

syn match jargonChaptTitle	/:[^:]*:/
syn match jargonEmailAddr	/[^<@ ^I]*@[^ ^I>]*/
syn match jargonUrl	 +\(http\|ftp\)://[^\t )"]*+
syn match jargonMark	/{[^}]*}/

" Define the default highlighting.
" Only when an item doesn't have highlighting yet
hi def link jargonChaptTitle	Title
hi def link jargonEmailAddr	 Comment
hi def link jargonUrl	 Comment
hi def link jargonMark	Label

let b:current_syntax = "jargon"