Mercurial > vim
annotate runtime/ftplugin/muttrc.vim @ 28548:a54564337e89 v8.2.4798
patch 8.2.4798: t_8u option was reset even when set by the user
Commit: https://github.com/vim/vim/commit/dbec26d7893dca4ff38fa4b96ac91203d30ccae5
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 20 19:08:50 2022 +0100
patch 8.2.4798: t_8u option was reset even when set by the user
Problem: t_8u option was reset even when set by the user.
Solution: Only reset t_8u when using the default value. (closes https://github.com/vim/vim/issues/10239)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 20 Apr 2022 20:15:04 +0200 |
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 |