if version < 700
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
" Section: Constants {{{1
"
lockvar! g:ada#Keywords
lockvar! g:ada#Ctags_Kinds
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
finish " 1}}}
"------------------------------------------------------------------------------
" Compiler: Microsoft Visual Studio C#
" Maintainer: Zhou YiChao (broken.zhou@gmail.com)
" Previous Maintainer: Joseph H. Yao (hyao@sina.com)
-" Last Change: 2011 Apr 21
+" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "cs"
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%tarning%*[^:]:\ %m
CompilerSet makeprg=csc\ %
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Help Page: compiler-decada
"------------------------------------------------------------------------------
+let s:keepcpo= &cpo
+set cpo&vim
+
if (exists("current_compiler") &&
\ current_compiler == "decada") ||
\ version < 700
execute "CompilerSet makeprg=" . escape (g:decada.Make_Command, ' ')
execute "CompilerSet errorformat=" . escape (g:decada.Error_Format, ' ')
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
finish " 1}}}
"------------------------------------------------------------------------------
" Compiler: G95
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.3
-" Last Change: 2011 Apr 01
+" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3492
" https://bitbucket.org/xuhdev/compiler-g95.vim
" License: Same as Vim
finish
endif
let current_compiler = 'g95'
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%-Z%trror:\ %m,
\%-Z%tarning\ (%n):\ %m,
\%-C%.%#
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Compiler: GNU Fortran Compiler
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.3
-" Last Change: 19 March 2011
+" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3496
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
" License: Same as Vim
finish
endif
let current_compiler = 'gfortran'
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%-Z%trror:\ %m,
\%-Z%tarning:\ %m,
\%-C%.%#
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Help Page: compiler-gnat
"------------------------------------------------------------------------------
-if (exists("current_compiler") &&
- \ current_compiler == "gnat") ||
- \ version < 700
+if (exists("current_compiler")&& current_compiler == "gnat") || version < 700
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
let current_compiler = "gnat"
execute "CompilerSet makeprg=" . escape (g:gnat.Get_Command('Make'), ' ')
execute "CompilerSet errorformat=" . escape (g:gnat.Error_Format, ' ')
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
finish " 1}}}
"------------------------------------------------------------------------------
" Compiler: HP aCC
" Maintainer: Matthias Ulrich <matthias-ulrich@web.de>
" URL: http://www.subhome.de/vim/hp_acc.vim
-" Last Change: 2005 Nov 19
+" Last Change: 2012 Apr 30
"
" aCC --version says: "HP ANSI C++ B3910B A.03.13"
" This compiler has been tested on:
finish
endif
let current_compiler = "hp_acc"
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%Z\ \ \ \ %p^%.%#,
\%-C%.%#
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim:ts=8:sw=4:cindent
" Compiler: Intel Fortran Compiler
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.1
-" Last Change: 19 March 2011
+" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3497
" https://bitbucket.org/xuhdev/compiler-ifort.vim
" License: Same as Vim
finish
endif
let current_compiler = 'ifort'
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%A%f(%l):\ %tarning\ \#%n:\ %m,
\%-Z%p^,
\%-G%.%#
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Vim compiler file
" Compiler: Intel C++ 7.1
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
-" Last Change: 2004 May 16
+" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "intel"
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%-Z\ \ %p^,
\%-G\\s%#,
\%-G%.%#
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Vim compiler file
" Compiler: SGI IRIX 5.3 cc
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
-" Last Change: 2004 Mar 27
+" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "irix5_c"
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%-Z\ %p^,
\-G\\s%#,
\%-G%.%#
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Vim compiler file
" Compiler: SGI IRIX 5.3 CC or NCC
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
-" Last Change: 2004 Mar 27
+" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "irix5_cpp"
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%-Z\ \ %p%^,
\%+C\ %\\{10}%.%#,
\%-G%.%#
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Vim compiler file
" Compiler: SGI IRIX 6.5 MIPS C (cc)
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
-" Last Change: 2004 Mar 27
+" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "mips_c"
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%-Z\ \ %p^,
\%-G\\s%#,
\%-G%.%#
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Vim compiler file
" Compiler: SGI IRIX 6.5 MIPSPro C (c89)
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
-" Last Change: 2004 Mar 27
+" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "mipspro_c89"
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%+C\ \ %m,
\%-G\\s%#,
\%-G%.%#
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Vim compiler file
" Compiler: SGI IRIX 6.5 MIPSPro C++ (CC)
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
-" Last Change: 2004 Mar 27
+" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
let current_compiler = "mipspro_cpp"
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
\%-Z\ \ %p^,
\%-G\\s%#,
\%-G%.%#
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Vim compiler file
" Compiler: TeX
" Maintainer: Artem Chuprina <ran@ran.pp.ru>
-" Last Change: 2004 Mar 27
+" Last Change: 2012 Apr 30
if exists("current_compiler")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
let current_compiler = 'make'
endif
-let s:cpo_save = &cpo
-set cpo-=C
-
" Value errorformat are taken from vim help, see :help errorformat-LaTeX, with
" addition from Srinath Avadhanula <srinath@fastmail.fm>
CompilerSet errorformat=%E!\ LaTeX\ %trror:\ %m,
\%+Q%*[^()])%r,
\%+Q[%\\d%*[^()])%r
-let &cpo = s:cpo_save
-unlet s:cpo_save
+let &cpo = s:keepcpo
+unlet s:keepcpo
-*options.txt* For Vim version 7.3. Last change: 2012 Apr 26
+*options.txt* For Vim version 7.3. Last change: 2012 Apr 28
VIM REFERENCE MANUAL by Bram Moolenaar
the file should contain words with similar meaning, separated by
non-keyword characters (white space is preferred). Maximum line
length is 510 bytes.
+ To obtain a file to be used here, check out this ftp site:
+ ftp://ftp.ox.ac.uk/pub/wordlists/ First get the README file.
To include a comma in a file name precede it with a backslash. Spaces
after a comma are ignored, otherwise spaces are included in the file
name. See |option-backslash| about using backslashes.
-*todo.txt* For Vim version 7.3. Last change: 2012 Apr 26
+*todo.txt* For Vim version 7.3. Last change: 2012 Apr 30
VIM REFERENCE MANUAL by Bram Moolenaar
*known-bugs*
-------------------- Known bugs and current work -----------------------
-Go through list of maintainers that didn't respond. (Thilo Six, Mar 19)
-
Go through more coverity reports.
Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10)
Stack trace of crash: http://vpaste.net/GBt9S
(Alexandre Provencio)
-Patch for IBM z/OS makefile. (Stephen Bovy, 2012 Apr 26)
-
-Test 77 fails if cksum uses tabs instead of spaces. (Michael Soyka, 2012 Apr
-25)
-
Once syntax and other runtime files have been fixed: add "set cp" to
check.vim. Use a function to run both with 'cp' and 'nocp'.
Patch for crash involving curwin->w_s. (Christian Brabandt, 2012 Apr 20)
What is the cause? Leaks memory? Other solution?
-More debug info Apr 26.
+More debug info Apr 26. Patch with proper fix Apr 26. Update 28 Apr.
Issue 54: document behavior of -complete, also expands arg.
+Cursor on wrong line after ":copen". (John Beckett, 2012 Apr 30)
+
Syntax update problem in one buffer opened in two windows, bottom window is
not correctly updated. (Paul Harris, 2012 Feb 27)
for a user action without a prompt. (Maarten Billemont, 2012 Feb 3)
Do give the prompt? Quit with an error?
+Patch for undofile(). (Christian Brabandt, 2012 Apr 27)
+
Patch for: (Christian Brabandt, 2011 Aug 22)
- Make it possible to enter "r<C-E>" and "r<C-Y>" (get character from line
below/above).
8 ":sign unplace * file={filename}" should work. Also: ":sign unplace *
buffer={bufnr}". So one can remove all signs for one file/buffer.
+Patch for auto copy selecting to + register. (by Christian Brabant, in email
+from Sergey Vakulenko, 2012 Apr 27)
+
Patch to add "onselected" callback for completion. (Taro Muraoka, 2011 Sep 24)
Another for CompleteFuncOk. (Florian Klein, 2012 Jan 31)
Name it "CompleteFuncDone".
indicates this, so that ":verbose set" can give a hint. Check with options in
the help file.
+Patch for IBM z/OS makefile. (Stephen Bovy, 2012 Apr 26)
+Patch for configure (Stephen Bovy, 2012 Apr 28)
+Updates later.
+
After patch 7.3.097 still get E15. (Yukihiro Nakadaira, 2011 Jan 18)
Also for another example (ZyX, 2011 Jan 24)
" Vim filetype plugin file
" Language: Abaqus finite element input file (www.abaqus.com)
" Maintainer: Carl Osterwisch <osterwischc@asme.org>
-" Last Change: 2012 Mar 11
+" Last Change: 2012 Apr 30
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin") | finish | endif
\ "Abaqus Results (*.dat)\t*.dat\n" .
\ "Abaqus Messages (*.pre *.msg *.sta)\t*.pre;*.msg;*.sta\n" .
\ "All Files (*.*)\t*.*\n"
- let b:undo_ftplugin .= "|unlet b:browsefilter"
+ let b:undo_ftplugin .= "|unlet! b:browsefilter"
endif
" Define patterns for the matchit plugin
\ '\*assembly:\*end\s*assembly,' .
\ '\*instance:\*end\s*instance,' .
\ '\*step:\*end\s*step'
- let b:undo_ftplugin .= "|unlet b:match_ignorecase b:match_words"
+ let b:undo_ftplugin .= "|unlet! b:match_ignorecase b:match_words"
endif
" Define keys used to move [count] keywords backward or forward.
let b:undo_ftplugin .= "|unmap <buffer> [[|unmap <buffer> ]]"
\ . "|unmap <buffer> <LocalLeader><LocalLeader>"
+" Undo must be done in nocompatible mode for <LocalLeader>.
+let b:undo_ftplugin = "let s:cpo_save = &cpoptions|"
+ \ . "set cpoptions&vim|"
+ \ . b:undo_ftplugin
+ \ . "|let &cpoptions = s:cpo_save"
+ \ . "|unlet s:cpo_save"
+
" Restore saved compatibility options
let &cpoptions = s:cpo_save
unlet s:cpo_save
" Make sure the continuation lines below do not cause problems in
" compatibility mode.
-let s:save_cpo = &cpo
-set cpo-=C
+let s:keepcpo= &cpo
+set cpo&vim
" Define some defaults in case the included ftplugins don't set them.
let s:undo_ftplugin = ""
\ s:undo_ftplugin
" Restore the saved compatibility options.
-let &cpo = s:save_cpo
-unlet s:save_cpo
+let &cpo = s:keepcpo
+unlet s:keepcpo
if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1
+let s:keepcpo= &cpo
+set cpo&vim
setlocal cinkeys-=0#
setlocal indentkeys-=0#
let b:browsefilter = "Python Files (*.py)\t*.py\n" .
\ "All Files (*.*)\t*.*\n"
endif
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
if exists("b:did_indent") || version < 700
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
let b:did_indent = 45
return ind
endfunction GetAdaIndent
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
finish " 1}}}
"------------------------------------------------------------------------------
" Language: Python
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Original Author: David Bustos <bustos@caltech.edu>
-" Last Change: 2006 Jun 18
+" Last Change: 2012 Apr 30
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
+let s:keepcpo= &cpo
+set cpo&vim
" Some preliminary settings
setlocal nolisp " Make sure lisp indenting doesn't supersede us
endfunction
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim:sw=2
" Menu Translations: Afrikaas
" Maintainer: Danie Roux <droux@tuks.co.za>
-" Last Change: 2003 Mar 30
+" Last Change: 2012 Apr 30
" Quit when menu translations have already been done.
if exists("did_menu_trans")
finish
endif
let did_menu_trans = 1
+let s:keepcpo= &cpo
+set cpo&vim
" The translations below are in latin1, but they work for cp1252 and
" iso-8859-15 without conversion as well.
menutrans Co&lor\ test Toets\ die\ &kleure
menutrans &Highlight\ test Toets\ die\ verligting
menutrans &Convert\ to\ HTML Verwissel\ na\ HTML
+
+let s:keepcpo= &cpo
+set cpo&vim
if exists("b:current_syntax") || version < 700
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
let b:current_syntax = "ada"
" this speeds things up greatly.
syntax sync minlines=1 maxlines=1
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
finish " 1}}}
"------------------------------------------------------------------------------
" Script URL: http://www.vim.org/scripts/script.php?script_id=1239
" ChangeLog: Please visit the script URL for detailed change information
+" Quit when a syntax file was already loaded.
+if exists("b:current_syntax")
+ finish
+endif
+let s:keepcpo= &cpo
+set cpo&vim
+
+let b:current_syntax = "autoit"
+
" AutoIt is not case dependent
syn case ignore
hi def link autoitStyle Type
hi def link autoitConst Type
hi def link autoitSend Type
+
syn sync minlines=50
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
elseif exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
syn case ignore
syn match cmakeEscaped /\(\\\\\|\\"\|\\n\|\\t\)/ contained
let b:current_syntax = "cmake"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
"EOF"
" Language: Cucumber
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Filenames: *.feature
-" Last Change: 2010 May 21
+" Last Change: 2012 Apr 30
if exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
syn case match
syn sync minlines=20
let b:current_syntax = "cucumber"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim:set sts=2 sw=2:
" Vim syntax file
" Language: Datascript
" Maintainer: Dominique Pelle <dominique.pelle@gmail.com>
-" Last Change: 2010-08-01
+" Last Change: 2012 Apr 30
"
" DataScript is a formal language for modelling binary datatypes,
" bitstreams or file formats. For more information, see:
elseif exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
syn keyword dsPackage import package
syn keyword dsType bit string
hi def link dsComment Comment
let b:current_syntax = "datascript"
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
if exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
" Fvwm configuration files are case insensitive
syn case ignore
hi def link fvwmModuleName Function
let b:current_syntax = "fvwm"
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
" Vim syntax file
" Language: Linden Scripting Language
" Maintainer: Timo Frenay <timo@frenay.net>
-" Last Change: 2008 Mar 29
+" Last Change: 2012 Apr 30
" Quit when a syntax file was already loaded
if exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
" Initializations
syn case match
let b:current_syntax = "lsl"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim: ts=8
" Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
" Ex-maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm>
" First Author: Valentino Kyriakides <1kyriaki@informatik.uni-hamburg.de>
-" Last Change: 2007 Feb 21
+" Last Change: 2012 Apr 30
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
elseif exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
if &filetype != 'objcpp'
" Read the C syntax to start with
let b:current_syntax = "objc"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim: ts=8
" Language: Perl 6
" Maintainer: Andy Lester <andy@petdance.com>
" Homepage: http://github.com/petdance/vim-perl/tree/master
-" Last Change: 2009-07-04
+" Last Change: 2012 Apr 30
" Contributors: Luke Palmer <fibonaci@babylonia.flatirons.org>
" Moritz Lenz <moritz@faui2k3.org>
elseif exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
" identifiers
syn match p6Normal display "\K\%(\k\|[-']\K\@=\)*"
let b:current_syntax = "perl6"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim:ts=8:sts=4:sw=4:expandtab:ft=vim
" Vim syntax file
" Language: po (gettext)
" Maintainer: Dwayne Bailey <dwayne@translate.org.za>
-" Last Change: 2010 Sep 21
+" Last Change: 2012 Apr 30
" Contributors: Dwayne Bailey (Most advanced syntax highlighting)
" Leonardo Fontenelle (Spell checking)
" Nam SungHyun <namsh@kldp.org> (Original maintainer)
elseif exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
syn sync minlines=10
let b:current_syntax = "po"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim:set ts=8 sts=2 sw=2 noet:
elseif exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
syn case ignore
endif
let b:current_syntax = "sgmldecl"
+
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim:set tw=78 ts=4:
elseif exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
" Key Names for values.
syn keyword taskdataKey description due end entry imask mask parent
let b:current_syntax = "taskdata"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim:noexpandtab
elseif exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
syn match taskeditHeading "^\s*#\s*Name\s\+Editable details\s*$" contained
syn match taskeditHeading "^\s*#\s*-\+\s\+-\+\s*$" contained
let b:current_syntax = "taskedit"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim:noexpandtab
" Language: Valgrind Memory Debugger Output
" Maintainer: Roger Luethi <rl@hellgate.ch>
" Program URL: http://devel-home.kde.org/~sewardj/
-" Last Change: 2002 Apr 07
+" Last Change: 2012 Apr 30
"
" Notes: mostly based on strace.vim and xml.vim
if exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
syn case match
syn sync minlines=50
hi def link valgrindSrc Statement
let b:current_syntax = "valgrind"
+
+let &cpo = s:keepcpo
+unlet s:keepcpo