Mercurial > vim
view runtime/indent/lifelines.vim @ 19866:1136ec381dd2 v8.2.0489
patch 8.2.0489: Vim9: memory leaks
Commit: https://github.com/vim/vim/commit/25b70c780a7e6063544e7f93c368fe403076f34e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 1 16:34:17 2020 +0200
patch 8.2.0489: Vim9: memory leaks
Problem: Vim9: memory leaks.
Solution: Free memory in the right place. Add hints for using asan.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Apr 2020 16:45:05 +0200 |
parents | b17bbfa96fa0 |
children | 11b656e74444 |
line wrap: on
line source
" Vim indent file " Language: LifeLines " Maintainer: Patrick Texier <p.texier@orsennes.com> " Location: <http://patrick.texier.free.fr/vim/indent/lifelines.vim> " Last Change: 2010 May 7 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 " LifeLines uses cindent without ; line terminator, C functions " declarations, C keywords, C++ formating setlocal cindent setlocal cinwords="" setlocal cinoptions+=+0 setlocal cinoptions+=p0 setlocal cinoptions+=i0 setlocal cinoptions+=t0 setlocal cinoptions+=*500 let b:undo_indent = "setl cin< cino< cinw<" " vim: ts=8 sw=4