Mercurial > vim
view runtime/syntax/gemtext.vim @ 28711:9ef5ee193725
Added tag v8.2.4879 for changeset 54e33757d1ecd86015cdf1dbfac4bfb9063c08ea
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 May 2022 12:30:04 +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'