Mercurial > vim
view runtime/syntax/gemtext.vim @ 31473:edd37b53405a v9.0.1069
patch 9.0.1069: diff mode highlight fails for special characters
Commit: https://github.com/vim/vim/commit/417e88bb75ee8af1bf696760bba9f114a007f733
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 17 15:03:02 2022 +0000
patch 9.0.1069: diff mode highlight fails for special characters
Problem: Diff mode highlight fails for special characters.
Solution: Adjust condition for setting "diff_hlf".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Dec 2022 16:15:03 +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'