annotate runtime/ftplugin/passwd.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 |
1218c5353e2b |
children |
|
rev |
line source |
389
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: passwd(5) password file
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
389
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
1698
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
389
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
|
15
|
|
16 setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l
|
1698
|
17
|
|
18 let &cpo = s:cpo_save
|
|
19 unlet s:cpo_save
|