Mercurial > vim
annotate runtime/indent/lifelines.vim @ 11323:3e799a37ea22 v8.0.0547
patch 8.0.0547: extra line break in verbosefile
commit https://github.com/vim/vim/commit/52604f2454e5369f861d3ce34764f74a0999c773
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 7 16:17:39 2017 +0200
patch 8.0.0547: extra line break in verbosefile
Problem: Extra line break in verbosefile when using ":echomsg". (Ingo
Karkat)
Solution: Don't call msg_start(). (closes #1618)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 07 Apr 2017 16:30:04 +0200 |
parents | b17bbfa96fa0 |
children | 11b656e74444 |
rev | line source |
---|---|
2207
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
1 " Vim indent file |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
2 " Language: LifeLines |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
3 " Maintainer: Patrick Texier <p.texier@orsennes.com> |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
4 " Location: <http://patrick.texier.free.fr/vim/indent/lifelines.vim> |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
5 " Last Change: 2010 May 7 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
6 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
7 " Only load this indent file when no other was loaded. |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
8 if exists("b:did_indent") |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
9 finish |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
10 endif |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
11 let b:did_indent = 1 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
12 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
13 " LifeLines uses cindent without ; line terminator, C functions |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
14 " declarations, C keywords, C++ formating |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
15 setlocal cindent |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
16 setlocal cinwords="" |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
17 setlocal cinoptions+=+0 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
18 setlocal cinoptions+=p0 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
19 setlocal cinoptions+=i0 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
20 setlocal cinoptions+=t0 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
21 setlocal cinoptions+=*500 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
22 |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
23 let b:undo_indent = "setl cin< cino< cinw<" |
b17bbfa96fa0
Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents:
diff
changeset
|
24 " vim: ts=8 sw=4 |