~ubuntu-branches/ubuntu/maverick/vim/maverick

« back to all changes in this revision

Viewing changes to runtime/plugin/matchparen.vim

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-05-04 11:13:42 UTC
  • mfrom: (1.1.8 upstream) (0.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090504111342-60miqybsixdpc345
Tags: 2:7.2.148-2ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/runtime/vimrc: "syntax on" is a sane default for non-tiny vim.
  - runtime/syntax/debcontrol.vim:
    + Add "metapackages" to the list of valid sections.
  - runtime/syntax/grub.vim:
    + Add Ubuntu-specific 'quiet' keyword.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Enable Python interpreter on basic builds.
  - Disable autoindent, line-wrapping, and backup files by default.
* Dropped changes, merged in Debian:
  - Add jaunty, karmic to the list of valid suites.
  - runtime/syntax/debsources.vim:
    + Add "jaunty" to debsourcesDistrKeyword
  - Create a .pot file for translations.
* Drop gutsy from the list of valid distro series, it's been EOLed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
" Vim plugin for showing matching parens
2
2
" Maintainer:  Bram Moolenaar <Bram@vim.org>
3
 
" Last Change: 2008 Feb 27
 
3
" Last Change: 2008 Sep 03
4
4
 
5
5
" Exit quickly when:
6
6
" - this plugin was already loaded (or disabled)
21
21
  finish
22
22
endif
23
23
 
24
 
let cpo_save = &cpo
 
24
let s:cpo_save = &cpo
25
25
set cpo-=C
26
26
 
27
27
" The function that is invoked (very often) to define a ":match" highlighting
147
147
          \ au! matchparen
148
148
command! DoMatchParen runtime plugin/matchparen.vim | windo doau CursorMoved
149
149
 
150
 
let &cpo = cpo_save
 
150
let &cpo = s:cpo_save
 
151
unlet s:cpo_save