Mercurial > vim
view runtime/syntax/tt2html.vim @ 18309:2047cb93eb0c v8.1.2149
patch 8.1.2149: crash when running out of memory very early
Commit: https://github.com/vim/vim/commit/e3a22cb1ba057381be3e645479a537f8032f119f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 14 22:01:57 2019 +0200
patch 8.1.2149: crash when running out of memory very early
Problem: Crash when running out of memory very early.
Solution: Do not use IObuff when it's NULL. (closes https://github.com/vim/vim/issues/5052)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 14 Oct 2019 22:15:03 +0200 |
parents | 42bf9264e64e |
children | d1fe80fb35e6 |
line wrap: on
line source
" Language: TT2 embedded with HTML " Maintainer: vim-perl <vim-perl@googlegroups.com> " Author: Moriki, Atsushi <4woods+vim@gmail.com> " Homepage: http://github.com/vim-perl/vim-perl " Bugs/requests: http://github.com/vim-perl/vim-perl/issues " Last Change: 2013-07-21 if exists("b:current_syntax") finish endif runtime! syntax/html.vim unlet b:current_syntax runtime! syntax/tt2.vim unlet b:current_syntax syn cluster htmlPreProc add=@tt2_top_cluster let b:current_syntax = "tt2html"