annotate runtime/indent/bib.vim @ 31479:0c0b78aa7ae3
v9.0.1072
patch 9.0.1072: screenpos() column result in fold may be too small
Commit: https://github.com/vim/vim/commit/ba2d19193201277397c25c1f5a134ea042542555
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Dec 18 12:28:59 2022 +0000
patch 9.0.1072: screenpos() column result in fold may be too small
Problem: screenpos() column result in fold may be too small.
Solution: Add space of 'number', sign column, etc. (closes https://github.com/vim/vim/issues/11715)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 18 Dec 2022 13:30:05 +0100 |
parents |
fca8a9b65afa |
children |
|
rev |
line source |
233
|
1 " Vim indent file
|
|
2 " Language: BibTeX
|
|
3 " Maintainer: Dorai Sitaram <ds26@gte.com>
|
|
4 " URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
|
|
5 " Last Change: 2005 Mar 28
|
|
6
|
|
7 " Only do this when not done yet for this buffer
|
|
8 if exists("b:did_indent")
|
|
9 finish
|
|
10 endif
|
|
11 let b:did_indent = 1
|
|
12
|
|
13 setlocal cindent
|
|
14
|
|
15 let b:undo_indent = "setl cin<"
|