Permalink
Browse files

updated for version 7.2a

  • Loading branch information...
1 parent efe58cd commit 8f5a3aeb218e62c94499e839dc287bac7de069f1 vimboss committed Jun 24, 2008
Showing with 6,609 additions and 319 deletions.
  1. +0 −1 runtime/autoload/xml/html401t.vim
  2. +0 −1 runtime/autoload/xml/html40f.vim
  3. +3 −0 runtime/colors/README.txt
  4. +11 −3 runtime/compiler/perl.vim
  5. +1 −1 runtime/doc/arabic.txt
  6. +5 −4 runtime/doc/spell.txt
  7. +4 −1 runtime/doc/usr_01.txt
  8. +1 −1 runtime/doc/usr_11.txt
  9. +2 −2 runtime/doc/usr_27.txt
  10. +3 −3 runtime/doc/usr_28.txt
  11. +1 −1 runtime/doc/usr_40.txt
  12. +6 −6 runtime/doc/windows.txt
  13. +18 −0 runtime/ftplugin/denyhosts.vim
  14. +16 −5 runtime/ftplugin/php.vim
  15. +13 −7 runtime/ftplugin/vim.vim
  16. +16 −40 runtime/spell/pt/main.aap
  17. +19 −0 runtime/syntax/gitsendemail.vim
  18. +7 −5 runtime/syntax/mail.vim
  19. +137 −123 runtime/syntax/postscr.vim
  20. +716 −0 runtime/tutor/Filelist
  21. +19 −0 runtime/tutor/README_bindos.txt
  22. +5 −0 runtime/tutor/README_lang.txt
  23. +12 −0 runtime/tutor/README_srcdos.txt
  24. +10 −0 runtime/tutor/README_unix.txt
  25. +2,412 −0 runtime/tutor/runtime/filetype.vim
  26. +11 −0 runtime/tutor/runtime/ftoff.vim
  27. BIN runtime/tutor/runtime/vim32x32.png
  28. +75 −0 runtime/tutor/runtime/vimlogo.xpm
  29. +94 −0 runtime/tutor/runtime/vimrc_example.vim
  30. +3 −3 runtime/tutor/tutor
  31. +809 −0 runtime/tutor/tutor.fr.utf-8
  32. +972 −0 runtime/tutor/tutor.hr.cp1250
  33. +967 −0 runtime/tutor/tutor.it.utf-8
  34. +1 −0 src/INSTALL
  35. +1 −1 src/edit.c
  36. +6 −7 src/ops.c
  37. +10 −24 src/option.c
  38. +8 −0 src/option.h
  39. +177 −62 src/po/ja.sjis.po
  40. +6 −6 src/po/no.po
  41. +1 −1 src/po/zh_CN.cp936.po
  42. +23 −9 src/popupmnu.c
  43. +1 −0 src/proto/os_unix.pro
  44. +5 −0 src/structs.h
  45. +2 −2 src/vim.rc
