view runtime/ftplugin/pascal.vim @ 2501:c43e99e9baaf vim73

Fix: ml_get errors when using undo with 'virtualedit'.
author Bram Moolenaar <bram@vim.org>
date Sat, 07 Aug 2010 12:54:12 +0200
parents 7bc41231fbc7
children 0877b8d6370e
line wrap: on
line source

" Vim filetype plugin file
" Language:	pascal
" Maintainer:	Dan Sharp <dwsharp at users dot sourceforge dot net>
" Last Changed: 20 Jan 2009
" 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_words='\<\%(begin\|case\|try\)\>:\<end\>'
endif

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