0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00
vim/runtime/syntax/jargon.vim

24 lines
638 B
VimL
Raw Normal View History

2004-06-13 20:20:40 +00:00
" Vim syntax file
" Language: Jargon File
2019-09-27 19:34:08 +02:00
" Maintainer: Dan Church (https://github.com/h3xx)
" Last Change: 2019 Sep 27
2004-06-13 20:20:40 +00:00
"
" quit when a syntax file was already loaded
if exists("b:current_syntax")
2004-06-13 20:20:40 +00:00
finish
endif
syn match jargonChaptTitle /:[^:]*:/
syn match jargonEmailAddr /[^<@ ^I]*@[^ ^I>]*/
syn match jargonUrl +\(http\|ftp\)://[^\t )"]*+
2019-09-27 19:34:08 +02:00
syn region jargonMark start="{" end="}"
2004-06-13 20:20:40 +00:00
" 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
2004-06-13 20:20:40 +00:00
let b:current_syntax = "jargon"