Mercurial > vim
view runtime/syntax/gemtext.vim @ 33378:dd9da4eb6780
Added tag v9.0.1947 for changeset e3613ffa370d79864fbf9e0fe7d7ea9a258e35c3
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 28 Sep 2023 22:15:08 +0200 |
parents | d4faa2c5211b |
children |
line wrap: on
line source
" Vim syntax file " Language: Gemtext markup language " Maintainer: Suneel Freimuth <suneelfreimuth1@gmail.com> " Latest Revision: 2020-11-21 " Filenames: *.gmi if exists('b:current_syntax') finish endif syntax match Heading /^#\{1,3}.\+$/ syntax match List /^\* / syntax match LinkURL /^=>\s*\S\+/ syntax match Quote /^>.\+/ syntax region Preformatted start=/^```/ end=/```/ highlight default link Heading Special highlight default link List Statement highlight default link LinkURL Underlined highlight default link Quote Constant highlight default link Preformatted Identifier let b:current_syntax = 'gemtext'