Mercurial > vim
view runtime/ftplugin/grub.vim @ 29016:aadeddf38d9b v8.2.5030
patch 8.2.5030: autocmd_add() can only handle one event and pattern
Commit: https://github.com/vim/vim/commit/e0ff3a7de6030b73d94121626deb8229e66e82b2
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Fri May 27 18:05:33 2022 +0100
patch 8.2.5030: autocmd_add() can only handle one event and pattern
Problem: autocmd_add() can only handle one event and pattern.
Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
closes #10483)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 May 2022 19:15:03 +0200 |
parents | 1218c5353e2b |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: grub(8) configuration file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save