@@ -458,4 +458,3 @@ let g:xmldata_html401t = {
\ 'param': ['/>', ''],
\ }
\ }
-" vim:ft=vim:ff=unix
@@ -466,4 +466,3 @@ let g:xmldata_html40t = {
\ 'param': ['/>', ''],
\ }
\ }
-" vim:ft=vim:ff=unix
@@ -50,6 +50,9 @@ If you think you have a color scheme that is good enough to be used by others,
please check the following items:
- Does it work in a color terminal as well as in the GUI?
+- Is "g:colors_name" set to a meaningful value? In case of doubt you can do
+ it this way:
+ let g:colors_name = expand('<sfile>:t:r')
- Is 'background' either used or appropriately set to "light" or "dark"?
- Try setting 'hlsearch' and searching for a pattern, is the match easy to
spot?
@@ -1,7 +1,7 @@
" Vim Compiler File
" Compiler: Perl syntax checks (perl -Wc)
" Maintainer: Christian J. Robinson <infynity@onewest.net>
-" Last Change: 2004 Mar 27
+" Last Change: 2006 Aug 13
if exists("current_compiler")
finish
@@ -15,12 +15,20 @@ endif
let s:savecpo = &cpo
set cpo&vim
+if exists('g:perl_compiler_force_warnings') && g:perl_compiler_force_warnings == 0
+ let s:warnopt = 'w'
+else
+ let s:warnopt = 'W'
+endif
+
if getline(1) =~# '-[^ ]*T'
- CompilerSet makeprg=perl\ -WTc\ %
+ let s:taintopt = 'T'
else
- CompilerSet makeprg=perl\ -Wc\ %
+ let s:taintopt = ''
endif
+exe 'CompilerSet makeprg=perl\ -' . s:warnopt . s:taintopt . 'c\ %'
+
CompilerSet errorformat=
\%-G%.%#had\ compilation\ errors.,
\%-G%.%#syntax\ OK,
@@ -1,4 +1,4 @@
-*arabic.txt* For Vim version 7.1. Last change: 2005 Mar 29
+*arabic.txt* For Vim version 7.2a. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Nadim Shaikli
@@ -1,4 +1,4 @@
-*spell.txt* For Vim version 7.1. Last change: 2007 May 07
+*spell.txt* For Vim version 7.2a. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -21,7 +21,7 @@ vimspell" to find about it. But you will probably want to get rid of the
plugin and use the 'spell' option instead, it works better.
==============================================================================
-1. Quick start *spell-quickstart*
+1. Quick start *spell-quickstart* *E756*
This command switches on spell checking: >
@@ -46,7 +46,7 @@ won't work.
To search for the next misspelled word:
- *]s* *E756*
+ *]s*
]s Move to next misspelled word after the cursor.
A count before the command can be used to repeat.
'wrapscan' applies.
@@ -619,7 +619,8 @@ SPELL FILE MISSING *spell-SpellFileMissing* *spellfile.vim*
If the spell file for the language you are using is not available, you will
get an error message. But if the "spellfile.vim" plugin is active it will
offer you to download the spell file. Just follow the instructions, it will
-ask you where to write the file.
+ask you where to write the file (there must be a writable directory in
+'runtimepath' for this).
The plugin has a default place where to look for spell files, on the Vim ftp
server. If you want to use another location or another protocol, set the
@@ -1,4 +1,4 @@
-*usr_01.txt* For Vim version 7.1. Last change: 2006 Oct 08
+*usr_01.txt* For Vim version 7.2a. Last change: 2008 May 07
VIM USER MANUAL - by Bram Moolenaar
@@ -118,6 +118,9 @@ available, use the two-letter language code. For French: >
vimtutor fr
+On Unix, if you prefer using the GUI version of Vim, use "gvimtutor" or
+"vimtutor -g" instead of "vimtutor".
+
For OpenVMS, if Vim has been properly installed, you can start vimtutor from a
VMS prompt with: >
@@ -1,4 +1,4 @@
-*usr_11.txt* For Vim version 7.1. Last change: 2006 Apr 24
+*usr_11.txt* For Vim version 7.2a. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
@@ -1,4 +1,4 @@
-*usr_27.txt* For Vim version 7.1. Last change: 2006 Apr 24
+*usr_27.txt* For Vim version 7.2a. Last change: 2007 Nov 10
VIM USER MANUAL - by Bram Moolenaar
@@ -516,7 +516,7 @@ items mentioned above can be combined.
FINDING A CALIFORNIA LICENSE PLATE
-A sample license place number is "1MGU103". It has one digit, three uppercase
+A sample license plate number is "1MGU103". It has one digit, three uppercase
letters and three digits. Directly putting this into a search pattern: >
/\d\u\u\u\d\d\d
@@ -1,4 +1,4 @@
-*usr_28.txt* For Vim version 7.1. Last change: 2006 Apr 24
+*usr_28.txt* For Vim version 7.2a. Last change: 2008 Jun 14
VIM USER MANUAL - by Bram Moolenaar
@@ -378,7 +378,7 @@ More about folding by expression in the reference manual: |fold-expr|
This is useful when you set the 'diff' option in the same window. The
|vimdiff| command does this for you. Example: >
- setlocal diff foldmethod=diff scrollbind nowrap foldlevel=1
+ :setlocal diff foldmethod=diff scrollbind nowrap foldlevel=1
Do this in every window that shows a different version of the same file. You
will clearly see the differences between the files, while the text that didn't
@@ -389,7 +389,7 @@ For more details see |fold-diff|.
==============================================================================
*28.10* Which fold method to use?
-All these possibilities makes you wonder which method you should chose.
+All these possibilities make you wonder which method you should chose.
Unfortunately, there is no golden rule. Here are some hints.
If there is a syntax file with folding for the language you are editing, that
@@ -1,4 +1,4 @@
-*usr_40.txt* For Vim version 7.1. Last change: 2006 Jun 21
+*usr_40.txt* For Vim version 7.2a. Last change: 2006 Jun 21
VIM USER MANUAL - by Bram Moolenaar
@@ -1,4 +1,4 @@
-*windows.txt* For Vim version 7.1. Last change: 2007 Mar 17
+*windows.txt* For Vim version 7.2a. Last change: 2007 Oct 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -146,7 +146,7 @@ CTRL-W v *CTRL-W_v*
1. a width was not specified,
2. 'equalalways' is set,
3. 'eadirection' isn't "ver", and
- 4. one of the other windows are wider than the current or new
+ 4. one of the other windows is wider than the current or new
window.
Note: In other places CTRL-Q does the same as CTRL-V, but here
it doesn't!
@@ -1033,8 +1033,8 @@ list of buffers. |unlisted-buffer|
[!]. This will also edit a buffer that is not in the buffer
list, without setting the 'buflisted' flag.
-:[N]b[uffer][!] {filename}
- Edit buffer for {filename} from the buffer list. See
+:[N]b[uffer][!] {bufname}
+ Edit buffer for {bufname} from the buffer list. See
|:buffer-!| for [!]. This will also edit a buffer that is not
in the buffer list, without setting the 'buflisted' flag.
@@ -1045,8 +1045,8 @@ list of buffers. |unlisted-buffer|
also edit a buffer that is not in the buffer list, without
setting the 'buflisted' flag.
-:[N]sb[uffer] {filename}
- Split window and edit buffer for {filename} from the buffer
+:[N]sb[uffer] {bufname}
+ Split window and edit buffer for {bufname} from the buffer
list. This will also edit a buffer that is not in the buffer
list, without setting the 'buflisted' flag.
Note: If what you want to do is split the buffer, make a copy
@@ -0,0 +1,18 @@
+" Vim filetype plugin file
+" Maintainer: Nikolai Weibull <now@bitwi.se>
+" Latest Revision: 2007-09-18
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+let s:cpo_save = &cpo
+set cpo&vim
+
+let b:undo_ftplugin = "setl com< cms< fo<"
+
+setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
+
+let s:cpo_save = &cpo
+set cpo&vim
@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: php
" Maintainer: Dan Sharp <dwsharp at hotmail dot com>
-" Last Changed: 2006 Jul 15
+" Last Changed: 2007 Nov 10
" URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin
if exists("b:did_ftplugin") | finish | endif
@@ -42,7 +42,9 @@ endif
" ###
" Provided by Mikolaj Machowski <mikmach at wp dot pl>
setlocal include=\\\(require\\\|include\\\)\\\(_once\\\)\\\?
-setlocal iskeyword+=$
+" Disabled changing 'iskeyword', it breaks a command such as "*"
+" setlocal iskeyword+=$
+
if exists("loaded_matchit")
let b:match_words = '<?php:?>,\<switch\>:\<endswitch\>,' .
\ '\<if\>:\<elseif\>:\<else\>:\<endif\>,' .
@@ -55,15 +57,24 @@ if exists("loaded_matchit")
endif
" ###
-if exists('&ofu')
- setlocal ofu=phpcomplete#CompletePHP
+if exists('&omnifunc')
+ setlocal omnifunc=phpcomplete#CompletePHP
endif
+" Section jumping: [[ and ]] provided by Antony Scriven <adscriven at gmail dot com>
+let s:function = '\(abstract\s\+\|final\s\+\|private\s\+\|protected\s\+\|public\s\+\|static\s\+\)*function'
+let s:class = '\(abstract\s\+\|final\s\+\)*class'
+let s:interface = 'interface'
+let s:section = '\(.*\%#\)\@!\_^\s*\zs\('.s:function.'\|'.s:class.'\|'.s:interface.'\)'
+exe 'nno <buffer> <silent> [[ ?' . escape(s:section, '|') . '?<CR>:nohls<CR>'
+exe 'nno <buffer> <silent> ]] /' . escape(s:section, '|') . '/<CR>:nohls<CR>'
+exe 'ono <buffer> <silent> [[ ?' . escape(s:section, '|') . '?<CR>:nohls<CR>'
+exe 'ono <buffer> <silent> ]] /' . escape(s:section, '|') . '/<CR>:nohls<CR>'
setlocal commentstring=/*%s*/
" Undo the stuff we changed.
-let b:undo_ftplugin = "setlocal cms< inc< isk<" .
+let b:undo_ftplugin = "setlocal commentstring< include< omnifunc<" .
\ " | unlet! b:browsefilter b:match_words | " .
\ s:undo_ftplugin
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2006 Sep 26
+" Last Change: 2008 Feb 27
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -33,14 +33,20 @@ endif
setlocal commentstring=\"%s
" Move around functions.
-noremap <silent><buffer> [[ m':call search('^\s*fu\%[nction]\>', "bW")<CR>
-noremap <silent><buffer> ]] m':call search('^\s*fu\%[nction]\>', "W")<CR>
-noremap <silent><buffer> [] m':call search('^\s*endf*\%[unction]\>', "bW")<CR>
-noremap <silent><buffer> ][ m':call search('^\s*endf*\%[unction]\>', "W")<CR>
+nnoremap <silent><buffer> [[ m':call search('^\s*fu\%[nction]\>', "bW")<CR>
+vnoremap <silent><buffer> [[ m':<C-U>exe "normal! gv"<Bar>call search('^\s*fu\%[nction]\>', "bW")<CR>
+nnoremap <silent><buffer> ]] m':call search('^\s*fu\%[nction]\>', "W")<CR>
+vnoremap <silent><buffer> ]] m':<C-U>exe "normal! gv"<Bar>call search('^\s*fu\%[nction]\>', "W")<CR>
+nnoremap <silent><buffer> [] m':call search('^\s*endf*\%[unction]\>', "bW")<CR>
+vnoremap <silent><buffer> [] m':<C-U>exe "normal! gv"<Bar>call search('^\s*endf*\%[unction]\>', "bW")<CR>
+nnoremap <silent><buffer> ][ m':call search('^\s*endf*\%[unction]\>', "W")<CR>
+vnoremap <silent><buffer> ][ m':<C-U>exe "normal! gv"<Bar>call search('^\s*endf*\%[unction]\>', "W")<CR>
" Move around comments
-noremap <silent><buffer> ]" :call search('^\(\s*".*\n\)\@<!\(\s*"\)', "W")<CR>
-noremap <silent><buffer> [" :call search('\%(^\s*".*\n\)\%(^\s*"\)\@!', "bW")<CR>
+nnoremap <silent><buffer> ]" :call search('^\(\s*".*\n\)\@<!\(\s*"\)', "W")<CR>
+vnoremap <silent><buffer> ]" :<C-U>exe "normal! gv"<Bar>call search('^\(\s*".*\n\)\@<!\(\s*"\)', "W")<CR>
+nnoremap <silent><buffer> [" :call search('\%(^\s*".*\n\)\%(^\s*"\)\@!', "bW")<CR>
+vnoremap <silent><buffer> [" :<C-U>exe "normal! gv"<Bar>call search('\%(^\s*".*\n\)\%(^\s*"\)\@!', "bW")<CR>
" Let the matchit plugin know what items can be matched.
if exists("loaded_matchit")
Oops, something went wrong. Retry.

0 comments on commit 8f5a3ae

Please sign in to comment.