view runtime/syntax/gemtext.vim @ 31109:17e171cf2cca v9.0.0889

patch 9.0.0889: keycode check script has a few flaws Commit: https://github.com/vim/vim/commit/8303035d670a50e39a0c099f159ce450d6e1a14e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 16 16:08:30 2022 +0000 patch 9.0.0889: keycode check script has a few flaws Problem: Keycode check script has a few flaws. Solution: Sort on terminal name. Ignore XTGETTCAP responses. Check for version and status response. Update entries.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Nov 2022 17:15:04 +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'