Mercurial > vim
annotate runtime/ftplugin/muttrc.vim @ 27557:ce72087b601f v8.2.4305
patch 8.2.4305: tex filetype detection fails
Commit: https://github.com/vim/vim/commit/e5b7897585eccec84431d8b23df5cde2e283828c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 5 19:50:34 2022 +0000
patch 8.2.4305: tex filetype detection fails
Problem: Tex filetype detection fails.
Solution: Check value to be positive. (closes https://github.com/vim/vim/issues/9704)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Feb 2022 21:00:03 +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 |