view runtime/ftplugin/pascal.vim @ 20388:83f390b19223 v8.2.0749

patch 8.2.0749: TERM signal test fails on FreeBSD Commit: https://github.com/vim/vim/commit/55ba4b844f1b0e44f0f2e1bd14d26e7ad2df9ffc Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 13 16:53:49 2020 +0200 patch 8.2.0749: TERM signal test fails on FreeBSD Problem: TERM signal test fails on FreeBSD. Solution: Do not check the messages, the may appear anywhere. (Dominique Pelle, closes #6075)
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 May 2020 17:00:04 +0200
parents 0877b8d6370e
children e3ec2ec8841a
line wrap: on
line source

" Vim filetype plugin file
" Language:	pascal
" Maintainer:	Dan Sharp <dwsharp at users dot sourceforge dot net>
" Last Changed: 11 Apr 2011
" URL:		http://dwsharp.users.sourceforge.net/vim/ftplugin

if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1

if exists("loaded_matchit")
    let b:match_ignorecase = 1 " (pascal is case-insensitive)

    let b:match_words = '\<\%(begin\|case\|record\|object\|try\)\>'
    let b:match_words .= ':\<^\s*\%(except\|finally\)\>:\<end\>'
    let b:match_words .= ',\<repeat\>:\<until\>'
    let b:match_words .= ',\<if\>:\<else\>'
endif

" Undo the stuff we changed.
let b:undo_ftplugin = "unlet! b:match_words"