view runtime/syntax/gemtext.vim @ 26382:d742cb67b260 v8.2.3722

patch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text Commit: https://github.com/vim/vim/commit/5e86964bf48ddbfa20261bda84db391c80a36dca Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 2 18:55:16 2021 +0000 patch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text Problem: Amiga: superfluous messages for freeing lots of yanked text. Solution: Assume that the machine isn't that slow these days.
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Dec 2021 20:00:02 +0100
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'