Mercurial > vim
view runtime/syntax/dylanlid.vim @ 17514:984cc7258468 v8.1.1755
patch 8.1.1755: leaking memory when using a popup window mask
commit https://github.com/vim/vim/commit/0aca293fedfd22d489297f7cbce6a7de86748151
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 26 22:22:38 2019 +0200
patch 8.1.1755: leaking memory when using a popup window mask
Problem: Leaking memory when using a popup window mask.
Solution: Free the cached mask.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Jul 2019 22:30:09 +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