view runtime/ftplugin/cfg.vim @ 27138:1fc0421a448f v8.2.4098

patch 8.2.4098: typing "interrupt" at debug prompt may keep exception around Commit: https://github.com/vim/vim/commit/069613c9e8645acea3a128c15ebdbf56e2219d44 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 15 15:23:44 2022 +0000 patch 8.2.4098: typing "interrupt" at debug prompt may keep exception around Problem: Typing "interrupt" at debug prompt may keep exception around, causing function calls to fail. Solution: Discard any exception at the toplevel. (closes #9532)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jan 2022 16:30:02 +0100
parents 97b40b4c6911
children
line wrap: on
line source

" Vim filetype plugin file
" Language:		Configuration File
" Maintainer:		Christian Brabandt <cb@256bit.org>
" Latest Revision:	2018-12-24

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 cms< fo<"

setlocal commentstring=#\ %s formatoptions-=t formatoptions+=croql

let &cpo = s:cpo_save
unlet s:cpo_save