Mercurial > vim
view runtime/syntax/gemtext.vim @ 29843:256418aa72ed v9.0.0260
patch 9.0.0260: using freed memory when using 'quickfixtextfunc' recursively
Commit: https://github.com/vim/vim/commit/d6c67629ed05aae436164eec474832daf8ba7420
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 24 20:07:22 2022 +0100
patch 9.0.0260: using freed memory when using 'quickfixtextfunc' recursively
Problem: Using freed memory when using 'quickfixtextfunc' recursively.
Solution: Do not allow for recursion.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Aug 2022 21: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'