view runtime/ftplugin/mailcap.vim @ 19348:b6da81589f8c v8.2.0232

patch 8.2.0232: the :compiler command causes a crash Commit: https://github.com/vim/vim/commit/165315584d6587e287f54d6c8820e050114b5694 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 8 16:00:46 2020 +0100 patch 8.2.0232: the :compiler command causes a crash Problem: The :compiler command causes a crash. (Daniel Steinberg) Solution: Do not use the script index if it isn't set.
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Feb 2020 16:15:04 +0100
parents 1218c5353e2b
children
line wrap: on
line source

" Vim filetype plugin file
" Language:             Mailcap 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