annotate runtime/ftplugin/text.vim @ 10906:7fc1df5536c9
v8.0.0342
patch 8.0.0342: double free with EXITFREE and setting 'ttytype'
commit https://github.com/vim/vim/commit/673911457d6745b6b779eb769c2f41965592d12c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 19 21:07:04 2017 +0100
patch 8.0.0342: double free with EXITFREE and setting 'ttytype'
Problem: Double free when compiled with EXITFREE and setting 'ttytype'.
Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
closes #1461)
author |
Christian Brabandt <cb@256bit.org> |
date |
Sun, 19 Feb 2017 21:15:04 +0100 |
parents |
0efec12f52ac |
children |
f0f06837a699 |
rev |
line source |
6051
|
1 " Vim filetype plugin
|
|
2 " Language: Text
|
|
3 " Maintainer: David Barnett <daviebdawg+vim@gmail.com>
|
|
4 " Last Change: 2014 Jul 09
|
|
5
|
|
6 if exists('b:did_ftplugin')
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
|
11 let b:undo_ftplugin = 'setlocal comments< commentstring<'
|
|
12
|
|
13 " We intentionally don't set formatoptions-=t since text should wrap as text.
|
|
14
|
|
15 " Pseudo comment leaders to indent bulleted lists.
|
|
16 setlocal comments=fb:-,fb:*
|
|
17 setlocal commentstring=
|