annotate runtime/ftplugin/text.vim @ 15219:dada0b389d4f
v8.1.0619
patch 8.1.0619: :echomsg and :echoerr do not handle List and Dict
commit https://github.com/vim/vim/commit/461a7fcfce3cd6414f990037e6468af3b5ccf119
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 22 13:28:07 2018 +0100
patch 8.1.0619: :echomsg and :echoerr do not handle List and Dict
Problem: :echomsg and :echoerr do not handle List and Dict like :echo does.
(Daniel Hahler)
Solution: Be more tolerant about the expression result type.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 22 Dec 2018 13:30:08 +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=
|