view runtime/syntax/gemtext.vim @ 32454:db97ccaaa7c8 v9.0.1558

patch 9.0.1558: wrong error for unreachable code after :throw Commit: https://github.com/vim/vim/commit/a2c0028fdf8dcf0408e27be730ac0e691ef9559b Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 14 22:05:15 2023 +0100 patch 9.0.1558: wrong error for unreachable code after :throw Problem: Wrong error for unreachable code after :throw. Solution: Adjust the error message.
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 May 2023 23:15:03 +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'