view runtime/syntax/gemtext.vim @ 28115:62a57c60edc1 v8.2.4582

patch 8.2.4582: useless code handling a type declaration Commit: https://github.com/vim/vim/commit/4c8b546da2059865e20902586bb3e0ff07c279a0 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 16 20:01:39 2022 +0000 patch 8.2.4582: useless code handling a type declaration Problem: Useless code handling a type declaration. Solution: Remove the code and give an error.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Mar 2022 21:15: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'