annotate runtime/ftplugin/text.vim @ 10680:75c324ab1270
v8.0.0230
patch 8.0.0230: bracketed paste does not support line breaks
commit https://github.com/vim/vim/commit/915350edec02f0326ecbe49f3b6cf2cbcd105f7d
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 24 17:50:52 2017 +0100
patch 8.0.0230: bracketed paste does not support line breaks
Problem: When using bracketed paste line breaks are not respected.
Solution: Turn CR characters into a line break if the text is being
inserted. (closes #1404)
author |
Christian Brabandt <cb@256bit.org> |
date |
Tue, 24 Jan 2017 18:00:06 +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=
|