Mercurial > vim
view runtime/syntax/dylanlid.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 | 46763b01cd9a |
children |
line wrap: on
line source
" Vim syntax file " Language: Dylan Library Interface Files " Authors: Justus Pendleton <justus@acm.org> " Brent Fulgham <bfulgham@debian.org> " Last Change: Fri Sep 29 13:50:20 PDT 2000 " " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif syn case ignore syn region dylanlidInfo matchgroup=Statement start="^" end=":" oneline syn region dylanlidEntry matchgroup=Statement start=":%" end="$" oneline syn sync lines=50 " Define the default highlighting. " Only when an item doesn't have highlighting yet hi def link dylanlidInfo Type hi def link dylanlidEntry String let b:current_syntax = "dylanlid" " vim:ts=8