Mercurial > vim
view runtime/syntax/jargon.vim @ 18904:2bdc2e1f6e1f v8.2.0013
patch 8.2.0013: not using a typedef for condstack
Commit: https://github.com/vim/vim/commit/ddef129160ff0676e5da482071fb2fdc2988ac34
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 16 17:10:33 2019 +0100
patch 8.2.0013: not using a typedef for condstack
Problem: Not using a typedef for condstack.
Solution: Add a typedef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Dec 2019 17:15:04 +0100 |
parents | 03b854983b14 |
children | bceeded72898 |
line wrap: on
line source
" Vim syntax file " Language: Jargon File " Maintainer: Dan Church (https://github.com/h3xx) " Last Change: 2019 Sep 27 " " 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 region jargonMark start="{" end="}" " 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"