Updated runtime files.

This commit is contained in:
Bram Moolenaar
2011-12-30 13:11:27 +01:00
parent deaf7b7397
commit b6b046b281
35 changed files with 453 additions and 251 deletions

View File

@ -1,7 +1,7 @@
" Vim settings file
" Language: Fortran90 (and Fortran95, Fortran77, F and elf90)
" Version: 0.46
" Last Change: 2010 July 24
" Version: 0.47
" Last Change: 2011 December 28
" Maintainer: Ajit J. Thakkar <ajit@unb.ca>; <http://www.unb.ca/chem/ajit/>
" Usage: Do :help fortran-plugin from Vim
" Credits:
@ -12,6 +12,9 @@ if exists("b:did_ftplugin")
finish
endif
let s:cposet=&cpoptions
set cpoptions&vim
" Don't do other file type settings for this buffer
let b:did_ftplugin = 1
@ -78,9 +81,6 @@ setlocal fo+=tcql
setlocal include=^\\c#\\=\\s*include\\s\\+
setlocal suffixesadd+=.f95,.f90,.for,.f,.F,.f77,.ftn,.fpp
let s:cposet=&cpoptions
set cpoptions-=C
" Define patterns for the matchit plugin
if !exists("b:match_words")
let s:notend = '\%(\<end\s\+\)\@<!'

View File

@ -1,12 +1,13 @@
" Vim filetype plugin file
" Language: Kimwitu++
" Maintainer: Michael Piefel <piefel@informatik.hu-berlin.de>
" Last Change: 16 August 2001
" Maintainer: Michael Piefel <entwurf@piefel.de>
" Last Change: 10 December 2011
" Behaves almost like C++
runtime! ftplugin/cpp.vim ftplugin/cpp_*.vim ftplugin/cpp/*.vim
set cpo-=C
let s:cpo_save = &cpo
set cpo&vim
" Limit the browser to related files
if has("gui_win32") && !exists("b:browsefilter")
@ -18,3 +19,6 @@ endif
" Set the errorformat for the Kimwitu++ compiler
set efm+=kc%.%#:\ error\ at\ %f:%l:\ %m
let &cpo = s:cpo_save
unlet s:cpo_save

View File

@ -1,13 +1,16 @@
" Plugin to update the %changelog section of RPM spec files
" Filename: spec.vim
" Maintainer: Gustavo Niemeyer <niemeyer@conectiva.com>
" Last Change: Wed, 10 Apr 2002 16:28:52 -0300
" Last Change: 2011 Dec 25 by Thilo Six
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo&vim
if !exists("no_plugin_maps") && !exists("no_spec_maps")
if !hasmapto("<Plug>SpecChangelog")
map <buffer> <LocalLeader>c <Plug>SpecChangelog
@ -166,3 +169,6 @@ let b:match_words =
\ '^Name:^%description:^%clean:^%setup:^%build:^%install:^%files:' .
\ '^%package:^%preun:^%postun:^%changelog'
let &cpo = s:cpo_save
unlet s:cpo_save