annotate runtime/ftplugin/bdf.vim @ 16670:5733d8e33bce
v8.1.1337
patch 8.1.1337: get empty text prop when splitting line just after text prop
commit https://github.com/vim/vim/commit/5c65e6a062dfc7d20931fa1f73d03b1714a4d5e1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 17 11:08:56 2019 +0200
patch 8.1.1337: get empty text prop when splitting line just after text prop
Problem: Get empty text prop when splitting line just after text prop.
Solution: Do not create an empty text prop at the start of the line.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Fri, 17 May 2019 11:15:06 +0200 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
375
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: BDF font definition
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
375
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
1698
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
389
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
375
|
15
|
|
16 setlocal comments=b:COMMENT commentstring=COMMENT\ %s
|
389
|
17 setlocal formatoptions-=t formatoptions+=croql
|
1698
|
18
|
|
19 let &cpo = s:cpo_save
|
|
20 unlet s:cpo_save
|