Mercurial > vim
view runtime/ftplugin/logcheck.vim @ 15332:0eed23d9733a v8.1.0674
patch 8.1.0674: leaking memory when updating a single line
commit https://github.com/vim/vim/commit/6d5b4f566a2a50c1de7300336e9e4f5e761500a8
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 1 15:15:47 2019 +0100
patch 8.1.0674: leaking memory when updating a single line
Problem: Leaking memory when updating a single line.
Solution: Do not call start_search_hl() twice.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 01 Jan 2019 15:30:06 +0100 |
parents | af1e8a1714c2 |
children | 9d3d7b0f4861 |
line wrap: on
line source
" Vim filetype plugin file " Language: Logcheck " Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org> " Last Change: 2012 Jan 15 " License: Vim License " URL: http://hg.debian.org/hg/pkg-vim/vim/file/unstable/runtime/ftplugin/logcheck.vim if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let b:undo_ftplugin = "setl fo<" " Do not hard-wrap non-comment lines since each line is a self-contained " regular expression setlocal formatoptions-=t