view runtime/syntax/jargon.vim @ 15910:da4d1f69374e v8.1.0961

patch 8.1.0961: Mac: fsync may fail sometimes commit https://github.com/vim/vim/commit/9166838420c2e2029270c4683f68aecd3db5a484 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 21 12:16:12 2019 +0100 patch 8.1.0961: Mac: fsync may fail sometimes Problem: Mac: fsync may fail sometimes. Solution: Do not check errno. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/4025)
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 Feb 2019 12:30:08 +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"