Mercurial > vim
annotate runtime/ftplugin/muttrc.vim @ 18599:9cbdd58eeeb2 v8.1.2293
patch 8.1.2293: join adds trailing space when second line is empty
Commit: https://github.com/vim/vim/commit/cc184cfb09161b3bbc7d5d8859a18e812367d19c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 12 20:31:20 2019 +0100
patch 8.1.2293: join adds trailing space when second line is empty
Problem: Join adds trailing space when second line is empty. (Brennan
Vincent)
Solution: Do not add a trailing space.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 Nov 2019 20:45:04 +0100 |
parents | 1218c5353e2b |
children | d23645a0aca8 |
rev | line source |
---|---|
375 | 1 " Vim filetype plugin file |
11062 | 2 " Language: mutt RC File |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2006-04-19 | |
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< inc< fo<" |
375 | 15 |
16 setlocal comments=:# commentstring=#\ %s | |
389 | 17 setlocal formatoptions-=t formatoptions+=croql |
375 | 18 |
19 let &l:include = '^\s*source\>' | |
1698 | 20 |
21 let &cpo = s:cpo_save | |
22 unlet s:cpo_save |