view runtime/syntax/gemtext.vim @ 26686:c04b28fad0cc v8.2.3872

patch 8.2.3872: Vim9: finddir() and uniq() return types can be more specific Commit: https://github.com/vim/vim/commit/080182216e605df3428cc699b9fd7e761368d12f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 22 18:45:37 2021 +0000 patch 8.2.3872: Vim9: finddir() and uniq() return types can be more specific Problem: Vim9: finddir() and uniq() return types can be more specific. Solution: Adjust the return type.
author Bram Moolenaar <Bram@vim.org>
date Wed, 22 Dec 2021 20:00: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'