# HG changeset patch # User vimboss # Date 1218042364 0 # Node ID f4f8014d516e9b9620311aa2bb7a5a2d5749f451 # Parent 2f9308b31181f36bf605ee060fa763a28deacb03 updated for version 7.2c-000 diff --git a/Contents b/Contents --- a/Contents +++ b/Contents @@ -9,10 +9,10 @@ Vim Vi IMproved. A clone of the UNIX t messages, shows current file name in window title, on-line help, rectangular cut/paste, etc., etc., etc... - Version 7.2b. Also runs under UNIX, MSDOS and other systems. - vim72brt.tgz contains the documentation and syntax files. - vim72bbin.tgz contains the binaries. - vim72bsrc.tgz contains the sources. + Version 7.2c. Also runs under UNIX, MSDOS and other systems. + vim72crt.tgz contains the documentation and syntax files. + vim72cbin.tgz contains the binaries. + vim72csrc.tgz contains the sources. Author: Bram Moolenaar et al. diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ all install uninstall tools config confi # Before creating an archive first delete all backup files, *.orig, etc. MAJOR = 7 -MINOR = 2b +MINOR = 2c # Uncomment this line if the Win32s version is to be included. DOSBIN_S = dosbin_s diff --git a/README.txt b/README.txt --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -README.txt for version 7.2b of Vim: Vi IMproved. +README.txt for version 7.2c of Vim: Vi IMproved. WHAT IS VIM diff --git a/README_ami.txt b/README_ami.txt --- a/README_ami.txt +++ b/README_ami.txt @@ -1,4 +1,4 @@ -README_ami.txt for version 7.2b of Vim: Vi IMproved. +README_ami.txt for version 7.2c of Vim: Vi IMproved. This file explains the installation of Vim on Amiga systems. See README.txt for general information about Vim. diff --git a/README_amibin.txt b/README_amibin.txt --- a/README_amibin.txt +++ b/README_amibin.txt @@ -1,4 +1,4 @@ -README_amibin.txt for version 7.2b of Vim: Vi IMproved. +README_amibin.txt for version 7.2c of Vim: Vi IMproved. See "README.txt" for general information about Vim. See "README_ami.txt" for installation instructions for the Amiga. diff --git a/README_amisrc.txt b/README_amisrc.txt --- a/README_amisrc.txt +++ b/README_amisrc.txt @@ -1,4 +1,4 @@ -README_amisrc.txt for version 7.2b of Vim: Vi IMproved. +README_amisrc.txt for version 7.2c of Vim: Vi IMproved. See "README.txt" for general information about Vim. See "README_ami.txt" for installation instructions for the Amiga. diff --git a/README_bindos.txt b/README_bindos.txt --- a/README_bindos.txt +++ b/README_bindos.txt @@ -1,4 +1,4 @@ -README_bindos.txt for version 7.2b of Vim: Vi IMproved. +README_bindos.txt for version 7.2c of Vim: Vi IMproved. See "README.txt" for general information about Vim. See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows. diff --git a/README_dos.txt b/README_dos.txt --- a/README_dos.txt +++ b/README_dos.txt @@ -1,4 +1,4 @@ -README_dos.txt for version 7.2b of Vim: Vi IMproved. +README_dos.txt for version 7.2c of Vim: Vi IMproved. This file explains the installation of Vim on MS-DOS and MS-Windows systems. See "README.txt" for general information about Vim. diff --git a/README_extra.txt b/README_extra.txt --- a/README_extra.txt +++ b/README_extra.txt @@ -1,4 +1,4 @@ -README_extra.txt for version 7.2b of Vim: Vi IMproved. +README_extra.txt for version 7.2c of Vim: Vi IMproved. The extra archive of Vim is to be used in combination with the source archive (vim-7.0-src.tar.gz). The extra archive is useless without it. diff --git a/README_lang.txt b/README_lang.txt --- a/README_lang.txt +++ b/README_lang.txt @@ -1,4 +1,4 @@ -README_lang.txt for version 7.2b of Vim: Vi IMproved. +README_lang.txt for version 7.2c of Vim: Vi IMproved. This file contains files for non-English languages: - Translated messages. diff --git a/README_mac.txt b/README_mac.txt --- a/README_mac.txt +++ b/README_mac.txt @@ -1,4 +1,4 @@ -README_mac.txt for version 7.2b of Vim: Vi IMproved. +README_mac.txt for version 7.2c of Vim: Vi IMproved. This file explains the installation of Vim on Macintosh systems. See "README.txt" for general information about Vim. diff --git a/README_ole.txt b/README_ole.txt --- a/README_ole.txt +++ b/README_ole.txt @@ -1,4 +1,4 @@ -README_ole.txt for version 7.2b of Vim: Vi IMproved. +README_ole.txt for version 7.2c of Vim: Vi IMproved. This archive contains gvim.exe with OLE interface and VisVim. This version of gvim.exe can also load a number of interface dynamically (you diff --git a/README_os2.txt b/README_os2.txt --- a/README_os2.txt +++ b/README_os2.txt @@ -1,4 +1,4 @@ -README_os2.txt for version 7.2b of Vim: Vi IMproved. +README_os2.txt for version 7.2c of Vim: Vi IMproved. This file explains the installation of Vim on OS/2 systems. See "README.txt" for general information about Vim. diff --git a/README_os390.txt b/README_os390.txt --- a/README_os390.txt +++ b/README_os390.txt @@ -1,4 +1,4 @@ -README_os_390.txt for version 7.2b of Vim: Vi IMproved. +README_os_390.txt for version 7.2c of Vim: Vi IMproved. Welcome to the OS/390 Unix port of VIM. diff --git a/README_src.txt b/README_src.txt --- a/README_src.txt +++ b/README_src.txt @@ -1,4 +1,4 @@ -README_src.txt for version 7.2b of Vim: Vi IMproved. +README_src.txt for version 7.2c of Vim: Vi IMproved. The source archive contains the files needed to compile Vim on Unix systems. It is packed for Unix systems (NL line separator). It is also used for other diff --git a/README_srcdos.txt b/README_srcdos.txt --- a/README_srcdos.txt +++ b/README_srcdos.txt @@ -1,4 +1,4 @@ -README_srcdos.txt for version 7.2b of Vim: Vi IMproved. +README_srcdos.txt for version 7.2c of Vim: Vi IMproved. See "README.txt" for general information about Vim. See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows. diff --git a/README_unix.txt b/README_unix.txt --- a/README_unix.txt +++ b/README_unix.txt @@ -1,4 +1,4 @@ -README_unix.txt for version 7.2b of Vim: Vi IMproved. +README_unix.txt for version 7.2c of Vim: Vi IMproved. This file explains the installation of Vim on Unix systems. See "README.txt" for general information about Vim. diff --git a/README_vms.txt b/README_vms.txt --- a/README_vms.txt +++ b/README_vms.txt @@ -1,4 +1,4 @@ -README_vms.txt for version 7.2b of Vim: Vi IMproved. +README_vms.txt for version 7.2c of Vim: Vi IMproved. This file explains the installation of Vim on VMS systems. See "README.txt" in the runtime archive for information about Vim. diff --git a/README_w32s.txt b/README_w32s.txt --- a/README_w32s.txt +++ b/README_w32s.txt @@ -1,4 +1,4 @@ -README_w32s.txt for version 7.2b of Vim: Vi IMproved. +README_w32s.txt for version 7.2c of Vim: Vi IMproved. This archive contains the gvim.exe that was specifically compiled for use in the Win32s subsystem in MS-Windows 3.1 and 3.11. diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi --- a/nsis/gvim.nsi +++ b/nsis/gvim.nsi @@ -22,7 +22,7 @@ !define HAVE_NLS !define VER_MAJOR 7 -!define VER_MINOR 2b +!define VER_MINOR 2c # ----------- No configurable settings below this line ----------- diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim --- a/runtime/autoload/netrw.vim +++ b/runtime/autoload/netrw.vim @@ -1,7 +1,7 @@ " netrw.vim: Handles file transfer and remote directory listing across " AUTOLOAD SECTION -" Date: Jul 12, 2008 -" Version: 127 +" Date: Aug 01, 2008 +" Version: 131 " Maintainer: Charles E Campbell, Jr " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim " Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1 @@ -27,7 +27,7 @@ if !exists("s:NOTE") let s:WARNING = 1 let s:ERROR = 2 endif -let g:loaded_netrw = "v127" +let g:loaded_netrw = "v131" " sanity checks if v:version < 700 @@ -76,7 +76,13 @@ if !exists("g:netrw_ftp_cmd") let g:netrw_ftp_cmd = "ftp" endif if !exists("g:netrw_http_cmd") - if executable("curl") + if executable("elinks") + let g:netrw_http_cmd = "elinks" + let g:netrw_http_xcmd= "-dump >" + elseif executable("links") + let g:netrw_http_cmd = "links" + let g:netrw_http_xcmd= "-dump >" + elseif executable("curl") let g:netrw_http_cmd = "curl -o" elseif executable("wget") let g:netrw_http_cmd = "wget -q -O" @@ -359,6 +365,7 @@ endif if !exists("g:netrw_tmpfile_escape") let g:netrw_tmpfile_escape= ' &;' endif +let s:netrw_map_escape = "<|\n\r\\\\"" " BufEnter event ignored by decho when following variable is true " Has a side effect that doau BufReadPost doesn't work, so @@ -712,15 +719,16 @@ fun! netrw#NetRead(mode,...) " call Decho("read via ftp+.netrc (method #2)") let netrw_fname= b:netrw_fname call s:SaveBufVars()|new|call s:RestoreBufVars() + let filtbuf= bufnr("%") setlocal ff=unix - exe "put ='".g:netrw_ftpmode."'" -" call Decho("filter input: ".getline('.')) + put =g:netrw_ftpmode +" call Decho("filter input: ".getline(line("$"))) if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" -" call Decho("filter input: ".getline('.')) + put =g:netrw_ftpextracmd +" call Decho("filter input: ".getline(line("$"))) endif - exe "put ='".'get \"'.netrw_fname.'\" '.tmpfile."'" -" call Decho("filter input: ".getline('.')) + call setline(line("$")+1,'get "'.netrw_fname.'" '.tmpfile) +" call Decho("filter input: ".getline(line("$"))) if exists("g:netrw_port") && g:netrw_port != "" " call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1)) exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine." ".g:netrw_port,1) @@ -746,6 +754,7 @@ fun! netrw#NetRead(mode,...) " call Decho("read via ftp+mipf (method #3)") let netrw_fname= escape(b:netrw_fname,g:netrw_fname_escape) call s:SaveBufVars()|new|call s:RestoreBufVars() + let filtbuf= bufnr("%") setlocal ff=unix if exists("g:netrw_port") && g:netrw_port != "" put ='open '.g:netrw_machine.' '.g:netrw_port @@ -770,7 +779,7 @@ fun! netrw#NetRead(mode,...) " call Decho("filter input: ".getline('.')) endif if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" + put =g:netrw_ftpextracmd " call Decho("filter input: ".getline('.')) endif put ='get \"'.netrw_fname.'\" '.tmpfile @@ -820,15 +829,20 @@ fun! netrw#NetRead(mode,...) return endif - if match(b:netrw_fname,"#") == -1 - " using g:netrw_http_cmd (usually wget or curl) + if match(b:netrw_fname,"#") == -1 || exists("g:netrw_http_xcmd") + " using g:netrw_http_cmd (usually elinks, links, curl, wget, or fetch) " call Decho('using '.g:netrw_http_cmd.' (# not in b:netrw_fname<'.b:netrw_fname.">)") -" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.netrw_fname,1)) - exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1) + if exists("g:netrw_http_xcmd") +" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1)." ".g:netrw_http_xcmd." ".shellescape(tmpfile,1)) + exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1)." ".g:netrw_http_xcmd." ".shellescape(tmpfile,1) + else +" call Decho("exe ".s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1)) + exe s:netrw_silentxfer."!".g:netrw_http_cmd." ".shellescape(tmpfile,1)." ".shellescape("http://".g:netrw_machine.b:netrw_fname,1) + endif let result = s:NetrwGetFile(readcmd, tmpfile, b:netrw_method) else - " wget/curl plus a jump to an in-page marker (ie. http://abc/def.html#aMarker) + " wget/curl/fetch plus a jump to an in-page marker (ie. http://abc/def.html#aMarker) " call Decho(("wget/curl plus jump (# in b:netrw_fname<".b:netrw_fname.">)") let netrw_html= substitute(b:netrw_fname,"#.*$","","") let netrw_tag = substitute(b:netrw_fname,"^.*#","","") @@ -1084,14 +1098,14 @@ fun! netrw#NetWrite(...) range new " call Decho("filter input window#".winnr()) setlocal ff=unix - exe "put ='".g:netrw_ftpmode."'" -" call Decho("filter input: ".getline('.')) + put =g:netrw_ftpmode +" call Decho("filter input: ".getline('$')) if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" -" call Decho("filter input: ".getline('.')) - endif - exe "put ='".'put \"'.tmpfile.'\" \"'.netrw_fname.'\"'."'" -" call Decho("filter input: ".getline('.')) + put =g:netrw_ftpextracmd +" call Decho("filter input: ".getline("$")) + endif + call setline(line("$")+1,'put "'.tmpfile.'" "'.netrw_fname.'"') +" call Decho("filter input: ".getline("$")) if exists("g:netrw_port") && g:netrw_port != "" " call Decho("executing: %!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1)) exe s:netrw_silentxfer."%!".g:netrw_ftp_cmd." -i ".shellescape(g:netrw_machine,1)." ".shellescape(g:netrw_port,1) @@ -1276,10 +1290,11 @@ fun! netrw#NetSource(...) let i= 1 while i <= a:0 call netrw#NetRead(3,a:{i}) -" call Decho("s:netread_tmpfile<".s:netrw_tmpfile.">") +" call Decho("(netrw#NetSource) s:netread_tmpfile<".s:netrw_tmpfile.">") if s:FileReadable(s:netrw_tmpfile) -" call Decho("exe so ".s:netrw_tmpfile) - exe "so ".s:netrw_tmpfile +" call Decho("(netrw#NetSource) exe so ".fnameescape(s:netrw_tmpfile)) + exe "so ".fnameescape(s:netrw_tmpfile) +" call Decho("(netrw#NetSource) delete(".s:netrw_tmpfile.")") call delete(s:netrw_tmpfile) unlet s:netrw_tmpfile else @@ -1654,6 +1669,7 @@ endfun fun! s:BrowserMaps(islocal) " call Dfunc("s:BrowserMaps(islocal=".a:islocal.") b:netrw_curdir<".b:netrw_curdir.">") if a:islocal +" call Decho("make local maps") nnoremap :call netrw#LocalBrowseCheck(NetrwBrowseChgDir(1,NetrwGetWord())) nnoremap - :exe "norm! 0"call netrw#LocalBrowseCheck(NetrwBrowseChgDir(1,'../')) nnoremap a :call NetrwHide(1) @@ -1709,23 +1725,25 @@ fun! s:BrowserMaps(islocal) if s:didstarstar || !mapcheck("","n") nnoremap :Pexplore endif + let mapsafecurdir = escape(b:netrw_curdir, s:netrw_map_escape) if g:netrw_mousemaps == 1 nnoremap :call NetrwLeftmouse(1) nnoremap :call NetrwPrevWinOpen(1) nnoremap :call NetrwMarkFile(1,NetrwGetWord()) - exe 'nnoremap :call NetrwLocalRm("'.b:netrw_curdir.'")' - exe 'vnoremap :call NetrwLocalRm("'.b:netrw_curdir.'")' - endif - exe 'nnoremap :call NetrwLocalRm("'.b:netrw_curdir.'")' - exe 'vnoremap :call NetrwLocalRm("'.b:netrw_curdir.'")' - exe 'nnoremap D :call NetrwLocalRm("'.b:netrw_curdir.'")' - exe 'vnoremap D :call NetrwLocalRm("'.b:netrw_curdir.'")' - exe 'nnoremap R :call NetrwLocalRename("'.b:netrw_curdir.'")' - exe 'vnoremap R :call NetrwLocalRename("'.b:netrw_curdir.'")' + exe 'nnoremap :call NetrwLocalRm("'.mapsafecurdir.'")' + exe 'vnoremap :call NetrwLocalRm("'.mapsafecurdir.'")' + endif + exe 'nnoremap :call NetrwLocalRm("'.mapsafecurdir.'")' + exe 'vnoremap :call NetrwLocalRm("'.mapsafecurdir.'")' + exe 'nnoremap D :call NetrwLocalRm("'.mapsafecurdir.'")' + exe 'vnoremap D :call NetrwLocalRm("'.mapsafecurdir.'")' + exe 'nnoremap R :call NetrwLocalRename("'.mapsafecurdir.'")' + exe 'vnoremap R :call NetrwLocalRename("'.mapsafecurdir.'")' exe 'nnoremap m :call NetrwMakeDir("")' nnoremap :he netrw-quickhelp else " remote +" call Decho("make remote maps") call s:RemotePathAnalysis(b:netrw_curdir) nnoremap :call NetrwBrowse(0,NetrwBrowseChgDir(0,NetrwGetWord())) nnoremap :call NetrwRefresh(0,NetrwBrowseChgDir(0,'./')) @@ -1774,21 +1792,25 @@ fun! s:BrowserMaps(islocal) if !hasmapto('NetrwRefresh') nmap NetrwRefresh endif + + let mapsafepath = escape(s:path, s:netrw_map_escape) + let mapsafeusermach = escape(s:user.s:machine, s:netrw_map_escape) + nnoremap NetrwRefresh :call NetrwRefresh(0,NetrwBrowseChgDir(0,'./')) if g:netrw_mousemaps == 1 nnoremap :call NetrwLeftmouse(0) nnoremap :call NetrwPrevWinOpen(0) nnoremap :call NetrwMarkFile(0,NetrwGetWord()) - exe 'nnoremap :call NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")' - exe 'vnoremap :call NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")' - endif - exe 'nnoremap :call NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")' - exe 'vnoremap :call NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")' - exe 'nnoremap d :call NetrwMakeDir("'.s:user.s:machine.'")' - exe 'nnoremap D :call NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")' - exe 'vnoremap D :call NetrwRemoteRm("'.s:user.s:machine.'","'.s:path.'")' - exe 'nnoremap R :call NetrwRemoteRename("'.s:user.s:machine.'","'.s:path.'")' - exe 'vnoremap R :call NetrwRemoteRename("'.s:user.s:machine.'","'.s:path.'")' + exe 'nnoremap :call NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")' + exe 'vnoremap :call NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")' + endif + exe 'nnoremap :call NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")' + exe 'vnoremap :call NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")' + exe 'nnoremap d :call NetrwMakeDir("'.mapsafeusermach.'")' + exe 'nnoremap D :call NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")' + exe 'vnoremap D :call NetrwRemoteRm("'.mapsafeusermach.'","'.mapsafepath.'")' + exe 'nnoremap R :call NetrwRemoteRename("'.mapsafeusermach.'","'.mapsafepath.'")' + exe 'vnoremap R :call NetrwRemoteRename("'.mapsafeusermach.'","'.mapsafepath.'")' nnoremap :he netrw-quickhelp endif call s:SetRexDir(a:islocal,b:netrw_curdir) @@ -1842,7 +1864,7 @@ fun! s:NetrwBookmarkDir(chg,curdir) " change to the bookmarked directory " call Decho("(user: ) change to the bookmarked directory") if exists("g:NETRW_BOOKMARKDIR_{v:count}") - exe "e ".g:NETRW_BOOKMARKDIR_{v:count} + exe "e ".fnameescape(g:NETRW_BOOKMARKDIR_{v:count}) else echomsg "Sorry, bookmark#".v:count." doesn't exist!" endif @@ -2340,8 +2362,8 @@ fun! s:NetrwGetBuffer(islocal,dirname) " let v:errmsg= "" " Decho let escdirname= fnameescape(dirname) " call Decho(" errmsg<".v:errmsg."> bufnr(".escdirname.")=".bufnr(escdirname)."<".bufname(bufnr(escdirname)).">") -" call Decho(' exe silent! keepalt file '.fnameescape(escdirname)) - exe 'silent! keepalt file '.fnameescape(escdirname) +" call Decho(' exe silent! keepalt file '.escdirname) + exe 'silent! keepalt file '.escdirname " call Decho(" errmsg<".v:errmsg."> bufnr(".escdirname.")=".bufnr(escdirname)."<".bufname(bufnr(escdirname)).">") endif " call Decho(" named enew buffer#".bufnr("%")."<".bufname("%").">") @@ -3273,7 +3295,7 @@ fun! netrw#Explore(indx,dosplit,style,.. if starpat == 1 " starpat=1: Explore *//pattern (current directory only search for files containing pattern) " call Decho("starpat=".starpat.": build *//pattern list") - exe "vimgrep /".pattern."/gj ".b:netrw_curdir."/*" + exe "vimgrep /".pattern."/gj ".fnameescape(b:netrw_curdir)."/*" let w:netrw_explore_list = map(getqflist(),'bufname(v:val.bufnr)') if &hls | let keepregslash= s:ExplorePatHls(pattern) | endif @@ -3707,6 +3729,14 @@ endfun " of whatever may happen to be under the cursor at that " moment. When the mouse and gui are available, " shift-leftmouse may also be used to mark files. +" +" Creates two lists +" s:netrwmarkfilelist -- holds complete paths to all marked files +" s:netrwmarkfilelist_# -- holds list of marked files in current-buffer's directory (#==bufnr()) +" +" Creates a marked file match string +" s:netrwmarfilemtch_# -- used with 2match to display marked files +" fun! s:NetrwMarkFile(islocal,fname) " call Dfunc("s:NetrwMarkFile(islocal=".a:islocal." fname<".a:fname.">)") let curbufnr= bufnr("%") @@ -3826,7 +3856,7 @@ fun! s:NetrwMarkFileCompress(islocal) let fname= shellescape(s:ComposePath(curdir,fname)) endif else - let fname= shellescape(b:netrw_curdir.fname) + let fname= shellescape(b:netrw_curdir.fname,1) endif if executable(exe) if a:islocal @@ -3886,7 +3916,7 @@ fun! s:NetrwMarkFileCopy(islocal) if a:islocal && s:netrwmftgt_islocal " Copy marked files, local directory to local directory " call Decho("copy from local to local") - let args= join(map(copy(s:netrwmarkfilelist_{bufnr('%')}),"b:netrw_curdir.\"/\".shellescape(v:val)")) + let args= join(map(deepcopy(s:netrwmarkfilelist_{bufnr('%')}),"shellescape(b:netrw_curdir.\"/\".v:val)")) " call Decho("system(".g:netrw_localcopycmd." ".args." ".shellescape(s:netrwmftgt).")") call system(s:WinPath(g:netrw_localcopycmd)." ".args." ".shellescape(s:netrwmftgt)) @@ -3914,7 +3944,7 @@ fun! s:NetrwMarkFileCopy(islocal) if isdirectory(tmpdir) exe "keepjumps lcd ".fnameescape(tmpdir) call netrw#NetrwObtain(a:islocal,s:netrwmarkfilelist_{bufnr('%')},tmpdir) - let localfiles= map(copy(s:netrwmarkfilelist_{bufnr('%')}),'substitute(v:val,"^.*/","","")') + let localfiles= map(deepcopy(s:netrwmarkfilelist_{bufnr('%')}),'substitute(v:val,"^.*/","","")') call s:NetrwUpload(localfiles,s:netrwmftgt) if getcwd() == tmpdir for fname in s:netrwmarkfilelist_{bufnr('%')} @@ -3957,24 +3987,21 @@ endfun fun! s:NetrwMarkFileDiff(islocal) " call Dfunc("s:NetrwMarkFileDiff(islocal=".a:islocal.") b:netrw_curdir<".b:netrw_curdir.">") let curbufnr= bufnr("%") + if exists("s:netrwmarkfilelist_{curbufnr}") - let cnt = 0 let curdir = b:netrw_curdir for fname in s:netrwmarkfilelist let cnt= cnt + 1 - if !a:islocal - let fname= curdir.fname - endif if cnt == 1 -" call Decho("diffthis: ".fname) - exe "e ".fname +" call Decho("diffthis: fname<".fname.">") + exe "e ".fnameescape(fname) diffthis elseif cnt == 2 || cnt == 3 vsplit wincmd l " call Decho("diffthis: ".fname) - exe "e ".fname + exe "e ".fnameescape(fname) diffthis else break @@ -3982,6 +4009,7 @@ fun! s:NetrwMarkFileDiff(islocal) endfor call s:NetrwUnmarkList(curbufnr,curdir) endif + " call Dret("s:NetrwMarkFileDiff") endfun @@ -3995,17 +4023,7 @@ fun! s:NetrwMarkFileEdit(islocal) let curbufnr = bufnr("%") if exists("s:netrwmarkfilelist_{curbufnr}") call s:SetRexDir(a:islocal,curdir) - if a:islocal && g:netrw_keepdir - " use complete paths if its local and keepdir enabled - let flist= "" - for fname in s:netrwmarkfilelist -" let flist= flist." ".s:ComposePath(curdir,fname) - let flist= flist." ".fname - endfor - else -" let flist= substitute(escape(join(s:netrwmarkfilelist_{curbufnr},"\t"),' '),"\t",' ','g') - let flist= substitute(escape(join(s:netrwmarkfilelist,"\t"),' '),"\t",' ','g') - endif + let flist= join(map(deepcopy(s:netrwmarkfilelist), "fnameescape(v:val)")) " unmark markedfile list " call s:NetrwUnmarkList(curbufnr,curdir) call s:NetrwUnmarkAll() @@ -4138,17 +4156,11 @@ endfun fun! s:NetrwMarkFileGrep(islocal) " call Dfunc("s:NetrwMarkFileGrep(islocal=".a:islocal.")") let svpos = netrw#NetrwSavePosn() - let curdir = b:netrw_curdir let curbufnr = bufnr("%") if exists("s:netrwmarkfilelist") " call Decho("s:netrwmarkfilelist".string(s:netrwmarkfilelist).">") - let netrwmarkfilelist= "" - for fname in s:netrwmarkfilelist -" call Decho("fname<".fname.">") - let fname = escape(substitute(fname,"[\"']","","g")," ") - let netrwmarkfilelist = netrwmarkfilelist." ".fname - endfor + let netrwmarkfilelist= join(map(deepcopy(s:netrwmarkfilelist), "fnameescape(v:val)")) call s:NetrwUnmarkAll() " ask user for pattern @@ -4295,7 +4307,7 @@ fun! s:NetrwMarkFilePrint(islocal) 1split " the autocmds will handle both local and remote files " call Decho("exe silent e ".escape(fname,' ')) - exe "silent e ".escape(fname,' ') + exe "silent e ".fnameescape(fname) " call Decho("hardcopy") hardcopy q @@ -4419,21 +4431,11 @@ fun! s:NetrwMarkFileTag(islocal) if exists("s:netrwmarkfilelist") " call Decho("s:netrwmarkfilelist".string(s:netrwmarkfilelist).">") - if a:islocal && g:netrw_keepdir - let netrwmarkfilelist= "" - for fname in s:netrwmarkfilelist -" let netrwmarkfilelist= netrwmarkfilelist." ".s:ComposePath(curdir,fname) - let netrwmarkfilelist= netrwmarkfilelist." ".fname - endfor - else - let netrwmarkfilelist= string(s:netrwmarkfilelist) - let netrwmarkfilelist= substitute(netrwmarkfilelist,'[[\],]','','g') - endif + let netrwmarkfilelist= join(map(deepcopy(s:netrwmarkfilelist), "shellescape(v:val,".!a:islocal.")")) call s:NetrwUnmarkAll() if a:islocal if executable(g:netrw_ctags) - call map(netrwmarkfilelist,"shellescape(v:val)") " call Decho("call system(".g:netrw_ctags." ".netrwmarkfilelist.")") call system(g:netrw_ctags." ".netrwmarkfilelist) else @@ -4447,7 +4449,7 @@ fun! s:NetrwMarkFileTag(islocal) e tags let path= substitute(curdir,'^\(.*\)/[^/]*$','\1/','') " call Decho("curdir<".curdir."> path<".path.">") - exe '%s/\t\(\S\+\)\t/\t'.escape(path,'/').'\1\t/e' + exe '%s/\t\(\S\+\)\t/\t'.escape(path,"/\n\r\\").'\1\t/e' wq! endif 2match none @@ -4771,7 +4773,7 @@ fun! netrw#NetrwObtain(islocal,fname,... endfor else " transfer files with one command - let filelist= join(map(copy(fname),"shellescape(v:val)")) + let filelist= join(map(deepcopy(fname),"shellescape(v:val)")) " call Decho("system(".g:netrw_localcopycmd." ".filelist." ".shellescape(topath).")") call system(g:netrw_localcopycmd." ".filelist." ".shellescape(topath)) endif @@ -4801,7 +4803,7 @@ fun! netrw#NetrwObtain(islocal,fname,... else let path= "" endif - let filelist= join(map(copy(fnamelist),'shellescape(g:netrw_machine.":".path.v:val,1))')) + let filelist= join(map(deepcopy(fnamelist),'shellescape(g:netrw_machine.":".path.v:val,1)')) " call Decho("exe ".s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".filelist." ".shellescape(tgtdir,1)) exe s:netrw_silentxfer."!".g:netrw_scp_cmd.shellescape(useport,1)." ".filelist." ".shellescape(tgtdir,1) @@ -4812,7 +4814,7 @@ fun! netrw#NetrwObtain(islocal,fname,... let tmpbufnr= bufnr("%") setlocal ff=unix if exists("g:netrw_ftpmode") && g:netrw_ftpmode != "" - exe "put ='".g:netrw_ftpmode."'" + put =g:netrw_ftpmode " call Decho("filter input: ".getline('$')) endif @@ -4822,7 +4824,7 @@ fun! netrw#NetrwObtain(islocal,fname,... endif if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" + put =g:netrw_ftpextracmd " call Decho("filter input: ".getline('$')) endif for fname in fnamelist @@ -4880,12 +4882,12 @@ fun! netrw#NetrwObtain(islocal,fname,... endif if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" + put =g:netrw_ftpextracmd " call Decho("filter input: ".getline('$')) endif if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" + put =g:netrw_ftpextracmd " call Decho("filter input: ".getline('$')) endif for fname in fnamelist @@ -5053,15 +5055,13 @@ fun! s:NetrwUpload(fname,tgt,...) " handle uploading a single file using NetWrite " call Decho("handle uploading a single file via NetWrite") 1split - let efname= escape(a:fname,g:netrw_fname_escape) -" call Decho("exe e ".efname) - exe "e ".efname +" call Decho("exe e ".fnameescape(a:fname)) + exe "e ".fnameescape(a:fname) " call Decho("now locally editing<".expand("%").">, has ".line("$")." lines") if a:tgt =~ '/$' let wfname= substitute(a:fname,'^.*/','','') - let wfname= escape(a:tgt.wfname,g:netrw_fname_escape) " call Decho("exe w! ".fnameescape(wfname)) - exe "w! ".fnameescape(wfname) + exe "w! ".fnameescape(a:tgt.wfname) else " call Decho("writing local->remote: exe w ".fnameescape(a:tgt)) exe "w ".fnameescape(a:tgt) @@ -5075,8 +5075,8 @@ fun! s:NetrwUpload(fname,tgt,...) let curdir= getcwd() if a:tgt =~ '^scp:' exe "keepjumps silent lcd ".fnameescape(fromdir) - let filelist= copy(s:netrwmarkfilelist_{bufnr('%')}) - let args = join(map(filelist,"shellescape(v:val)")) + let filelist= deepcopy(s:netrwmarkfilelist_{bufnr('%')}) + let args = join(map(filelist,"shellescape(v:val, 1)")) if exists("g:netrw_port") && g:netrw_port != "" let useport= " ".g:netrw_scpport." ".g:netrw_port else @@ -5097,11 +5097,11 @@ fun! s:NetrwUpload(fname,tgt,...) silent keepjumps new " call Decho("filter input window#".winnr()) - exe "put ='".g:netrw_ftpmode."'" + put =g:netrw_ftpmode " call Decho("filter input: ".getline('$')) if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" + put =g:netrw_ftpextracmd " call Decho("filter input: ".getline('$')) endif @@ -5166,7 +5166,7 @@ fun! s:NetrwUpload(fname,tgt,...) endif if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" + put =g:netrw_ftpextracmd " call Decho("filter input: ".getline('$')) endif @@ -5210,7 +5210,7 @@ fun! s:NetrwPreview(path) range call s:NetrwSafeOptions() if has("quickfix") if !isdirectory(a:path) - exe (g:netrw_preview? "vert " : "")."pedit ".escape(a:path,g:netrw_fname_escape) + exe (g:netrw_preview? "vert " : "")."pedit ".fnameescape(a:path) elseif !exists("g:netrw_quiet") call netrw#ErrorMsg(s:WARNING,"sorry, cannot preview a directory such as <".a:path.">",38) endif @@ -6027,8 +6027,8 @@ fun! s:NetrwRemoteListing() let listcmd= s:MakeSshCmd(g:netrw_list_cmd) " call Decho("listcmd<".listcmd."> (using g:netrw_list_cmd)") if g:netrw_scp_cmd =~ '^pscp' -" call Decho("1: exe silent r! ".listcmd.s:path) - exe "silent r! ".listcmd.s:path +" call Decho("1: exe silent r! ".shellescape(listcmd.s:path, 1)) + exe "silent r! ".listcmd.shellescape(s:path, 1) " remove rubbish and adjust listing format of 'pscp' to 'ssh ls -FLa' like g/^Listing directory/d g/^d[-rwx][-rwx][-rwx]/s+$+/+e @@ -6286,7 +6286,7 @@ fun! s:NetrwRemoteFtpCmd(path,listcmd) put ='cd \"'.a:path.'\"' endif if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" + put =g:netrw_ftpextracmd " call Decho("filter input: ".getline('.')) endif call setline(line("$")+1,a:listcmd) @@ -6320,7 +6320,7 @@ fun! s:NetrwRemoteFtpCmd(path,listcmd) put ='cd \"'.a:path.'\"' endif if exists("g:netrw_ftpextracmd") - exe "put ='".g:netrw_ftpextracmd."'" + put =g:netrw_ftpextracmd " call Decho("filter input: ".getline('.')) endif call setline(line("$")+1,a:listcmd) @@ -6669,7 +6669,7 @@ fun! s:LocalBrowseShellCmdRefresh() if bufwinnr(ibuf) == -1 && index(buftablist,ibuf) == -1 " wipe out any non-displaying netrw buffer " call Decho("wiping buf#".ibuf,"<".bufname(ibuf).">") - exe "silent! bd ".ibuf + exe "silent! bd ".fnameescape(ibuf) call remove(s:netrw_browselist,ibl) " call Decho("browselist=".string(s:netrw_browselist)) continue @@ -6860,7 +6860,7 @@ fun! s:NetrwLocalRename(path) range let newname = substitute(oldname,subfrom,subto,'') endif endif - let ret= rename(oldname,newname) + call rename(oldname,newname) endfor 2match none unlet s:netrwmarkfilelist_{bufnr("%")} @@ -6891,7 +6891,7 @@ fun! s:NetrwLocalRename(path) range let newname= input("Moving ".oldname." to : ",substitute(oldname,'/*$','','e')) call inputrestore() - let ret= rename(oldname,newname) + call rename(oldname,newname) " call Decho("renaming <".oldname."> to <".newname.">") let ctr= ctr + 1 @@ -7570,22 +7570,24 @@ fun! s:SetRexDir(islocal,dirname) " call Dfunc("s:SetRexDir(islocal=".a:islocal." dirname<".a:dirname.">)") " set up Rex and leftmouse-double-click if a:islocal - exe 'com! Rexplore call s:NetrwRexplore(1,"'.a:dirname.'")' + exe 'com! Rexplore call s:NetrwRexplore(1,"'.escape(a:dirname,'"\').'")' if g:netrw_retmap silent! unmap <2-leftmouse> if !hasmapto("NetrwReturn") nmap <2-leftmouse> NetrwReturn endif - exe 'nnoremap NetrwReturn :call NetrwRexplore(1,"'.a:dirname.'")' + let dir = escape(a:dirname, s:netrw_map_escape) + exe 'nnoremap NetrwReturn :call NetrwRexplore(1,"'.dir.'")' endif else - exe 'com! Rexplore call s:NetrwRexplore(0,"'.a:dirname.'")' + exe 'com! Rexplore call s:NetrwRexplore(0,"'.escape(a:dirname,'"\').'")' if g:netrw_retmap silent! unmap <2-leftmouse> if !hasmapto("NetrwReturn") nmap <2-leftmouse> NetrwReturn endif - exe 'nnoremap NetrwReturn :call NetrwRexplore(0,"'.a:dirname.'")' + let dir = escape(a:dirname, s:netrw_map_escape) + exe 'nnoremap NetrwReturn :call NetrwRexplore(0,"'.dir.'")' endif endif " call Dret("s:SetRexDir") diff --git a/runtime/autoload/tar.vim b/runtime/autoload/tar.vim --- a/runtime/autoload/tar.vim +++ b/runtime/autoload/tar.vim @@ -1,7 +1,7 @@ " tar.vim: Handles browsing tarfiles " AUTOLOAD PORTION -" Date: Jul 12, 2008 -" Version: 19 + changes by Bram +" Date: Jul 30, 2008 +" Version: 20 " Maintainer: Charles E Campbell, Jr " License: Vim License (see vim's :help license) " @@ -24,7 +24,7 @@ set cpo&vim if &cp || exists("g:loaded_tar") || v:version < 700 finish endif -let g:loaded_tar= "v19+b" +let g:loaded_tar= "v20" "call Decho("loading autoload/tar.vim") if v:version < 701 || (v:version == 701 && !has("patch299")) echoerr "(autoload/tar.vim) need vim v7.1 with patchlevel 299" diff --git a/runtime/autoload/vimball.vim b/runtime/autoload/vimball.vim --- a/runtime/autoload/vimball.vim +++ b/runtime/autoload/vimball.vim @@ -1,7 +1,7 @@ " vimball.vim : construct a file containing both paths and files " Author: Charles E. Campbell, Jr. -" Date: Jun 05, 2008 -" Version: 27 +" Date: Jul 30, 2008 +" Version: 29 " GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim " Copyright: (c) 2004-2008 by Charles E. Campbell, Jr. " The VIM LICENSE applies to Vimball.vim, and Vimball.txt @@ -15,7 +15,7 @@ if &cp || exists("g:loaded_vimball") || finish endif let s:keepcpo = &cpo -let g:loaded_vimball = "v27" +let g:loaded_vimball = "v29" set cpo&vim "DechoTabOn @@ -169,9 +169,8 @@ fun! vimball#MkVimball(line1,line2,write call setline(lastline+1,0) " write the file from the tab - let svfilepath= s:Path(svfile,'') -" call Decho("exe $r ".fnameescape(svfilepath)) - exe "$r ".fnameescape(svfilepath) +" call Decho("exe $r ".fnameescape(svfile)) + exe "$r ".fnameescape(svfile) call setline(lastline+1,line("$") - lastline - 1) " call Decho("lastline=".lastline." line$=".line("$")) @@ -186,13 +185,11 @@ fun! vimball#MkVimball(line1,line2,write call s:ChgDir(curdir) setlocal ff=unix if a:writelevel - let vbnamepath= s:Path(vbname,'') -" call Decho("exe w! ".fnameescape(vbnamepath)) - exe "w! ".fnameescape(vbnamepath) +" call Decho("exe w! ".fnameescape(vbname)) + exe "w! ".fnameescape(vbname) else - let vbnamepath= s:Path(vbname,'') -" call Decho("exe w ".fnameescape(vbnamepath)) - exe "w ".fnameescape(vbnamepath) +" call Decho("exe w ".fnameescape(vbname)) + exe "w ".fnameescape(vbname) endif " call Decho("Vimball<".vbname."> created") echo "Vimball<".vbname."> created" @@ -215,8 +212,8 @@ endfun fun! vimball#Vimball(really,...) " call Dfunc("vimball#Vimball(really=".a:really.") a:0=".a:0) - if v:version < 701 || (v:version == 701 && !has("patch299")) - echoerr "This version of vimball requires vim 7.1 with patch 299" + if v:version < 701 || (v:version == 701 && !exists('*fnameescape')) + echoerr "your vim is missing the fnameescape() function" " call Dret("vimball#Vimball : needs 7.1 with patch 299") return endif @@ -338,7 +335,7 @@ fun! vimball#Vimball(really,...) " write tab to file if a:really - let fnamepath= s:Path(home."/".fname,'') + let fnamepath= home."/".fname " call Decho("exe w! ".fnameescape(fnamepath)) exe "silent w! ".fnameescape(fnamepath) echo "wrote ".fnamepath @@ -364,9 +361,9 @@ fun! vimball#Vimball(really,...) " set up help " call Decho("about to set up help: didhelp<".didhelp.">") if didhelp != "" - let htpath= s:Path(home."/".didhelp,"") + let htpath= home."/".didhelp " call Decho("exe helptags ".htpath) - exe "helptags ".htpath + exe "helptags ".fnameescape(htpath) echo "did helptags" endif @@ -578,27 +575,6 @@ fun! s:ChgDir(newdir) endfun " --------------------------------------------------------------------- -" s:Path: prepend and append quotes and do escaping {{{2 -fun! s:Path(cmd,quote) -" call Dfunc("Path(cmd<".a:cmd."> quote<".a:quote.">) vimball_path_escape<".g:vimball_path_escape.">") - if (has("win32") || has("win95") || has("win64") || has("win16")) -" let cmdpath= a:quote.substitute(a:cmd,'/','\\','g').a:quote - let cmdpath= a:quote.substitute(a:cmd,'\\','/','g').a:quote -" call Decho("cmdpath<".cmdpath."> (win32 mod)") - else - let cmdpath= a:quote.a:cmd.a:quote -" call Decho("cmdpath<".cmdpath."> (not-win32 mod)") - endif - if a:quote == "" && g:vimball_path_escape !~ ' ' - let cmdpath= escape(cmdpath,' ') -" call Decho("cmdpath<".cmdpath."> (empty quote case)") - endif - let cmdpath= escape(cmdpath,g:vimball_path_escape) -" call Dret("Path <".cmdpath.">") - return cmdpath -endfun - -" --------------------------------------------------------------------- " s:RecordInVar: record a un-vimball command in the .VimballRecord file {{{2 fun! s:RecordInVar(home,cmd) " call Dfunc("RecordInVar(home<".a:home."> cmd<".a:cmd.">)") @@ -719,14 +695,14 @@ fun! vimball#SaveSettings() let s:acdkeep = &acd endif let s:eikeep = &ei - let s:fenkeep = &fen + let s:fenkeep = &l:fen let s:hidkeep = &hidden let s:ickeep = &ic let s:lzkeep = &lz let s:pmkeep = &pm let s:repkeep = &report let s:vekeep = &ve - let s:ffkeep = &ff + let s:ffkeep = &l:ff if exists("&acd") setlocal ei=all ve=all noacd nofen noic report=999 nohid bt= ma lz pm= ff=unix else @@ -745,7 +721,7 @@ fun! vimball#RestoreSettings() if exists("&acd") let &acd = s:acdkeep endif - let &fen = s:fenkeep + let &l:fen = s:fenkeep let &hidden = s:hidkeep let &ic = s:ickeep let &lz = s:lzkeep @@ -753,7 +729,7 @@ fun! vimball#RestoreSettings() let &report = s:repkeep let &ve = s:vekeep let &ei = s:eikeep - let &ff = s:ffkeep + let &l:ff = s:ffkeep if s:makeep[0] != 0 " restore mark a " call Decho("restore mark-a: makeep=".string(makeep)) diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -1,7 +1,7 @@ " zip.vim: Handles browsing zipfiles " AUTOLOAD PORTION -" Date: Jul 12, 2008 -" Version: 21 (modified by Bram) +" Date: Jul 30, 2008 +" Version: 22 " Maintainer: Charles E Campbell, Jr " License: Vim License (see vim's :help license) " Copyright: Copyright (C) 2005-2008 Charles E. Campbell, Jr. {{{1 @@ -22,7 +22,7 @@ if &cp || exists("g:loaded_zip") || v:ve finish endif -let g:loaded_zip = "v21+b" +let g:loaded_zip = "v22" let s:zipfile_escape = ' ?&;\' let s:ERROR = 2 let s:WARNING = 1 @@ -58,6 +58,12 @@ fun! zip#Browse(zipfile) set report=10 " sanity checks + if !exists("*fnameescape") + if &verbose > 1 + echoerr "the zip plugin is not available (your vim doens't support fnameescape())" + endif + return + endif if !executable(g:zip_unzipcmd) redraw! echohl Error | echo "***error*** (zip#Browse) unzip not available on your system" @@ -99,8 +105,8 @@ fun! zip#Browse(zipfile) 0d $ -" call Decho("exe silent r! ".g:zip_unzipcmd." -l ".s:Escape(a:zipfile,1)) - exe "silent r! ".g:zip_unzipcmd." -l ".s:Escape(a:zipfile,1) +" call Decho("exe silent r! ".g:zip_unzipcmd." -l -- ".s:Escape(a:zipfile,1)) + exe "silent r! ".g:zip_unzipcmd." -l -- ".s:Escape(a:zipfile,1) if v:shell_error != 0 redraw! echohl WarningMsg | echo "***warning*** (zip#Browse) ".fnameescape(a:zipfile)." is not a zip file" | echohl None @@ -193,8 +199,8 @@ fun! zip#Read(fname,mode) " call Decho("zipfile<".zipfile.">") " call Decho("fname <".fname.">") -" call Decho("exe r! ".g:zip_unzipcmd." -p ".s:Escape(zipfile,1)." ".s:Escape(fname,1)) - exe "silent r! ".g:zip_unzipcmd." -p ".s:Escape(zipfile,1)." ".s:Escape(fname,1) +" call Decho("exe r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fname,1)) + exe "silent r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fname,1) " cleanup 0d @@ -286,8 +292,8 @@ fun! zip#Write(fname) let fname = substitute(fname, '[', '[[]', 'g') endif -" call Decho(g:zip_zipcmd." -u ".s:Escape(zipfile,0)." ".s:Escape(fname,0)) - call system(g:zip_zipcmd." -u ".s:Escape(zipfile,0)." ".s:Escape(fname,0)) +" call Decho(g:zip_zipcmd." -u ".s:Escape(fnamemodify(zipfile,":p"),0)." ".s:Escape(fname,0)) + call system(g:zip_zipcmd." -u ".s:Escape(fnamemodify(zipfile,":p"),0)." ".s:Escape(fname,0)) if v:shell_error != 0 redraw! echohl Error | echo "***error*** (zip#Write) sorry, unable to update ".zipfile." with ".fname | echohl None @@ -342,9 +348,8 @@ endfun fun! s:ChgDir(newdir,errlvl,errmsg) " call Dfunc("ChgDir(newdir<".a:newdir."> errlvl=".a:errlvl." errmsg<".a:errmsg.">)") - try - exe "cd ".fnameescape(newdir) + exe "cd ".fnameescape(a:newdir) catch /^Vim\%((\a\+)\)\=:E344/ redraw! if a:errlvl == s:NOTE diff --git a/runtime/colors/darkblue.vim b/runtime/colors/darkblue.vim --- a/runtime/colors/darkblue.vim +++ b/runtime/colors/darkblue.vim @@ -1,6 +1,6 @@ " Vim color file " Maintainer: Bohdan Vlasyuk -" Last Change: 2006 Apr 30 +" Last Change: 2008 Jul 18 " darkblue -- for those who prefer dark background " [note: looks bit uglier with come terminal palettes, @@ -58,3 +58,9 @@ hi PreProc ctermfg=magenta guifg=#ff80ff hi type ctermfg=green guifg=#60ff60 gui=none cterm=none hi Underlined cterm=underline term=underline hi Ignore guifg=bg ctermfg=bg + +" suggested by tigmoid, 2008 Jul 18 +hi Pmenu guifg=#c0c0c0 guibg=#404080 +hi PmenuSel guifg=#c0c0c0 guibg=#2050d0 +hi PmenuSbar guifg=blue guibg=darkgray +hi PmenuThumb guifg=#c0c0c0 diff --git a/runtime/doc/Makefile b/runtime/doc/Makefile --- a/runtime/doc/Makefile +++ b/runtime/doc/Makefile @@ -287,6 +287,11 @@ CONVERTED = \ vimdiff-it.UTF-8.1 \ vimtutor-it.UTF-8.1 \ xxd-it.UTF-8.1 \ + vim-pl.UTF-8.1 \ + evim-pl.UTF-8.1 \ + vimdiff-pl.UTF-8.1 \ + vimtutor-pl.UTF-8.1 \ + xxd-pl.UTF-8.1 \ vim-ru.UTF-8.1 \ evim-ru.UTF-8.1 \ vimdiff-ru.UTF-8.1 \ @@ -296,7 +301,7 @@ CONVERTED = \ .SUFFIXES: .SUFFIXES: .c .o .txt .html -all: tags vim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED) +all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED) # Use Vim to generate the tags file. Can only be used when Vim has been # compiled and installed. Supports multiple languages. @@ -314,6 +319,9 @@ doctags: doctags.c vim.man: vim.1 nroff -man vim.1 | sed -e s/.//g > vim.man +evim.man: evim.1 + nroff -man evim.1 | sed -e s/.//g > evim.man + vimdiff.man: vimdiff.1 nroff -man vimdiff.1 | sed -e s/.//g > vimdiff.man @@ -445,6 +453,21 @@ vimtutor-it.UTF-8.1: vimtutor-it.1 xxd-it.UTF-8.1: xxd-it.1 iconv -f latin1 -t utf-8 $< >$@ +vim-pl.UTF-8.1: vim-pl.1 + iconv -f latin2 -t utf-8 $< >$@ + +evim-pl.UTF-8.1: evim-pl.1 + iconv -f latin2 -t utf-8 $< >$@ + +vimdiff-pl.UTF-8.1: vimdiff-pl.1 + iconv -f latin2 -t utf-8 $< >$@ + +vimtutor-pl.UTF-8.1: vimtutor-pl.1 + iconv -f latin2 -t utf-8 $< >$@ + +xxd-pl.UTF-8.1: xxd-pl.1 + iconv -f latin2 -t utf-8 $< >$@ + vim-ru.UTF-8.1: vim-ru.1 iconv -f KOI8-R -t utf-8 $< >$@ diff --git a/runtime/doc/arabic.txt b/runtime/doc/arabic.txt --- a/runtime/doc/arabic.txt +++ b/runtime/doc/arabic.txt @@ -1,4 +1,4 @@ -*arabic.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*arabic.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Nadim Shaikli diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 7.2b. Last change: 2008 Jun 27 +*autocmd.txt* For Vim version 7.2c. Last change: 2008 Jun 27 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 7.2b. Last change: 2008 Jul 09 +*change.txt* For Vim version 7.2c. Last change: 2008 Jul 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1561,10 +1561,12 @@ found here: |sort()|. With [n] sorting is done on the first decimal number in the line (after or inside a {pattern} match). + One leading '-' is included in the number. With [x] sorting is done on the first hexadecimal number in the line (after or inside a {pattern} match). A leading "0x" or "0X" is ignored. + One leading '-' is included in the number. With [o] sorting is done on the first octal number in the line (after or inside a {pattern} match). diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 7.2b. Last change: 2008 Jul 11 +*cmdline.txt* For Vim version 7.2c. Last change: 2008 Jul 29 VIM REFERENCE MANUAL by Bram Moolenaar @@ -99,19 +99,20 @@ CTRL-E or *c_CTRL-E* *c_ cursor to end of command-line *c_* - cursor to position of mouse click. + Move the cursor to the position of the mouse click. CTRL-H *c_* *c_CTRL-H* - delete the character in front of the cursor (see |:fixdel| if + Delete the character in front of the cursor (see |:fixdel| if your key does not do what you want). *c_* - delete the character under the cursor (at end of line: + Delete the character under the cursor (at end of line: character before the cursor) (see |:fixdel| if your key does not do what you want). *c_CTRL-W* -CTRL-W delete the word before the cursor +CTRL-W Delete the |word| before the cursor. This depends on the + 'iskeyword' option. *c_CTRL-U* -CTRL-U remove all characters between the cursor position and +CTRL-U Remove all characters between the cursor position and the beginning of the line. Previous versions of vim deleted all characters on the line. If that is the preferred behavior, add the following to your .vimrc: > @@ -997,7 +998,7 @@ other than the one that is executed with If you would like to execute the command under the cursor and then have the command-line window open again, you may find this mapping useful: > - :map q: + :autocmd CmdwinEnter * map q: VARIOUS @@ -1044,9 +1045,9 @@ events are not triggered. You can use t specifically for the command-line window. Be careful not to cause side effects! Example: > - :au CmdwinEnter : let b:cpt_save = &cpt | set cpt=v + :au CmdwinEnter : let b:cpt_save = &cpt | set cpt=. :au CmdwinLeave : let &cpt = b:cpt_save -This sets 'complete' to use command-line completion in Insert mode for CTRL-N. +This sets 'complete' to use completion in the current window for |i_CTRL-N|. Another example: > :au CmdwinEnter [/?] startinsert This will make Vim start in Insert mode in the command-line window. diff --git a/runtime/doc/debug.txt b/runtime/doc/debug.txt --- a/runtime/doc/debug.txt +++ b/runtime/doc/debug.txt @@ -1,4 +1,4 @@ -*debug.txt* For Vim version 7.2b. Last change: 2006 May 01 +*debug.txt* For Vim version 7.2c. Last change: 2006 May 01 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/debugger.txt b/runtime/doc/debugger.txt --- a/runtime/doc/debugger.txt +++ b/runtime/doc/debugger.txt @@ -1,4 +1,4 @@ -*debugger.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*debugger.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Gordon Prieur diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt --- a/runtime/doc/develop.txt +++ b/runtime/doc/develop.txt @@ -1,4 +1,4 @@ -*develop.txt* For Vim version 7.2b. Last change: 2007 May 11 +*develop.txt* For Vim version 7.2c. Last change: 2007 May 11 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt --- a/runtime/doc/diff.txt +++ b/runtime/doc/diff.txt @@ -1,12 +1,12 @@ -*diff.txt* For Vim version 7.2b. Last change: 2006 Oct 02 +*diff.txt* For Vim version 7.2c. Last change: 2008 Jul 21 VIM REFERENCE MANUAL by Bram Moolenaar *diff* *vimdiff* *gvimdiff* *diff-mode* -This file describes the +diff feature: Showing differences between two or -three versions of the same file. +This file describes the +diff feature: Showing differences between two, +three or four versions of the same file. The basics are explained in section |08.7| of the user manual. @@ -49,7 +49,7 @@ What happens is that Vim opens a window using the |-O| argument. This uses vertical splits. If you prefer horizontal splits add the |-o| argument: > - vimdiff -o file1 file2 [file3] + vimdiff -o file1 file2 [file3 [file4]] If you always prefer horizontal splits include "horizontal" in 'diffopt'. diff --git a/runtime/doc/digraph.txt b/runtime/doc/digraph.txt --- a/runtime/doc/digraph.txt +++ b/runtime/doc/digraph.txt @@ -1,4 +1,4 @@ -*digraph.txt* For Vim version 7.2b. Last change: 2007 Sep 10 +*digraph.txt* For Vim version 7.2c. Last change: 2008 Jul 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -53,7 +53,9 @@ this file. The decimal number normally is the Unicode number of the character. Note that the meaning doesn't change when 'encoding' changes. The character will be converted from Unicode to 'encoding' when needed. This does require the -conversion to be available, it might fail. +conversion to be available, it might fail. For the NUL character you will see +"10". That's because NUL characters are internally represented with a NL +character. When you write the file it will become a NUL character. When Vim was compiled without the +multi_byte feature, you need to specify the character in the encoding given with 'encoding'. You might want to use diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 7.2b. Last change: 2008 Jul 05 +*editing.txt* For Vim version 7.2c. Last change: 2008 Jul 05 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.2b. Last change: 2008 Jul 09 +*eval.txt* For Vim version 7.2c. Last change: 2008 Jul 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -967,11 +967,16 @@ These are INVALID: 3. empty {M} 1e40 missing .{M} + *float-pi* *float-e* +A few useful values to copy&paste: > + :let pi = 3.14159265359 + :let e = 2.71828182846 + Rationale: Before floating point was introduced, the text "123.456" was interpreted as the two numbers "123" and "456", both converted to a string and concatenated, resulting in the string "123456". Since this was considered pointless, and we -could not find it actually being used in Vim scripts, this backwards +could not find it intentionally being used in Vim scripts, this backwards incompatibility was accepted in favor of being able to use the normal notation for floating point numbers. @@ -4963,9 +4968,16 @@ shellescape({string} [, {special}]) *s and replace all "'" with "'\''". When the {special} argument is present and it's a non-zero Number or a non-empty String (|non-zero-arg|), then special - items such as "%", "#" and "" will be preceded by a - backslash. This backslash will be removed again by the |:!| + items such as "!", "%", "#" and "" will be preceded by + a backslash. This backslash will be removed again by the |:!| command. + The "!" character will be escaped (again with a |non-zero-arg| + {special}) when 'shell' contains "csh" in the tail. That is + because for csh and tcsh "!" is used for history replacement + even when inside single quotes. + The character is also escaped. With a |non-zero-arg| + {special} and 'shell' containing "csh" in the tail it's + escaped a second time. Example of use with a |:!| command: > :exe '!dir ' . shellescape(expand(''), 1) < This results in a directory listing for the file under the @@ -5918,7 +5930,7 @@ It's also possible to use curly braces, A function local to a script must start with "s:". A local script function can only be called from within the script and from functions, user commands and autocommands defined in the script. It is also possible to call the -function from a mappings defined in the script, but then || must be used +function from a mapping defined in the script, but then || must be used instead of "s:" when the mapping is expanded outside of the script. *:fu* *:function* *E128* *E129* *E123* @@ -6028,7 +6040,7 @@ can be 0). "a:000" is set to a |List| t that "a:1" is the same as "a:000[0]". *E742* The a: scope and the variables in it cannot be changed, they are fixed. -However, if a |List| or |Dictionary| is used, you can changes their contents. +However, if a |List| or |Dictionary| is used, you can change their contents. Thus you can pass a |List| to a function and have the function add an item to it. If you want to make sure the function cannot change a |List| or |Dictionary| use |:lockvar|. diff --git a/runtime/doc/farsi.txt b/runtime/doc/farsi.txt --- a/runtime/doc/farsi.txt +++ b/runtime/doc/farsi.txt @@ -1,4 +1,4 @@ -*farsi.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*farsi.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Mortaza Ghassab Shiran diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt --- a/runtime/doc/filetype.txt +++ b/runtime/doc/filetype.txt @@ -1,4 +1,4 @@ -*filetype.txt* For Vim version 7.2b. Last change: 2008 Jun 27 +*filetype.txt* For Vim version 7.2c. Last change: 2008 Jul 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -482,6 +482,29 @@ g:changelog_date_end_entry_search The default is '^\s*$' which finds lines that contain only whitespace or are completely empty. +b:changelog_name *b:changelog_name* + Name of the ChangeLog file to look for. + The default is 'ChangeLog'. + +b:changelog_path + Path of the ChangeLog to use for the current buffer. + The default is empty, thus looking for a file named + |b:changelog_name| in the same directory as the + current buffer. If not found, the parent directory of + the current buffer is searched. This continues + recursively until a file is found or there are no more + parent directories to search. + +b:changelog_entry_prefix + Name of a function to call to generate a prefix to a + new entry. This function takes no arguments and + should return a string containing the prefix. + Returning an empty prefix is fine. + The default generates the shortest path between the + ChangeLog's pathname and the current buffers pathname. + In the future, it will also be possible to use other + variable contexts for this variable, for example, g:. + The Changelog entries are inserted where they add the least amount of text. After figuring out the current date and user, the file is searched for an entry beginning with the current date and user and if found adds another item diff --git a/runtime/doc/fold.txt b/runtime/doc/fold.txt --- a/runtime/doc/fold.txt +++ b/runtime/doc/fold.txt @@ -1,4 +1,4 @@ -*fold.txt* For Vim version 7.2b. Last change: 2007 May 11 +*fold.txt* For Vim version 7.2c. Last change: 2007 May 11 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/ft_ada.txt b/runtime/doc/ft_ada.txt --- a/runtime/doc/ft_ada.txt +++ b/runtime/doc/ft_ada.txt @@ -1,4 +1,4 @@ -*ft_ada.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*ft_ada.txt* For Vim version 7.2c. Last change: 2008 Jun 21 ADA FILE TYPE PLUG-INS REFERENCE MANUAL~ diff --git a/runtime/doc/ft_sql.txt b/runtime/doc/ft_sql.txt --- a/runtime/doc/ft_sql.txt +++ b/runtime/doc/ft_sql.txt @@ -1,4 +1,4 @@ -*ft_sql.txt* For Vim version 7.2b. Last change: Wed Apr 26 2006 3:05:33 PM +*ft_sql.txt* For Vim version 7.2c. Last change: Wed Apr 26 2006 3:05:33 PM by David Fishburn diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt --- a/runtime/doc/gui.txt +++ b/runtime/doc/gui.txt @@ -1,4 +1,4 @@ -*gui.txt* For Vim version 7.2b. Last change: 2008 Jun 14 +*gui.txt* For Vim version 7.2c. Last change: 2008 Jun 14 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/gui_w16.txt b/runtime/doc/gui_w16.txt --- a/runtime/doc/gui_w16.txt +++ b/runtime/doc/gui_w16.txt @@ -1,4 +1,4 @@ -*gui_w16.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*gui_w16.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/gui_w32.txt b/runtime/doc/gui_w32.txt --- a/runtime/doc/gui_w32.txt +++ b/runtime/doc/gui_w32.txt @@ -1,4 +1,4 @@ -*gui_w32.txt* For Vim version 7.2b. Last change: 2007 Aug 30 +*gui_w32.txt* For Vim version 7.2c. Last change: 2007 Aug 30 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/gui_x11.txt b/runtime/doc/gui_x11.txt --- a/runtime/doc/gui_x11.txt +++ b/runtime/doc/gui_x11.txt @@ -1,4 +1,4 @@ -*gui_x11.txt* For Vim version 7.2b. Last change: 2007 Dec 09 +*gui_x11.txt* For Vim version 7.2c. Last change: 2007 Dec 09 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/hangulin.txt b/runtime/doc/hangulin.txt --- a/runtime/doc/hangulin.txt +++ b/runtime/doc/hangulin.txt @@ -1,4 +1,4 @@ -*hangulin.txt* For Vim version 7.2b. Last change: 2006 Apr 02 +*hangulin.txt* For Vim version 7.2c. Last change: 2006 Apr 02 VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam diff --git a/runtime/doc/hebrew.txt b/runtime/doc/hebrew.txt --- a/runtime/doc/hebrew.txt +++ b/runtime/doc/hebrew.txt @@ -1,4 +1,4 @@ -*hebrew.txt* For Vim version 7.2b. Last change: 2007 Jun 14 +*hebrew.txt* For Vim version 7.2c. Last change: 2007 Jun 14 VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem) diff --git a/runtime/doc/help.txt b/runtime/doc/help.txt --- a/runtime/doc/help.txt +++ b/runtime/doc/help.txt @@ -1,4 +1,4 @@ -*help.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*help.txt* For Vim version 7.2c. Last change: 2008 Jul 21 VIM - main help file k @@ -126,7 +126,7 @@ Advanced editing ~ |tabpage.txt| commands for using multiple tab pages |syntax.txt| syntax highlighting |spell.txt| spell checking -|diff.txt| working with two or three versions of the same file +|diff.txt| working with two to four versions of the same file |autocmd.txt| automatically executing commands on an event |filetype.txt| settings done specifically for a type of file |eval.txt| expression evaluation, conditional commands diff --git a/runtime/doc/howto.txt b/runtime/doc/howto.txt --- a/runtime/doc/howto.txt +++ b/runtime/doc/howto.txt @@ -1,4 +1,4 @@ -*howto.txt* For Vim version 7.2b. Last change: 2006 Apr 02 +*howto.txt* For Vim version 7.2c. Last change: 2006 Apr 02 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/if_cscop.txt b/runtime/doc/if_cscop.txt --- a/runtime/doc/if_cscop.txt +++ b/runtime/doc/if_cscop.txt @@ -1,4 +1,4 @@ -*if_cscop.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*if_cscop.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Andy Kahn diff --git a/runtime/doc/if_mzsch.txt b/runtime/doc/if_mzsch.txt --- a/runtime/doc/if_mzsch.txt +++ b/runtime/doc/if_mzsch.txt @@ -1,4 +1,4 @@ -*if_mzsch.txt* For Vim version 7.2b. Last change: 2008 Jun 28 +*if_mzsch.txt* For Vim version 7.2c. Last change: 2008 Jun 28 VIM REFERENCE MANUAL by Sergey Khorev diff --git a/runtime/doc/if_ole.txt b/runtime/doc/if_ole.txt --- a/runtime/doc/if_ole.txt +++ b/runtime/doc/if_ole.txt @@ -1,4 +1,4 @@ -*if_ole.txt* For Vim version 7.2b. Last change: 2007 May 10 +*if_ole.txt* For Vim version 7.2c. Last change: 2007 May 10 VIM REFERENCE MANUAL by Paul Moore diff --git a/runtime/doc/if_perl.txt b/runtime/doc/if_perl.txt --- a/runtime/doc/if_perl.txt +++ b/runtime/doc/if_perl.txt @@ -1,4 +1,4 @@ -*if_perl.txt* For Vim version 7.2b. Last change: 2006 Mar 06 +*if_perl.txt* For Vim version 7.2c. Last change: 2006 Mar 06 VIM REFERENCE MANUAL by Sven Verdoolaege diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 7.2b. Last change: 2006 Apr 30 +*if_pyth.txt* For Vim version 7.2c. Last change: 2006 Apr 30 VIM REFERENCE MANUAL by Paul Moore diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt --- a/runtime/doc/if_ruby.txt +++ b/runtime/doc/if_ruby.txt @@ -1,4 +1,4 @@ -*if_ruby.txt* For Vim version 7.2b. Last change: 2006 Apr 30 +*if_ruby.txt* For Vim version 7.2c. Last change: 2006 Apr 30 VIM REFERENCE MANUAL by Shugo Maeda diff --git a/runtime/doc/if_sniff.txt b/runtime/doc/if_sniff.txt --- a/runtime/doc/if_sniff.txt +++ b/runtime/doc/if_sniff.txt @@ -1,4 +1,4 @@ -*if_sniff.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*if_sniff.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL diff --git a/runtime/doc/if_tcl.txt b/runtime/doc/if_tcl.txt --- a/runtime/doc/if_tcl.txt +++ b/runtime/doc/if_tcl.txt @@ -1,4 +1,4 @@ -*if_tcl.txt* For Vim version 7.2b. Last change: 2008 Jun 26 +*if_tcl.txt* For Vim version 7.2c. Last change: 2008 Jun 26 VIM REFERENCE MANUAL by Ingo Wilken diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt --- a/runtime/doc/indent.txt +++ b/runtime/doc/indent.txt @@ -1,4 +1,4 @@ -*indent.txt* For Vim version 7.2b. Last change: 2008 Jun 30 +*indent.txt* For Vim version 7.2c. Last change: 2008 Jul 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -584,8 +584,8 @@ unnecessary indentation) PYTHON *ft-python-indent* The amount of indent can be set for the following situations. The examples -given are de the defaults. Note that the variables are set to an expression, -so that you can change the value of 'shiftwidth' later. +given are the defaults. Note that the variables are set to an expression, so +that you can change the value of 'shiftwidth' later. Indent after an open paren: > let g:pyindent_open_paren = '&sw * 2' diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt --- a/runtime/doc/index.txt +++ b/runtime/doc/index.txt @@ -1,4 +1,4 @@ -*index.txt* For Vim version 7.2b. Last change: 2008 May 04 +*index.txt* For Vim version 7.2c. Last change: 2008 May 04 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*insert.txt* For Vim version 7.2c. Last change: 2008 Jun 21 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt --- a/runtime/doc/intro.txt +++ b/runtime/doc/intro.txt @@ -1,4 +1,4 @@ -*intro.txt* For Vim version 7.2b. Last change: 2008 Jun 24 +*intro.txt* For Vim version 7.2c. Last change: 2008 Jun 24 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1,4 +1,4 @@ -*map.txt* For Vim version 7.2b. Last change: 2008 Jul 09 +*map.txt* For Vim version 7.2c. Last change: 2008 Jul 09 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/mbyte.txt b/runtime/doc/mbyte.txt --- a/runtime/doc/mbyte.txt +++ b/runtime/doc/mbyte.txt @@ -1,4 +1,4 @@ -*mbyte.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*mbyte.txt* For Vim version 7.2c. Last change: 2008 Jun 21 VIM REFERENCE MANUAL by Bram Moolenaar et al. diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt --- a/runtime/doc/message.txt +++ b/runtime/doc/message.txt @@ -1,4 +1,4 @@ -*message.txt* For Vim version 7.2b. Last change: 2007 Aug 19 +*message.txt* For Vim version 7.2c. Last change: 2007 Aug 19 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/mlang.txt b/runtime/doc/mlang.txt --- a/runtime/doc/mlang.txt +++ b/runtime/doc/mlang.txt @@ -1,4 +1,4 @@ -*mlang.txt* For Vim version 7.2b. Last change: 2008 Jun 08 +*mlang.txt* For Vim version 7.2c. Last change: 2008 Jun 08 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -1,4 +1,4 @@ -*motion.txt* For Vim version 7.2b. Last change: 2008 May 02 +*motion.txt* For Vim version 7.2c. Last change: 2008 Aug 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -851,16 +851,16 @@ when using blockwise Visual mode. These was made yet in the current file. *'<* *`<* -'< `< To the first character of the last selected Visual - area in the current buffer. For block mode it may - also be the last character in the first line (to be - able to define the block). {not in Vi}. +'< `< To the first line or character of the last selected + Visual area in the current buffer. For block mode it + may also be the last character in the first line (to + be able to define the block). {not in Vi}. *'>* *`>* -'> `> To the last character of the last selected Visual - area in the current buffer. For block mode it may - also be the first character of the last line (to be - able to define the block). Note that 'selection' +'> `> To the last line or character of the last selected + Visual area in the current buffer. For block mode it + may also be the first character of the last line (to + be able to define the block). Note that 'selection' applies, the position may be just after the Visual area. {not in Vi}. diff --git a/runtime/doc/netbeans.txt b/runtime/doc/netbeans.txt --- a/runtime/doc/netbeans.txt +++ b/runtime/doc/netbeans.txt @@ -1,4 +1,4 @@ -*netbeans.txt* For Vim version 7.2b. Last change: 2008 Jun 28 +*netbeans.txt* For Vim version 7.2c. Last change: 2008 Jun 28 VIM REFERENCE MANUAL by Gordon Prieur et al. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.2b. Last change: 2008 Jul 05 +*options.txt* For Vim version 7.2c. Last change: 2008 Aug 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2292,6 +2292,8 @@ A jump table for the options with a shor or "\\", the swap file name will be built from the complete path to the file with all path separators substituted to percent '%' signs. This will ensure file name uniqueness in the preserve directory. + On Win32, when a separating comma is following, you must use "//", + since "\\" will include the comma in the file name. - Spaces after the comma are ignored, other spaces are considered part of the directory name. To have a space at the start of a directory name, precede it with a backslash. @@ -4898,7 +4900,7 @@ A jump table for the options with a shor name, datestamp and permissions. This option contains the extra information, the nature of which will vary between systems. The value of this option is usually set when the file is loaded, and - use to set the file type when file is written. + is used to set the operating system file type when file is written. It can affect the pattern matching of the automatic commands. |autocmd-osfiletypes| @@ -6306,15 +6308,15 @@ A jump table for the options with a shor directory. F S Full path to the file in the buffer. t S File name (tail) of file in the buffer. - m F Modified flag, text is " [+]"; " [-]" if 'modifiable' is off. + m F Modified flag, text is "[+]"; "[-]" if 'modifiable' is off. M F Modified flag, text is ",+" or ",-". - r F Readonly flag, text is " [RO]". + r F Readonly flag, text is "[RO]". R F Readonly flag, text is ",RO". - h F Help buffer flag, text is " [help]". + h F Help buffer flag, text is "[help]". H F Help buffer flag, text is ",HLP". - w F Preview window flag, text is " [Preview]". + w F Preview window flag, text is "[Preview]". W F Preview window flag, text is ",PRV". - y F Type of file in the buffer, e.g., " [vim]". See 'filetype'. + y F Type of file in the buffer, e.g., "[vim]". See 'filetype'. Y F Type of file in the buffer, e.g., ",VIM". See 'filetype'. {not available when compiled without |+autocmd| feature} k S Value of "b:keymap_name" or 'keymap' when |:lmap| mappings are @@ -6361,14 +6363,9 @@ A jump table for the options with a shor to StatusLineNC for the statusline of non-current windows. The number N must be between 1 and 9. See |hl-User1..9| - Display of flags are controlled by the following heuristic: - If a flag text starts with comma it is assumed that it wants to - separate itself from anything but preceding plaintext. If it starts - with a space it is assumed that it wants to separate itself from - anything but other flags. That is: A leading comma is removed if the - preceding character stems from plaintext. A leading space is removed - if the preceding character stems from another active flag. This will - make a nice display when flags are used like in the examples below. + When displaying a flag, Vim removes the leading comma, if any, when + that flag comes right after plaintext. This will make a nice display + when flags are used like in the examples below. When all items in a group becomes an empty string (i.e. flags that are not set) and a minwid is not set for the group, the whole group will diff --git a/runtime/doc/os_390.txt b/runtime/doc/os_390.txt --- a/runtime/doc/os_390.txt +++ b/runtime/doc/os_390.txt @@ -1,4 +1,4 @@ -*os_390.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*os_390.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Ralf Schandl diff --git a/runtime/doc/os_amiga.txt b/runtime/doc/os_amiga.txt --- a/runtime/doc/os_amiga.txt +++ b/runtime/doc/os_amiga.txt @@ -1,4 +1,4 @@ -*os_amiga.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*os_amiga.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/os_beos.txt b/runtime/doc/os_beos.txt --- a/runtime/doc/os_beos.txt +++ b/runtime/doc/os_beos.txt @@ -1,4 +1,4 @@ -*os_beos.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*os_beos.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/os_dos.txt b/runtime/doc/os_dos.txt --- a/runtime/doc/os_dos.txt +++ b/runtime/doc/os_dos.txt @@ -1,4 +1,4 @@ -*os_dos.txt* For Vim version 7.2b. Last change: 2006 Mar 30 +*os_dos.txt* For Vim version 7.2c. Last change: 2006 Mar 30 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/os_mac.txt b/runtime/doc/os_mac.txt --- a/runtime/doc/os_mac.txt +++ b/runtime/doc/os_mac.txt @@ -1,4 +1,4 @@ -*os_mac.txt* For Vim version 7.2b. Last change: 2006 Apr 30 +*os_mac.txt* For Vim version 7.2c. Last change: 2006 Apr 30 VIM REFERENCE MANUAL by Bram Moolenaar et al. diff --git a/runtime/doc/os_mint.txt b/runtime/doc/os_mint.txt --- a/runtime/doc/os_mint.txt +++ b/runtime/doc/os_mint.txt @@ -1,4 +1,4 @@ -*os_mint.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*os_mint.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Jens M. Felderhoff diff --git a/runtime/doc/os_msdos.txt b/runtime/doc/os_msdos.txt --- a/runtime/doc/os_msdos.txt +++ b/runtime/doc/os_msdos.txt @@ -1,4 +1,4 @@ -*os_msdos.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*os_msdos.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/os_os2.txt b/runtime/doc/os_os2.txt --- a/runtime/doc/os_os2.txt +++ b/runtime/doc/os_os2.txt @@ -1,4 +1,4 @@ -*os_os2.txt* For Vim version 7.2b. Last change: 2007 Apr 22 +*os_os2.txt* For Vim version 7.2c. Last change: 2007 Apr 22 VIM REFERENCE MANUAL by Paul Slootman diff --git a/runtime/doc/os_qnx.txt b/runtime/doc/os_qnx.txt --- a/runtime/doc/os_qnx.txt +++ b/runtime/doc/os_qnx.txt @@ -1,4 +1,4 @@ -*os_qnx.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*os_qnx.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Julian Kinraid diff --git a/runtime/doc/os_risc.txt b/runtime/doc/os_risc.txt --- a/runtime/doc/os_risc.txt +++ b/runtime/doc/os_risc.txt @@ -1,4 +1,4 @@ -*os_risc.txt* For Vim version 7.2b. Last change: 2008 Jun 28 +*os_risc.txt* For Vim version 7.2c. Last change: 2008 Jun 28 VIM REFERENCE MANUAL by Thomas Leonard diff --git a/runtime/doc/os_unix.txt b/runtime/doc/os_unix.txt --- a/runtime/doc/os_unix.txt +++ b/runtime/doc/os_unix.txt @@ -1,4 +1,4 @@ -*os_unix.txt* For Vim version 7.2b. Last change: 2005 Mar 29 +*os_unix.txt* For Vim version 7.2c. Last change: 2005 Mar 29 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/os_vms.txt b/runtime/doc/os_vms.txt --- a/runtime/doc/os_vms.txt +++ b/runtime/doc/os_vms.txt @@ -1,4 +1,4 @@ -*os_vms.txt* For Vim version 7.2b. Last change: 2006 Nov 18 +*os_vms.txt* For Vim version 7.2c. Last change: 2006 Nov 18 VIM REFERENCE MANUAL diff --git a/runtime/doc/os_win32.txt b/runtime/doc/os_win32.txt --- a/runtime/doc/os_win32.txt +++ b/runtime/doc/os_win32.txt @@ -1,4 +1,4 @@ -*os_win32.txt* For Vim version 7.2b. Last change: 2008 May 02 +*os_win32.txt* For Vim version 7.2c. Last change: 2008 May 02 VIM REFERENCE MANUAL by George Reilly diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1,4 +1,4 @@ -*pattern.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*pattern.txt* For Vim version 7.2c. Last change: 2008 Jul 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1122,7 +1122,7 @@ in the file. {Vi cannot handle ch *CR-used-for-NL* When 'fileformat' is "mac", characters in the file are stored as -characters internally. In the display they are shown as "^M". Otherwise this +characters internally. In the text they are shown as "^J". Otherwise this works similar to the usage of for a . When working with expression evaluation, a character in the pattern diff --git a/runtime/doc/pi_getscript.txt b/runtime/doc/pi_getscript.txt --- a/runtime/doc/pi_getscript.txt +++ b/runtime/doc/pi_getscript.txt @@ -1,4 +1,4 @@ -*pi_getscript.txt* For Vim version 7.2b. Last change: 2008 Jun 29 +*pi_getscript.txt* For Vim version 7.2c. Last change: 2008 Jun 29 > GETSCRIPT REFERENCE MANUAL by Charles E. Campbell, Jr. < diff --git a/runtime/doc/pi_gzip.txt b/runtime/doc/pi_gzip.txt --- a/runtime/doc/pi_gzip.txt +++ b/runtime/doc/pi_gzip.txt @@ -1,4 +1,4 @@ -*pi_gzip.txt* For Vim version 7.2b. Last change: 2002 Oct 29 +*pi_gzip.txt* For Vim version 7.2c. Last change: 2002 Oct 29 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -1,4 +1,4 @@ -*pi_netrw.txt* For Vim version 7.2b. Last change: 2008 Jul 13 +*pi_netrw.txt* For Vim version 7.2c. Last change: 2008 Aug 01 ----------------------------------------------------- NETRW REFERENCE MANUAL by Charles E. Campbell, Jr. @@ -1437,21 +1437,56 @@ tips & tools" by Rob Flickenger (O'Reill for setting up no-password ssh and scp and discusses associated security issues. It used to be available at http://hacks.oreilly.com/pub/h/66 , but apparently that address is now being redirected to some "hackzine". -I'll attempt a summary: - - 1. Generate a public/private key pair on the ssh server: - ssh-keygen -t rsa - (saving the file in ~/.ssh/id_rsa is ok) - 2. Just hit the when asked for passphrase (twice). - 3. This creates two files: - ~/.ssh/id_rsa - ~/.ssh/id_rsa.pub - 4. On the client: - cd - mkdir .ssh - chmod 0700 .ssh - scp {serverhostname}:.ssh/id_rsa.pub . - cat id_rsa.pub >> .ssh/authorized_keys2 +I'll attempt a summary based on that article and on a communication from +Ben Schmidt: + + 1. Generate a public/private key pair on the local machine + (ssh client): > + ssh-keygen -t rsa + (saving the file in ~/.ssh/id_rsa as prompted) +< + 2. Just hit the when asked for passphrase (twice) for no + passphrase. If you do use a passphrase, you will also need to use + ssh-agent so you only have to type the passphrase once per session. + If you don't use a passphrase, simply logging onto your local + computer or getting access to the keyfile in any way will suffice + to access any ssh servers which have that key authorized for login. + + 3. This creates two files: > + ~/.ssh/id_rsa + ~/.ssh/id_rsa.pub +< + 4. On the target machine (ssh server): > + cd + mkdir -p .ssh + chmod 0700 .ssh +< + 5. On your local machine (ssh client): (one line) > + ssh {serverhostname} + cat '>>' '~/.ssh/authorized_keys2' < ~/.ssh/id_rsa.pub +< + or, for OpenSSH, (one line) > + ssh {serverhostname} + cat '>>' '~/.ssh/authorized_keys' < ~/.ssh/id_rsa.pub +< +You can test it out with > + ssh {serverhostname} +and you should be log onto the server machine without further need to type +anything. + +If you decided to use a passphrase, do: > + ssh-agent $SHELL + ssh-add + ssh {serverhostname} +You will be prompted for your key passphrase when you use ssh-add, but not +subsequently when you use ssh. For use with vim, you can use > + ssh-agent vim +and, when next within vim, use > + :!ssh-add +Alternatively, you can apply ssh-agent to the terminal you're planning on +running vim in: > + ssh-agent xterm & +and do ssh-add whenever you need. For Windows, folks on the vim mailing list have mentioned that Pageant helps with avoiding the constant need to enter the password. @@ -1628,6 +1663,13 @@ MARKED FILES: MOVING *netrw-mm* {{{ (See |netrw-mf| and |netrw-mr| for how to mark files) (uses the global marked file list) + WARNING: moving files is more dangerous than copying them. + A file being moved is first copied and then deleted; if the + copy operation fails and the delete succeeds, you will lose + the file. Either try things out with unimportant files + first or do the copy and then delete yourself using mc and D. + Use at your own risk! + Select a target directory with mT (|netrw-mt|). Then change directory, select file(s) (see |netrw-mf|), and press "mm". @@ -2387,6 +2429,16 @@ which is loaded automatically at startup ============================================================================== 12. History *netrw-history* {{{1 + v130: Jul 31, 2008 * trying out elinks/links for http://host/ + requests. One problem: in-page links + (such as with ...#LABEL) are not supported + * verified that Bram's modified netrwPlugin works + Aug 01, 2008 * fixed a bug: when sourcing a file via ftp, the + "filter window" was left behind. + v129: Jul 31, 2008 * bug found in non-mouse enabled vim and some + local maps + v128: Jul 30, 2008 * much work done in using shellescape() and + fnameescape() v126: Jun 30, 2008 * after having gone to a remote directory, was no longer taking one to the correct entry in the help (|netrw-quickhelp|). Fixed. diff --git a/runtime/doc/pi_paren.txt b/runtime/doc/pi_paren.txt --- a/runtime/doc/pi_paren.txt +++ b/runtime/doc/pi_paren.txt @@ -1,4 +1,4 @@ -*pi_paren.txt* For Vim version 7.2b. Last change: 2008 Jun 16 +*pi_paren.txt* For Vim version 7.2c. Last change: 2008 Jun 16 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/pi_spec.txt b/runtime/doc/pi_spec.txt --- a/runtime/doc/pi_spec.txt +++ b/runtime/doc/pi_spec.txt @@ -1,4 +1,4 @@ -*pi_spec.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*pi_spec.txt* For Vim version 7.2c. Last change: 2006 Apr 24 by Gustavo Niemeyer ~ diff --git a/runtime/doc/pi_tar.txt b/runtime/doc/pi_tar.txt --- a/runtime/doc/pi_tar.txt +++ b/runtime/doc/pi_tar.txt @@ -1,4 +1,4 @@ -*pi_tar.txt* For Vim version 7.2b. Last change: 2008 Jul 13 +*pi_tar.txt* For Vim version 7.2c. Last change: 2008 Jul 13 +====================+ | Tar File Interface | diff --git a/runtime/doc/pi_vimball.txt b/runtime/doc/pi_vimball.txt --- a/runtime/doc/pi_vimball.txt +++ b/runtime/doc/pi_vimball.txt @@ -1,4 +1,4 @@ -*pi_vimball.txt* For Vim version 7.2b. Last change: 2008 Jun 05 +*pi_vimball.txt* For Vim version 7.2c. Last change: 2008 Jul 30 ---------------- Vimball Archiver diff --git a/runtime/doc/pi_zip.txt b/runtime/doc/pi_zip.txt --- a/runtime/doc/pi_zip.txt +++ b/runtime/doc/pi_zip.txt @@ -1,4 +1,4 @@ -*pi_zip.txt* For Vim version 7.2b. Last change: 2008 Jun 29 +*pi_zip.txt* For Vim version 7.2c. Last change: 2008 Jul 30 +====================+ | Zip File Interface | diff --git a/runtime/doc/print.txt b/runtime/doc/print.txt --- a/runtime/doc/print.txt +++ b/runtime/doc/print.txt @@ -1,4 +1,4 @@ -*print.txt* For Vim version 7.2b. Last change: 2008 Apr 30 +*print.txt* For Vim version 7.2c. Last change: 2008 Apr 30 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1,4 +1,4 @@ -*quickfix.txt* For Vim version 7.2b. Last change: 2008 Mar 14 +*quickfix.txt* For Vim version 7.2c. Last change: 2008 Mar 14 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -1,4 +1,4 @@ -*quickref.txt* For Vim version 7.2b. Last change: 2008 Jan 22 +*quickref.txt* For Vim version 7.2c. Last change: 2008 Jan 22 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/quotes.txt b/runtime/doc/quotes.txt --- a/runtime/doc/quotes.txt +++ b/runtime/doc/quotes.txt @@ -1,4 +1,4 @@ -*quotes.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*quotes.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/recover.txt b/runtime/doc/recover.txt --- a/runtime/doc/recover.txt +++ b/runtime/doc/recover.txt @@ -1,4 +1,4 @@ -*recover.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*recover.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/remote.txt b/runtime/doc/remote.txt --- a/runtime/doc/remote.txt +++ b/runtime/doc/remote.txt @@ -1,4 +1,4 @@ -*remote.txt* For Vim version 7.2b. Last change: 2008 May 24 +*remote.txt* For Vim version 7.2c. Last change: 2008 May 24 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -1,4 +1,4 @@ -*repeat.txt* For Vim version 7.2b. Last change: 2007 Aug 12 +*repeat.txt* For Vim version 7.2c. Last change: 2007 Aug 12 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/rileft.txt b/runtime/doc/rileft.txt --- a/runtime/doc/rileft.txt +++ b/runtime/doc/rileft.txt @@ -1,4 +1,4 @@ -*rileft.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*rileft.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM REFERENCE MANUAL by Avner Lottem diff --git a/runtime/doc/russian.txt b/runtime/doc/russian.txt --- a/runtime/doc/russian.txt +++ b/runtime/doc/russian.txt @@ -1,4 +1,4 @@ -*russian.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*russian.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM REFERENCE MANUAL by Vassily Ragosin diff --git a/runtime/doc/scroll.txt b/runtime/doc/scroll.txt --- a/runtime/doc/scroll.txt +++ b/runtime/doc/scroll.txt @@ -1,4 +1,4 @@ -*scroll.txt* For Vim version 7.2b. Last change: 2006 Aug 27 +*scroll.txt* For Vim version 7.2c. Last change: 2006 Aug 27 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt --- a/runtime/doc/sign.txt +++ b/runtime/doc/sign.txt @@ -1,4 +1,4 @@ -*sign.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*sign.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM REFERENCE MANUAL by Gordon Prieur diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -1,4 +1,4 @@ -*spell.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*spell.txt* For Vim version 7.2c. Last change: 2008 Jun 21 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/sponsor.txt b/runtime/doc/sponsor.txt --- a/runtime/doc/sponsor.txt +++ b/runtime/doc/sponsor.txt @@ -1,4 +1,4 @@ -*sponsor.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*sponsor.txt* For Vim version 7.2c. Last change: 2008 Jun 21 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*starting.txt* For Vim version 7.2c. Last change: 2008 Jun 21 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*syntax.txt* For Vim version 7.2c. Last change: 2008 Jul 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -852,8 +852,8 @@ If this variable is undefined or zero, b DOXYGEN *doxygen.vim* *doxygen-syntax* Doxygen generates code documentation using a special documentation format -(similar to Javadoc). This syntax script adds doxygen highlighting to c, cpp -and idl files, and should also work with java. +(similar to Javadoc). This syntax script adds doxygen highlighting to c, cpp, +idl and php files, and should also work with java. There are a few of ways to turn on doxygen formatting. It can be done explicitly or in a modeline by appending '.doxygen' to the syntax of the file. diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt --- a/runtime/doc/tabpage.txt +++ b/runtime/doc/tabpage.txt @@ -1,4 +1,4 @@ -*tabpage.txt* For Vim version 7.2b. Last change: 2007 Mar 11 +*tabpage.txt* For Vim version 7.2c. Last change: 2007 Mar 11 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/tags b/runtime/doc/tags --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -4615,6 +4615,7 @@ a{ motion.txt /*a{* a} motion.txt /*a}* b motion.txt /*b* b:changedtick-variable eval.txt /*b:changedtick-variable* +b:changelog_name filetype.txt /*b:changelog_name* b:current_syntax-variable syntax.txt /*b:current_syntax-variable* b:netrw_lastfile pi_netrw.txt /*b:netrw_lastfile* b:var eval.txt /*b:var* @@ -5329,6 +5330,8 @@ fixed-6.4 version6.txt /*fixed-6.4* fixed-7.1 version7.txt /*fixed-7.1* fixed-7.2 version7.txt /*fixed-7.2* flexwiki.vim syntax.txt /*flexwiki.vim* +float-e eval.txt /*float-e* +float-pi eval.txt /*float-pi* float2nr() eval.txt /*float2nr()* floating-point-format eval.txt /*floating-point-format* floating-point-precision eval.txt /*floating-point-precision* diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt --- a/runtime/doc/tagsrch.txt +++ b/runtime/doc/tagsrch.txt @@ -1,4 +1,4 @@ -*tagsrch.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*tagsrch.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt --- a/runtime/doc/term.txt +++ b/runtime/doc/term.txt @@ -1,4 +1,4 @@ -*term.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*term.txt* For Vim version 7.2c. Last change: 2008 Jun 21 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/tips.txt b/runtime/doc/tips.txt --- a/runtime/doc/tips.txt +++ b/runtime/doc/tips.txt @@ -1,4 +1,4 @@ -*tips.txt* For Vim version 7.2b. Last change: 2006 Jul 24 +*tips.txt* For Vim version 7.2c. Last change: 2006 Jul 24 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.2b. Last change: 2008 Jul 13 +*todo.txt* For Vim version 7.2c. Last change: 2008 Aug 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -31,10 +31,13 @@ be worked on, but only if you sponsor Vi -------------------- Known bugs and current work ----------------------- ":pedit %" with a BufReadPre autocommand causes the cursor to move to the -first line. (Ingo Karkat, 2008 Jul 1) +first line. (Ingo Karkat, 2008 Jul 1) Ian Kelling is working on this. Have a look at patch for utf-8 line breaking. (Yongwei Wu, 2008 Mar 1, Mar 23) +netrw: dragging status line causes selection of entry. Should check row +number to be below last visible line. + Runtime files for Clojure. (Toralf Wittner, 2008 Jun 25) Patch to add extra argument to glob() and globpath() to ignore 'wildignore'. @@ -52,6 +55,13 @@ Wildmenu not deleted: "gvim -u NONE", ": laststatus=2", CTRL-D CTRL-H CTRL-H CTRL-H. (A.Politz, 2008 April 1) Works OK with Vim in an xterm. +When using ":e ++enc=foo file" and the file is already loaded with +'fileencoding' set to "bar", then do_ecmd() uses that buffer, even though the +fileencoding differs. Reload the buffer in this situation? Need to check for +the buffer to be unmodified. +Unfinished patch by Ian Kelling, 2008 Jul 11. Followup Jul 14, need to have +another look at it. + Fix for matchparen HL doesn't work. beep. Win32: associating a type with Vim doesn't take care of space after a @@ -59,17 +69,22 @@ backslash? (Robert Vibrant, 2008 Jun 5) After using for command line completion after ":ta blah" and getting E33 (no tags file), further editing the command to e.g., ":echo 'blah'", the -command is not executed. +command is not executed. Fix by Ian Kelling? When 'bomb' is changed the window title is updated to show/hide a "+", but the tab page label isn't. (Patrick Texier, 2008 Jun 24) +":help s/~" jumps to *s/\~*, while ":help s/\~" doesn't find anything. (Tim +Chase) Fix by Ian Kelling, 2008 Jul 14. + Despite adding save_subexpr() this still doesn't work properly: Regexp: matchlist('12a4aaa', '^\(.\{-}\)\(\%5c\@<=a\+\)\(.\+\)\?') Returns ['12a4', 'aaa', '4aaa'], should be ['12a4', 'aaa', ''] Backreference not cleared when retrying after \@<= fails? (Brett Stahlman, 2008 March 8) +Patch for 2html.vim to avoid "&nbsp;". (Markus Heidelberg, 2008 Jul 19) + Win32: remote editing fails when the current directory name contains "[". (Ivan Tishchenko, Liu Yubao) Suggested patch by Chris Lubinski: Avoid escaping characters where the backslash is not removed later. Asked Chris for @@ -111,6 +126,9 @@ changed or the window is resized. Mac: Patch for configure: remove arch from ruby link args. (Knezevic, 2008 Mar 5) Alternative: Kazuki Sakamoto, Mar 7. +Mac: trouble compiling with Motif, requires --disable-darwin. (Raf, 2008 Aug +1) Reply by Ben Schmidt. + ":emenu" works with the translated menu name. Should also work with the untranslated name. Would need to store both the English and the translated name. Patch by Bjorn Winckler, 2008 Mar 30. @@ -125,8 +143,6 @@ Await response to question to make the r Problem with 'ts' set to 9 and 'showbreak' to ">>>". (Matthew Winn, 2007 Oct 1) -"vim -O aa aa" gives only one window. (Zdenek Sekera, 2008 Apr 16) - Including NFA regexp code: Use "\%#= to set the engine: 0 = automatic, 1 = backtracking, 2 = new. Useful in tests. @@ -158,6 +174,10 @@ New PHP syntax file, use it? (Peter Hodg 'foldcolumn' in modeline applied to wrong window when using a session. (Teemu Likonen, March 19) +The documentation mentions the priority for ":2match" and ":3match", but it +appears the last one wins. (John Beckett, 2008 Jul 22) Caused by adding +matchadd()? Suggested patch by John, 2008 Jul 24. + Replace ccomplete.vim by cppcomplete.vim from www.vim.org? script 1520 by Vissale Neang. (Martin Stubenschrott) Asked Vissale to make the scripts more friendly for the Vim distribution. @@ -168,8 +188,9 @@ Asked about latest version: 0.77.1 is on More AmigaOS4 patches. (Peter Bengtsson, Nov 9) -Error when cancelling completion menu and auto-formatting. (Tim Weber, 2008 -Apr 17) +Insert mode completion: When editing the text and pressing CTRL-N again goes +back to originally completed text, edited text is gone. (Peng Yu, 2008 Jul 24) +Suggestion by Ben Schmidt, 2008 Aug 6. Problem with compound words? (Bert, 2008 May 6) No warning for when flags are defined after they are used in an affix. @@ -193,6 +214,9 @@ popup menu over it, first draw the new p size and then redraw the text, skipping the characters under the popup menu. This should avoid flicker. Other solution by A.Politz, 2007 Aug 22. +When the popup menu is close to the edge of the window it is truncated. Patch +to anchor the popup menu in a different way. (James Vega, 2008 Jul 30) + Spell checking: Add a way to specify punctuation characters. Add the superscript numbers by default: 0x2070, 0xb9, 0xb2, 0xb3, 0x2074 - 0x2079. @@ -200,9 +224,9 @@ Windows 98: pasting from the clipboard w a trailing NUL. (Joachim Hofmann) Perhaps the length specified for CF_TEXT isn't right? -Completion: Scanning for tags doesn't check for typed key now and then? -Hangs for about 5 seconds. Appears to be caused by finding include files with -"foo/**" in 'path'. (Kalisiak, 2006 July 15) +Command line completion: Scanning for tags doesn't check for typed key now and +then? Hangs for about 5 seconds. Appears to be caused by finding include +files with "foo/**" in 'path'. (Kalisiak, 2006 July 15) Additional info: When using the |wildcards| ** globing, vim hangs indefinitely on lots of directories. The |file-searching| globing, like in ":set path=/**" does not hang as often as with globing with |wildcards|, like @@ -247,6 +271,9 @@ Win32: Patch for convert_filterW(). (Tar Win32: Patch for cscope external command. (Mike Williams, 2007 Aug 7) +":cscope find f filename" doesn't work because of the extra space. (Ethan +Mallove) + Win32: XPM support only works with path without spaces. Patch by Mathias Michaelis, 2006 Jun 9. Another patch for more path names, 2006 May 31. New version: http://members.tcnet.ch/michaelis/vim/patches.zip (also for other @@ -280,6 +307,10 @@ pointer in long and seek offset in 64 bi Win32: patch for fullscreen mode. (Liushaolin, 2008 April 17) +When file b is a link to file a and editing b twice you get the correct +warning for existing swap file, but when trying to recover it doesn't find the +swapfile. (Matt Wozniski, 2008 Aug 5) + Pressing the 'pastetoggle' key doesn't update the statusline. (Jan Christoph Ebersbach, 2008 Feb 1) @@ -321,6 +352,8 @@ use a different dialog: "busy saving, re Check other interfaces for changing curbuf in a wrong way. Patch like for if_ruby.c. +Problem with cursorcolumn highlighting and folds. (John Mullin, 2008 Jul 18) + Spell checking in popup menu: If the only problem is the case of the first character, don't offer "ignore" and "add to word list". @@ -381,12 +414,19 @@ Jun 5) Mac: Using gvim: netrw window disappears. (Nick Lo, 2006 Jun 21) +When 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a. Compare with +using "ga" on a NUL when 'ff' is "unix". (Andy Wokula, 2008 Jul 16) + Add an option to specify the character to use when a double-width character is moved to the next line. Default '>', set to a space to blank it out. Check that char is single width when it's set (compare with 'listchars'). The generated vim.bat can avoid the loop for NT. (Carl Zmola, 2006 Sep 3) +In a C file with spell checking, in "% integer" "nteger" is seen as an error, +but "]s" doesn't find it. "nteger" by itself is found. (Ralf Wildenhues, 2008 +Jul 22) + Session file creation: 'autochdir' causes trouble. Keep it off until after loading all files. @@ -443,7 +483,7 @@ show more text of the completions. Shor middle? When running inside screen it's possible to kill the X server and restart it -(using pty's the program can keep on running). Vim dies because it looses the +(using pty's the program can keep on running). Vim dies because it loses the connection to the X server. Can Vim simply quit using the X server instead of dying? Also relevant when running in a console. @@ -463,9 +503,6 @@ Campbell 2006 Jul 06. Syntax HL error caused by "containedin". (Peter Hodge, 2006 Oct 6) -":help s/~" jumps to *s/\~*, while ":help s/\~" doesn't find anything. (Tim -Chase) - A custom completion function in a ":command" cannot be a Funcref. (Andy Wokula, 2007 Aug 25) @@ -487,10 +524,6 @@ number. (Tony Mechelynck, 2007 Feb 6) GTK: when using the -geom argument with an offset from the right edge and the size is smaller than the default, the Vim window is not positioned properly. -GTK: when editing a directory with the netrw plugin in a terminal and doing -":gui" Vim hangs in obtaining the selection. Workaround patch 7.1.209 is a -hack (timeout after 3 seconds). Why don't we get the selection here? - After starting Vim, using '0 to jump somewhere in a file, ":sp" doesn't center the cursor line. It works OK after some other commands. @@ -626,6 +659,16 @@ More patches: - gettabvar() and settabvar() functions. (Yegappan Lakshmanan, 2007 Sep 13, 2008 Jun 12) - recognize hex numbers better. (Mark Manning, 2006 Sep 13) +- Add key, to expand an abbreviation in a mapping. (Kana + Natsuno, 2008 Jul 17) +- Add 'wspara' option, also accept blank lines like empty lines for "{" and + "}". (Mark Lundquist, 2008 Jul 18) +- Patch to add CTRL-T to delete part of a path on cmdline. (Adek, 2008 Jul + 21) +- Instead of creating a copy of the tutor in all the shell scripts, do it in + vimtutor.vim. (Jan Minar, 2008 Jul 20) +- When fsync() fails there is no hint about what went wrong. Patch by Ben + Schmidt, 2008 Jul 22. Awaiting updated patches: @@ -1204,11 +1247,6 @@ 8 When an ":edit" is inside a try comm the :catch commands are always executed, also when the file is edited normally. Should reset did_emsg and undo side effects. Also make sure the ATTENTION message shows up. Servatius Brandt works on this. -9 When using ":e ++enc=foo file" and the file is already loaded with - 'fileencoding' set to "bar", then do_ecmd() uses that buffer, even though - the fileencoding differs. Reload the buffer in this situation? Need to - check for the buffer to be unmodified. - Unfinished patch by Ian Kelling, 2008 Jul 11. 8 ":g//" gives "Pattern not found error" with E486. Should not use the error number, it's not a regular error message. 7 Vimtutor leaves escape sequence in terminal. This is the xterm response to @@ -1307,7 +1345,7 @@ 8 In the fileformat dialog, "Cancel" i 9 When editing a file with 'readonly' set, there is no check for an existing swap file. Then using ":write" (without making any changes) doesn't give a warning either. Should check for an existing swap file without creating - one. Unfinished patch by Ian Kelling, 2008 July 7. + one. Unfinished patch by Ian Kelling, 2008 July 14. 7 When 'showbreak' is set, the amount of space a Tab occupies changes. Should work like 'showbreak' is inserted without changing the Tabs. 7 When 'mousefocus' is set and switching to another window with a typed @@ -1477,6 +1515,13 @@ Problems that will (probably) not be sol - GTK: when using the popup menu with spelling suggestions and releasing the right mouse button before the menu appears selecting an item with the right mouse button has no effect. GTK does not produce an event for this. +- GTK 2: Cannot use the file selector. When using it many things become + slow. This is caused by some code in GTK that writes + ~/.recently-used.xbel every time an event is handled. It assumes the main + loop is never quit, which is a wrong assumption. Also, it overwrites the + file with different file permissions, which is a privacy issue. This + needs to be fixed in GTK. A solution in Vim would be really complicated. + (2008 Jul 31) - xterm title: The following scenario may occur (esp. when running the Vim test script): Vim 1 sets the title to "file1", then restores the title to "xterm" with an ESC sequence when exiting. Vim 2 obtains the old title diff --git a/runtime/doc/uganda.txt b/runtime/doc/uganda.txt --- a/runtime/doc/uganda.txt +++ b/runtime/doc/uganda.txt @@ -1,4 +1,4 @@ -*uganda.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*uganda.txt* For Vim version 7.2c. Last change: 2008 Jun 21 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt --- a/runtime/doc/undo.txt +++ b/runtime/doc/undo.txt @@ -1,4 +1,4 @@ -*undo.txt* For Vim version 7.2b. Last change: 2006 Apr 30 +*undo.txt* For Vim version 7.2c. Last change: 2006 Apr 30 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/usr_01.txt b/runtime/doc/usr_01.txt --- a/runtime/doc/usr_01.txt +++ b/runtime/doc/usr_01.txt @@ -1,4 +1,4 @@ -*usr_01.txt* For Vim version 7.2b. Last change: 2008 May 07 +*usr_01.txt* For Vim version 7.2c. Last change: 2008 May 07 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_02.txt b/runtime/doc/usr_02.txt --- a/runtime/doc/usr_02.txt +++ b/runtime/doc/usr_02.txt @@ -1,4 +1,4 @@ -*usr_02.txt* For Vim version 7.2b. Last change: 2007 Feb 28 +*usr_02.txt* For Vim version 7.2c. Last change: 2007 Feb 28 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_03.txt b/runtime/doc/usr_03.txt --- a/runtime/doc/usr_03.txt +++ b/runtime/doc/usr_03.txt @@ -1,4 +1,4 @@ -*usr_03.txt* For Vim version 7.2b. Last change: 2006 Jun 21 +*usr_03.txt* For Vim version 7.2c. Last change: 2006 Jun 21 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_04.txt b/runtime/doc/usr_04.txt --- a/runtime/doc/usr_04.txt +++ b/runtime/doc/usr_04.txt @@ -1,4 +1,4 @@ -*usr_04.txt* For Vim version 7.2b. Last change: 2006 Jun 21 +*usr_04.txt* For Vim version 7.2c. Last change: 2006 Jun 21 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt --- a/runtime/doc/usr_05.txt +++ b/runtime/doc/usr_05.txt @@ -1,4 +1,4 @@ -*usr_05.txt* For Vim version 7.2b. Last change: 2007 May 11 +*usr_05.txt* For Vim version 7.2c. Last change: 2007 May 11 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_06.txt b/runtime/doc/usr_06.txt --- a/runtime/doc/usr_06.txt +++ b/runtime/doc/usr_06.txt @@ -1,4 +1,4 @@ -*usr_06.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_06.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_07.txt b/runtime/doc/usr_07.txt --- a/runtime/doc/usr_07.txt +++ b/runtime/doc/usr_07.txt @@ -1,4 +1,4 @@ -*usr_07.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_07.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_08.txt b/runtime/doc/usr_08.txt --- a/runtime/doc/usr_08.txt +++ b/runtime/doc/usr_08.txt @@ -1,4 +1,4 @@ -*usr_08.txt* For Vim version 7.2b. Last change: 2006 Jul 18 +*usr_08.txt* For Vim version 7.2c. Last change: 2006 Jul 18 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_09.txt b/runtime/doc/usr_09.txt --- a/runtime/doc/usr_09.txt +++ b/runtime/doc/usr_09.txt @@ -1,4 +1,4 @@ -*usr_09.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_09.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_10.txt b/runtime/doc/usr_10.txt --- a/runtime/doc/usr_10.txt +++ b/runtime/doc/usr_10.txt @@ -1,4 +1,4 @@ -*usr_10.txt* For Vim version 7.2b. Last change: 2006 Nov 05 +*usr_10.txt* For Vim version 7.2c. Last change: 2006 Nov 05 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_11.txt b/runtime/doc/usr_11.txt --- a/runtime/doc/usr_11.txt +++ b/runtime/doc/usr_11.txt @@ -1,4 +1,4 @@ -*usr_11.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_11.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_12.txt b/runtime/doc/usr_12.txt --- a/runtime/doc/usr_12.txt +++ b/runtime/doc/usr_12.txt @@ -1,4 +1,4 @@ -*usr_12.txt* For Vim version 7.2b. Last change: 2007 May 11 +*usr_12.txt* For Vim version 7.2c. Last change: 2007 May 11 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_20.txt b/runtime/doc/usr_20.txt --- a/runtime/doc/usr_20.txt +++ b/runtime/doc/usr_20.txt @@ -1,4 +1,4 @@ -*usr_20.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_20.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_21.txt b/runtime/doc/usr_21.txt --- a/runtime/doc/usr_21.txt +++ b/runtime/doc/usr_21.txt @@ -1,4 +1,4 @@ -*usr_21.txt* For Vim version 7.2b. Last change: 2007 May 01 +*usr_21.txt* For Vim version 7.2c. Last change: 2007 May 01 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_22.txt b/runtime/doc/usr_22.txt --- a/runtime/doc/usr_22.txt +++ b/runtime/doc/usr_22.txt @@ -1,4 +1,4 @@ -*usr_22.txt* For Vim version 7.2b. Last change: 2007 Aug 14 +*usr_22.txt* For Vim version 7.2c. Last change: 2007 Aug 14 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_23.txt b/runtime/doc/usr_23.txt --- a/runtime/doc/usr_23.txt +++ b/runtime/doc/usr_23.txt @@ -1,4 +1,4 @@ -*usr_23.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_23.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_24.txt b/runtime/doc/usr_24.txt --- a/runtime/doc/usr_24.txt +++ b/runtime/doc/usr_24.txt @@ -1,4 +1,4 @@ -*usr_24.txt* For Vim version 7.2b. Last change: 2006 Jul 23 +*usr_24.txt* For Vim version 7.2c. Last change: 2006 Jul 23 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_25.txt b/runtime/doc/usr_25.txt --- a/runtime/doc/usr_25.txt +++ b/runtime/doc/usr_25.txt @@ -1,4 +1,4 @@ -*usr_25.txt* For Vim version 7.2b. Last change: 2007 May 11 +*usr_25.txt* For Vim version 7.2c. Last change: 2007 May 11 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_26.txt b/runtime/doc/usr_26.txt --- a/runtime/doc/usr_26.txt +++ b/runtime/doc/usr_26.txt @@ -1,4 +1,4 @@ -*usr_26.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_26.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_27.txt b/runtime/doc/usr_27.txt --- a/runtime/doc/usr_27.txt +++ b/runtime/doc/usr_27.txt @@ -1,4 +1,4 @@ -*usr_27.txt* For Vim version 7.2b. Last change: 2007 Nov 10 +*usr_27.txt* For Vim version 7.2c. Last change: 2007 Nov 10 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_28.txt b/runtime/doc/usr_28.txt --- a/runtime/doc/usr_28.txt +++ b/runtime/doc/usr_28.txt @@ -1,4 +1,4 @@ -*usr_28.txt* For Vim version 7.2b. Last change: 2008 Jun 14 +*usr_28.txt* For Vim version 7.2c. Last change: 2008 Jun 14 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_29.txt b/runtime/doc/usr_29.txt --- a/runtime/doc/usr_29.txt +++ b/runtime/doc/usr_29.txt @@ -1,4 +1,4 @@ -*usr_29.txt* For Vim version 7.2b. Last change: 2008 Jun 28 +*usr_29.txt* For Vim version 7.2c. Last change: 2008 Jun 28 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_30.txt b/runtime/doc/usr_30.txt --- a/runtime/doc/usr_30.txt +++ b/runtime/doc/usr_30.txt @@ -1,4 +1,4 @@ -*usr_30.txt* For Vim version 7.2b. Last change: 2007 Nov 10 +*usr_30.txt* For Vim version 7.2c. Last change: 2007 Nov 10 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_31.txt b/runtime/doc/usr_31.txt --- a/runtime/doc/usr_31.txt +++ b/runtime/doc/usr_31.txt @@ -1,4 +1,4 @@ -*usr_31.txt* For Vim version 7.2b. Last change: 2007 May 08 +*usr_31.txt* For Vim version 7.2c. Last change: 2007 May 08 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_32.txt b/runtime/doc/usr_32.txt --- a/runtime/doc/usr_32.txt +++ b/runtime/doc/usr_32.txt @@ -1,4 +1,4 @@ -*usr_32.txt* For Vim version 7.2b. Last change: 2006 Apr 30 +*usr_32.txt* For Vim version 7.2c. Last change: 2006 Apr 30 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_40.txt b/runtime/doc/usr_40.txt --- a/runtime/doc/usr_40.txt +++ b/runtime/doc/usr_40.txt @@ -1,4 +1,4 @@ -*usr_40.txt* For Vim version 7.2b. Last change: 2006 Jun 21 +*usr_40.txt* For Vim version 7.2c. Last change: 2006 Jun 21 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -1,4 +1,4 @@ -*usr_41.txt* For Vim version 7.2b. Last change: 2008 Jun 21 +*usr_41.txt* For Vim version 7.2c. Last change: 2008 Jun 21 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_42.txt b/runtime/doc/usr_42.txt --- a/runtime/doc/usr_42.txt +++ b/runtime/doc/usr_42.txt @@ -1,4 +1,4 @@ -*usr_42.txt* For Vim version 7.2b. Last change: 2008 May 05 +*usr_42.txt* For Vim version 7.2c. Last change: 2008 May 05 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_43.txt b/runtime/doc/usr_43.txt --- a/runtime/doc/usr_43.txt +++ b/runtime/doc/usr_43.txt @@ -1,4 +1,4 @@ -*usr_43.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_43.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_44.txt b/runtime/doc/usr_44.txt --- a/runtime/doc/usr_44.txt +++ b/runtime/doc/usr_44.txt @@ -1,4 +1,4 @@ -*usr_44.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_44.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_45.txt b/runtime/doc/usr_45.txt --- a/runtime/doc/usr_45.txt +++ b/runtime/doc/usr_45.txt @@ -1,4 +1,4 @@ -*usr_45.txt* For Vim version 7.2b. Last change: 2008 Apr 30 +*usr_45.txt* For Vim version 7.2c. Last change: 2008 Apr 30 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_90.txt b/runtime/doc/usr_90.txt --- a/runtime/doc/usr_90.txt +++ b/runtime/doc/usr_90.txt @@ -1,4 +1,4 @@ -*usr_90.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_90.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/usr_toc.txt b/runtime/doc/usr_toc.txt --- a/runtime/doc/usr_toc.txt +++ b/runtime/doc/usr_toc.txt @@ -1,4 +1,4 @@ -*usr_toc.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*usr_toc.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM USER MANUAL - by Bram Moolenaar diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt --- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -1,4 +1,4 @@ -*various.txt* For Vim version 7.2b. Last change: 2008 Jun 08 +*various.txt* For Vim version 7.2c. Last change: 2008 Aug 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -644,7 +644,12 @@ 2. Online help *online-help* ":tnext" command can then be used to jump to other matches, "tselect" to list matches and choose one. > :help index| :tse z. -< This command can be followed by '|' and another +< When there is no argument you will see matches for + "help", to avoid listing all possible matches (that + would be very slow). + The number of matches displayed is limited to 300. + + This command can be followed by '|' and another command, but you don't need to escape the '|' inside a help command. So these both work: > :help | diff --git a/runtime/doc/version4.txt b/runtime/doc/version4.txt --- a/runtime/doc/version4.txt +++ b/runtime/doc/version4.txt @@ -1,4 +1,4 @@ -*version4.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*version4.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/version5.txt b/runtime/doc/version5.txt --- a/runtime/doc/version5.txt +++ b/runtime/doc/version5.txt @@ -1,4 +1,4 @@ -*version5.txt* For Vim version 7.2b. Last change: 2008 Jun 28 +*version5.txt* For Vim version 7.2c. Last change: 2008 Jun 28 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/version6.txt b/runtime/doc/version6.txt --- a/runtime/doc/version6.txt +++ b/runtime/doc/version6.txt @@ -1,4 +1,4 @@ -*version6.txt* For Vim version 7.2b. Last change: 2007 May 11 +*version6.txt* For Vim version 7.2c. Last change: 2008 Aug 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5894,7 +5894,7 @@ Files: src/move.c Patch 6.1b.023 Problem: On MS-Windows system() may cause checking timestamps, because Vim - looses and gains input focus, while this doesn't happen on Unix. + loses and gains input focus, while this doesn't happen on Unix. Solution: Don't check timestamps while system() is busy. Files: src/ex_cmds2.c, src/fileio.c, src/globals.h, src/misc1.c diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt --- a/runtime/doc/version7.txt +++ b/runtime/doc/version7.txt @@ -1,4 +1,4 @@ -*version7.txt* For Vim version 7.2b. Last change: 2008 Jul 13 +*version7.txt* For Vim version 7.2c. Last change: 2008 Aug 06 VIM REFERENCE MANUAL by Bram Moolenaar @@ -4727,6 +4727,7 @@ New keymap files: Other new runtime files: Esperanto menus and message translations. (Dominique Pelle) Finnish translation of menus and messages. (Flammie Pirinen) + Brazilian Portugese message translations. (Eduardo Dobay) Added floating point support. |Float| @@ -6847,7 +6848,7 @@ Problem: When a file name has an ille Solution: Don't use UTF_COMPOSINGLIKE() on an illegal byte. In msg_outtrans_len_attr() use char2cells() instead of ptr2cells(). In utf_ptr2char() don't check second byte when first byte is - illega. (Dominique Pelle) + illegal. (Dominique Pelle) Files: src/mbyte.c, src/message.c Patch 7.2a.011 @@ -6916,7 +6917,7 @@ Overlapping STRCPY() arguments when usin STRMOVE() instead. (Ralf Wildenhues) Mac: On Leopard gvim, when using the mouse wheel nothing would happen until -another event occures, such as moving the mouse. Then the recorded scrolling +another event occurs, such as moving the mouse. Then the recorded scrolling would take place all at once. (Eckehard Berns) Solution for cursor color not reflecting IM status for GTK 2. Add @@ -6936,5 +6937,179 @@ characters may not be cleared properly. The #ifdef for including "vimio.h" was inconsistent. In a few files it depended on MSWIN, which isn't defined until later. +Patch 7.2b.001 +Problem: Compilation problem: mb_fix_col() missing with multi-byte feature + but without GUI or clipboard. +Solution: Remove #ifdef. +Files: src/mbyte.c + +Patch 7.2b.002 +Problem: Compiler warnings for signed/unsigned mismatch. +Solution: Add type casts. +Files: src/screen.c + +Patch 7.2b.003 +Problem: Still a compilation problem, check_col() and check_row() missing. +Solution: Add FEAT_MBYTE to the #if. +Files: src/ui.c + +Patch 7.2b.004 +Problem: Trying to free memory for a static string when using ":helpgrep". + (George Reilly) +Solution: Set 'cpo' to empty_option instead of an empty string. Also for + searchpair() and substitute(). +Files: src/quickfix.c, src/eval.c + +Patch 7.2b.005 +Problem: The special character "!" isn't handled properly in shellescape(). + (Jan Minar) +Solution: Escape "!" when using a "csh" like shell and with + shellescape(s, 1). Twice for both. Also escape . +Files: src/misc2.c + +Patch 7.2b.006 +Problem: Reading past end of string when reading info from tags line. +Solution: Break the loop when encountering a NUL. (Dominique Pelle) +Files: src/tag.c + +Patch 7.2b.007 +Problem: Part of a message cannot be translated. +Solution: Put _() around the message. +Files: src/search.c + +Patch 7.2b.008 +Problem: A few filetypes are not detected or not detected properly. +Solution: Add filetype detection patterns. (Nikolai Weibull) +Files: runtime/filetype.vim + +Patch 7.2b.009 +Problem: Reading past end of screen line. (Epicurus) +Solution: Avoid going past the value of Columns. +Files: src/screen.c + +Patch 7.2b.010 +Problem: ":mksession" doesn't work for ":map , foo", ":sunmap ,". (Ethan + Mallove) +Solution: Check for "nxo", "nso" and other strange mapping combinations. +Files: src/getchar.c + +Patch 7.2b.011 +Problem: Configure for TCL ends up with include file in compiler command. + (Richard Hogg) +Solution: Delete items from $TCL_DEFS that do not start with a dash. +Files: src/auto/configure, src/configure.in + +Patch 7.2b.012 +Problem: Build failure with +multi_byte but without +diff. +Solution: Add #ifdef. (Patrick Texier) +Files: src/main.c + +Patch 7.2b.013 +Problem: Build fails with tiny features and Perl. (Dominique Pelle) +Solution: Define missing functions. Also when compiling Python. +Files: src/if_perl.xs, src/if_python.c + +Patch 7.2b.014 +Problem: Configure uses an unsafe temp file to store commands. +Solution: Create the temp file in local directory. +Files: src/auto/configure, src/configure.in + +Patch 7.2b.015 +Problem: Build fails on Mac when using Aap. +Solution: Fix typo in configure script. +Files: src/auto/configure, src/configure.in + +Patch 7.2b.016 +Problem: Build fails with normal features but without +autocmd. +Solution: Fix #ifdefs. (Ian Kelling) +Files: src/eval.c, src/ex_cmds.c, src/quickfix.c, src/option.c, + src/ex_docmd.c + +Patch 7.2b.017 +Problem: "vim -O foo foo" results in only one window. (Zdenek Sekera) +Solution: Handle result of ATTENTION prompt properly. (Ian Kelling) +Files: src/main.c + +Patch 7.2b.018 +Problem: When doing command line completion on a file name for a csh-like + shell argument a '!' character isn't escaped properly. +Solution: Add another backslash. +Files: src/ex_getln.c, src/misc2.c, src/proto/misc2.pro, src/screen.c + +Patch 7.2b.019 (extra) +Problem: Win32: Various compiler warnings. +Solution: Use __w64 attribute. Comment-out unused parameters. Adjust a few + #ifdefs. (George Reilly) +Files: src/gui_w48.c, src/GvimExt/gvimext.cpp, src/Make_mvc.mak, + src/os_mswin.c, src/os_win32.c, src/vim.h + +Patch 7.2b.020 +Problem: ":sort n" doesn't handle negative numbers. (James Vega) +Solution: Include '-' in the number. +Files: src/charset.c, src/ex_cmds.c + +Patch 7.2b.021 +Problem: Reloading doesn't read the BOM correctly. (Steve Gardner) +Solution: Accept utf-8 BOM when specified file encoding is utf-8. +Files: src/fileio.c + +Patch 7.2b.022 +Problem: When using ":normal" while updating the status line the count of + an operator is lost. (Dominique Pelle) +Solution: Save and restore "opcount". +Files: src/ex_docmd.c, src/globals.h, src/normal.c + +Patch 7.2b.023 +Problem: Crash when using the result of synstack(0,0). (Matt Wozniski) +Solution: Check for v_list to be NULL in a few more places. +Files: src/eval.c + +Patch 7.2b.024 +Problem: Using ":gui" while the netrw plugin is active causes a delay in + updating the display. +Solution: Don't check for terminal codes when starting the GUI. +Files: src/term.c + +Patch 7.2b.025 +Problem: When the CursorHold event triggers a pending count is lost. + (Juergen Kraemer) +Solution: Save the counts and restore them. +Files: src/normal.c, src/structs.h + +Patch 7.2b.026 +Problem: The GTK 2 file chooser causes the ~/.recently-used.xbel file to be + written over and over again. This may cause a significant + slowdown. (Guido Berhoerster) +Solution: Don't use the GTK 2 file chooser. +Files: src/gui_gtk.c + +Patch 7.2b.027 +Problem: Memory leak for Python, Perl, etc. script command with end marker. +Solution: Free the memory of the end marker. (Andy Kittner) +Files: src/ex_getln.c + +Patch 7.2b.028 +Problem: Reading uninitialized memory when doing ":gui -f". (Dominique + Pelle) +Solution: Don't position the cursor when the screen size is invalid. +Files: src/gui.c + +Patch 7.2b.029 +Problem: ":help a" doesn't jump to "a" tag in docs. (Tony Mechelynck) +Solution: Get all tags and throw away more than TAG_MANY after sorting. + When there is no argument find matches for "help" to avoid a long + delay. +Files: src/ex_cmds.c, src/ex_getln.c + +Patch 7.2b.030 +Problem: When changing the value of t_Co from 8 to 16 the Visual + highlighting keeps both reverse and a background color. +Solution: Remove the attribute when setting the default highlight color. + (Markus Heidelberg) +Files: src/syntax.c + +Error when cancelling completion menu and auto-formatting. (fixed by Ian +Kelling) + vim:tw=78:ts=8:ft=help:norl: diff --git a/runtime/doc/vi_diff.txt b/runtime/doc/vi_diff.txt --- a/runtime/doc/vi_diff.txt +++ b/runtime/doc/vi_diff.txt @@ -1,4 +1,4 @@ -*vi_diff.txt* For Vim version 7.2b. Last change: 2008 Jun 28 +*vi_diff.txt* For Vim version 7.2c. Last change: 2008 Jun 28 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/vim-fr.1 b/runtime/doc/vim-fr.1 --- a/runtime/doc/vim-fr.1 +++ b/runtime/doc/vim-fr.1 @@ -549,7 +549,7 @@ Voir ":help 'filetype'". Script pour détecter le type d'un fichier d'après son contenu. Voir ":help 'filetype'". .TP -/usr/local/lib/vim/*.ps +/usr/local/lib/vim/print/*.ps Fichiers utilisés pour l'impression PostScript. .PP Pour disposer d'informations récentes, consulter le site Internet de VIM : diff --git a/runtime/doc/vim-fr.UTF-8.1 b/runtime/doc/vim-fr.UTF-8.1 --- a/runtime/doc/vim-fr.UTF-8.1 +++ b/runtime/doc/vim-fr.UTF-8.1 @@ -549,7 +549,7 @@ Voir ":help 'filetype'". Script pour détecter le type d'un fichier d'après son contenu. Voir ":help 'filetype'". .TP -/usr/local/lib/vim/*.ps +/usr/local/lib/vim/print/*.ps Fichiers utilisés pour l'impression PostScript. .PP Pour disposer d'informations récentes, consulter le site Internet de VIM : diff --git a/runtime/doc/vim-it.1 b/runtime/doc/vim-it.1 --- a/runtime/doc/vim-it.1 +++ b/runtime/doc/vim-it.1 @@ -534,7 +534,7 @@ Vedere ":help 'filetype'". Script Vim per determinare il tipo di un file a partire dal suo contenuto. Vedere ":help 'filetype'". .TP -/usr/local/lib/vim/*.ps +/usr/local/lib/vim/print/*.ps File usati per stampa PostScript. .PP Per informazioni aggiornate [in inglese \- NdT] vedere la home page di Vim: diff --git a/runtime/doc/vim-it.UTF-8.1 b/runtime/doc/vim-it.UTF-8.1 --- a/runtime/doc/vim-it.UTF-8.1 +++ b/runtime/doc/vim-it.UTF-8.1 @@ -534,7 +534,7 @@ Vedere ":help 'filetype'". Script Vim per determinare il tipo di un file a partire dal suo contenuto. Vedere ":help 'filetype'". .TP -/usr/local/lib/vim/*.ps +/usr/local/lib/vim/print/*.ps File usati per stampa PostScript. .PP Per informazioni aggiornate [in inglese \- NdT] vedere la home page di Vim: diff --git a/runtime/doc/vim-pl.1 b/runtime/doc/vim-pl.1 --- a/runtime/doc/vim-pl.1 +++ b/runtime/doc/vim-pl.1 @@ -523,7 +523,7 @@ Skrypt do wykrywania typu pliku wed³ug jego nazwy. Zobacz ":help 'filetype'". /usr/local/lib/vim/scripts.vim Skrypt do wykrywania typu pliku wed³ug jego zawarto¶ci. Zobacz ":help 'filetype'". .TP -/usr/local/lib/vim/*.ps +/usr/local/lib/vim/print/*.ps Pliku u¿ywane do drukowania PostScriptu. .PP Naj¶wie¿sze wiadomo¶ci na stronie diff --git a/runtime/doc/vim-pl.UTF-8.1 b/runtime/doc/vim-pl.UTF-8.1 --- a/runtime/doc/vim-pl.UTF-8.1 +++ b/runtime/doc/vim-pl.UTF-8.1 @@ -523,7 +523,7 @@ Skrypt do wykrywania typu pliku wedÅ‚ug jego nazwy. Zobacz ":help 'filetype'". /usr/local/lib/vim/scripts.vim Skrypt do wykrywania typu pliku wedÅ‚ug jego zawartoÅ›ci. Zobacz ":help 'filetype'". .TP -/usr/local/lib/vim/*.ps +/usr/local/lib/vim/print/*.ps Pliku używane do drukowania PostScriptu. .PP NajÅ›wieższe wiadomoÅ›ci na stronie diff --git a/runtime/doc/vim-ru.1 b/runtime/doc/vim-ru.1 --- a/runtime/doc/vim-ru.1 +++ b/runtime/doc/vim-ru.1 @@ -452,7 +452,7 @@ rvim rview rgvim rgview /usr/local/lib/vim/scripts.vim óÃÅÎÁÒÉÊ ÄÌÑ ÏÐÒÅÄÅÌÅÎÉÑ ÔÉÐÁ ÆÁÊÌÁ ÐÏ ÓÏÄÅÒÖÉÍÏÍÕ. óÍ. ":help 'filetype'". .TP -/usr/local/lib/vim/*.ps +/usr/local/lib/vim/print/*.ps æÁÊÌÙ ÄÌÑ ÐÅÞÁÔÉ PostScript. .PP âÏÌÅÅ Ó×ÅÖÁÑ ÉÎÆÏÒÍÁÃÉÑ -- ÎÁ ÓÁÊÔÅ VIM: diff --git a/runtime/doc/vim-ru.UTF-8.1 b/runtime/doc/vim-ru.UTF-8.1 --- a/runtime/doc/vim-ru.UTF-8.1 +++ b/runtime/doc/vim-ru.UTF-8.1 @@ -452,7 +452,7 @@ rvim rview rgvim rgview /usr/local/lib/vim/scripts.vim Сценарий Ð´Ð»Ñ Ð¾Ð¿Ñ€ÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ñ‚Ð¸Ð¿Ð° файла по Ñодержимому. См. ":help 'filetype'". .TP -/usr/local/lib/vim/*.ps +/usr/local/lib/vim/print/*.ps Файлы Ð´Ð»Ñ Ð¿ÐµÑ‡Ð°Ñ‚Ð¸ PostScript. .PP Более ÑÐ²ÐµÐ¶Ð°Ñ Ð¸Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ñ -- на Ñайте VIM: diff --git a/runtime/doc/vim.1 b/runtime/doc/vim.1 --- a/runtime/doc/vim.1 +++ b/runtime/doc/vim.1 @@ -187,7 +187,7 @@ behave mostly like Vi, even though a .vi .TP \-d Start in diff mode. -There should be two or three file name arguments. +There should be two, three or four file name arguments. .B Vim will open all the files and show differences between them. Works like vimdiff(1). @@ -522,7 +522,7 @@ Script to detect the type of a file by i /usr/local/lib/vim/scripts.vim Script to detect the type of a file by its contents. See ":help 'filetype'". .TP -/usr/local/lib/vim/*.ps +/usr/local/lib/vim/print/*.ps Files used for PostScript printing. .PP For recent info read the VIM home page: diff --git a/runtime/doc/vim.man b/runtime/doc/vim.man --- a/runtime/doc/vim.man +++ b/runtime/doc/vim.man @@ -135,9 +135,9 @@ OPTIONS Vim behave mostly like Vi, even though a .vimrc file exists. - -d Start in diff mode. There should be two or three file name - arguments. Vim will open all the files and show differ- - ences between them. Works like vimdiff(1). + -d Start in diff mode. There should be two, three or four + file name arguments. Vim will open all the files and show + differences between them. Works like vimdiff(1). -d {device} Open {device} for use as a terminal. Only on the Amiga. Example: "-d con:20/30/600/150". @@ -398,7 +398,7 @@ FILES Script to detect the type of a file by its contents. See ":help 'filetype'". - /usr/local/lib/vim/*.ps + /usr/local/lib/vim/print/*.ps Files used for PostScript printing. For recent info read the VIM home page: diff --git a/runtime/doc/vimdiff.1 b/runtime/doc/vimdiff.1 --- a/runtime/doc/vimdiff.1 +++ b/runtime/doc/vimdiff.1 @@ -1,17 +1,17 @@ .TH VIMDIFF 1 "2001 March 30" .SH NAME -vimdiff \- edit two or three versions of a file with Vim and show differences +vimdiff \- edit two, three or four versions of a file with Vim and show differences .SH SYNOPSIS .br .B vimdiff -[options] file1 file2 [file3] +[options] file1 file2 [file3 [file4]] .PP .B gvimdiff .SH DESCRIPTION .B Vimdiff starts .B Vim -on two (or three) files. +on two (or three or four) files. Each file gets its own window. The differences between the files are highlighted. This is a nice way to inspect changes and to move changes from one version diff --git a/runtime/doc/vimdiff.man b/runtime/doc/vimdiff.man --- a/runtime/doc/vimdiff.man +++ b/runtime/doc/vimdiff.man @@ -3,19 +3,19 @@ VIMDIFF(1) NAME - vimdiff - edit two or three versions of a file with Vim and show dif- - ferences + vimdiff - edit two, three or four versions of a file with Vim and show + differences SYNOPSIS - vimdiff [options] file1 file2 [file3] + vimdiff [options] file1 file2 [file3 [file4]] gvimdiff DESCRIPTION - Vimdiff starts Vim on two (or three) files. Each file gets its own - window. The differences between the files are highlighted. This is a - nice way to inspect changes and to move changes from one version to - another version of the same file. + Vimdiff starts Vim on two (or three or four) files. Each file gets its + own window. The differences between the files are highlighted. This + is a nice way to inspect changes and to move changes from one version + to another version of the same file. See vim(1) for details about Vim itself. diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt --- a/runtime/doc/visual.txt +++ b/runtime/doc/visual.txt @@ -1,4 +1,4 @@ -*visual.txt* For Vim version 7.2b. Last change: 2006 Sep 26 +*visual.txt* For Vim version 7.2c. Last change: 2006 Sep 26 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -1,4 +1,4 @@ -*windows.txt* For Vim version 7.2b. Last change: 2008 Jul 05 +*windows.txt* For Vim version 7.2c. Last change: 2008 Jul 05 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/workshop.txt b/runtime/doc/workshop.txt --- a/runtime/doc/workshop.txt +++ b/runtime/doc/workshop.txt @@ -1,4 +1,4 @@ -*workshop.txt* For Vim version 7.2b. Last change: 2006 Apr 24 +*workshop.txt* For Vim version 7.2c. Last change: 2006 Apr 24 VIM REFERENCE MANUAL by Gordon Prieur diff --git a/runtime/filetype.vim b/runtime/filetype.vim --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types " " Maintainer: Bram Moolenaar -" Last Change: 2008 Jul 17 +" Last Change: 2008 Aug 03 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -25,7 +25,7 @@ au BufNewFile,BufRead *~ \ if s:name != s:short && s:short != "" | \ exe "doau filetypedetect BufRead " . fnameescape(s:short) | \ endif | - \ unlet s:name s:short + \ unlet! s:name s:short au BufNewFile,BufRead ?\+.in \ if expand(":t") != "configure.in" | \ exe "doau filetypedetect BufRead " . fnameescape(expand(":r")) | @@ -181,7 +181,7 @@ func! s:FTasm() endif endif - exe "setf " . b:asmsyntax + exe "setf " . fnameescape(b:asmsyntax) endfunc func! s:FTasmsyntax() @@ -189,8 +189,9 @@ func! s:FTasmsyntax() " b:asmsyntax appropriately let head = " ".getline(1)." ".getline(2)." ".getline(3)." ".getline(4). \" ".getline(5)." " - if head =~ '\sasmsyntax=\S\+\s' - let b:asmsyntax = substitute(head, '.*\sasmsyntax=\([a-zA-Z0-9]\+\)\s.*','\1', "") + let match = matchstr(head, '\sasmsyntax=\zs[a-zA-Z0-9]\+\ze\s') + if match != '' + let b:asmsyntax = match elseif ((head =~? '\.title') || (head =~? '\.ident') || (head =~? '\.macro') || (head =~? '\.subtitle') || (head =~? '\.library')) let b:asmsyntax = "vmasm" endif @@ -690,6 +691,9 @@ if has("fname_case") endif au BufNewFile,BufRead *.f,*.for,*.fortran,*.fpp,*.ftn,*.f77,*.f90,*.f95 setf fortran +" Framescript +au BufNewFile,BufRead *.fsl setf framescript + " FStab au BufNewFile,BufRead fstab,mtab setf fstab @@ -1347,7 +1351,7 @@ func! s:FTinc() else call s:FTasmsyntax() if exists("b:asmsyntax") - exe "setf " . b:asmsyntax + exe "setf " . fnameescape(b:asmsyntax) else setf pov endif @@ -1751,6 +1755,7 @@ endfunc " Z-Shell script au BufNewFile,BufRead .zprofile,/etc/zprofile,.zfbfmarks setf zsh au BufNewFile,BufRead .zsh*,.zlog*,.zcompdump* call s:StarSetf('zsh') +au BufNewFile,BufRead *.zsh setf zsh " Scheme au BufNewFile,BufRead *.scm,*.ss setf scheme diff --git a/runtime/ftplugin/a2ps.vim b/runtime/ftplugin/a2ps.vim --- a/runtime/ftplugin/a2ps.vim +++ b/runtime/ftplugin/a2ps.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: a2ps(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< inc< fo<" setlocal comments=:# commentstring=#\ %s include=^\\s*Include: setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/alsaconf.vim b/runtime/ftplugin/alsaconf.vim --- a/runtime/ftplugin/alsaconf.vim +++ b/runtime/ftplugin/alsaconf.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: alsaconf(8) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/arch.vim b/runtime/ftplugin/arch.vim --- a/runtime/ftplugin/arch.vim +++ b/runtime/ftplugin/arch.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: GNU Arch inventory file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/automake.vim b/runtime/ftplugin/automake.vim --- a/runtime/ftplugin/automake.vim +++ b/runtime/ftplugin/automake.vim @@ -1,10 +1,16 @@ " Vim filetype plugin file " Language: Automake " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif +let s:cpo_save = &cpo +set cpo&vim + runtime! ftplugin/make.vim ftplugin/make_*.vim ftplugin/make/*.vim + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/bdf.vim b/runtime/ftplugin/bdf.vim --- a/runtime/ftplugin/bdf.vim +++ b/runtime/ftplugin/bdf.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: BDF font definition " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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=b:COMMENT commentstring=COMMENT\ %s setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/calendar.vim b/runtime/ftplugin/calendar.vim --- a/runtime/ftplugin/calendar.vim +++ b/runtime/ftplugin/calendar.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: calendar(1) input file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< inc< fo<" setlocal comments=s1:/*,mb:*,ex:*/ commentstring& include& setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/cdrdaoconf.vim b/runtime/ftplugin/cdrdaoconf.vim --- a/runtime/ftplugin/cdrdaoconf.vim +++ b/runtime/ftplugin/cdrdaoconf.vim @@ -1,6 +1,6 @@ " Vim filetype plugin file " Maintainer: Nikolai Weibull -" Latest Revision: 2007-09-18 +" Latest Revision: 2007-12-04 if exists("b:did_ftplugin") finish @@ -14,5 +14,5 @@ let b:undo_ftplugin = "setl com< cms< fo setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql -let s:cpo_save = &cpo -set cpo&vim +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/conf.vim b/runtime/ftplugin/conf.vim --- a/runtime/ftplugin/conf.vim +++ b/runtime/ftplugin/conf.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: generic configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/context.vim b/runtime/ftplugin/context.vim --- a/runtime/ftplugin/context.vim +++ b/runtime/ftplugin/context.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: ConTeXt typesetting engine " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish @@ -29,8 +29,7 @@ if exists("loaded_matchit") let b:match_skip = 'r:\\\@ -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/css.vim b/runtime/ftplugin/css.vim --- a/runtime/ftplugin/css.vim +++ b/runtime/ftplugin/css.vim @@ -1,13 +1,16 @@ " Vim filetype plugin file " Language: CSS " Maintainer: Nikolai Weibull -" Latest Revision: 2007-05-08 +" Latest Revision: 2008-07-09 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< inc< fo< ofu<" setlocal comments=s1:/*,mb:*,ex:*/ commentstring& @@ -15,3 +18,6 @@ setlocal formatoptions-=t formatoptions+ setlocal omnifunc=csscomplete#CompleteCSS let &l:include = '^\s*@import\s\+\%(url(\)\=' + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/cvsrc.vim b/runtime/ftplugin/cvsrc.vim --- a/runtime/ftplugin/cvsrc.vim +++ b/runtime/ftplugin/cvsrc.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: cvs(1) RC file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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= formatoptions-=tcroql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/denyhosts.vim b/runtime/ftplugin/denyhosts.vim --- a/runtime/ftplugin/denyhosts.vim +++ b/runtime/ftplugin/denyhosts.vim @@ -1,6 +1,6 @@ " Vim filetype plugin file " Maintainer: Nikolai Weibull -" Latest Revision: 2007-09-18 +" Latest Revision: 2007-12-04 if exists("b:did_ftplugin") finish @@ -14,5 +14,5 @@ let b:undo_ftplugin = "setl com< cms< fo setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql -let s:cpo_save = &cpo -set cpo&vim +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/dictconf.vim b/runtime/ftplugin/dictconf.vim --- a/runtime/ftplugin/dictconf.vim +++ b/runtime/ftplugin/dictconf.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: dict(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/dictdconf.vim b/runtime/ftplugin/dictdconf.vim --- a/runtime/ftplugin/dictdconf.vim +++ b/runtime/ftplugin/dictdconf.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: dictd(8) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/dircolors.vim b/runtime/ftplugin/dircolors.vim --- a/runtime/ftplugin/dircolors.vim +++ b/runtime/ftplugin/dircolors.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: dircolors(1) input file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/dosini.vim b/runtime/ftplugin/dosini.vim --- a/runtime/ftplugin/dosini.vim +++ b/runtime/ftplugin/dosini.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: Configuration File (ini file) for MSDOS/MS Windows " Maintainer: Nikolai Weibull -" Latest Revision: 2007-08-23 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/dtd.vim b/runtime/ftplugin/dtd.vim --- a/runtime/ftplugin/dtd.vim +++ b/runtime/ftplugin/dtd.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: dtd " Maintainer: Dan Sharp -" Last Changed: 2003 Sep 29 +" Last Changed: 30 Jun 2008 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin if exists("b:did_ftplugin") | finish | endif @@ -13,6 +13,12 @@ let s:save_cpo = &cpo set cpo-=C setlocal commentstring= +setlocal comments=s: + +setlocal formatoptions-=t +if !exists("g:ft_dtd_autocomment") || (g:ft_dtd_autocomment == 1) + setlocal formatoptions+=croql +endif if exists("loaded_matchit") let b:match_words = ',' @@ -26,7 +32,7 @@ if has("gui_win32") endif " Undo the stuff we changed. -let b:undo_ftplugin = "setlocal commentstring<" . +let b:undo_ftplugin = "setlocal commentstring< comments< formatoptions<" . \ " | unlet! b:matchwords b:browsefilter" " Restore the saved compatibility options. diff --git a/runtime/ftplugin/elinks.vim b/runtime/ftplugin/elinks.vim --- a/runtime/ftplugin/elinks.vim +++ b/runtime/ftplugin/elinks.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: elinks(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/eterm.vim b/runtime/ftplugin/eterm.vim --- a/runtime/ftplugin/eterm.vim +++ b/runtime/ftplugin/eterm.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: eterm(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< inc< fo<" setlocal comments=:# commentstring=#\ %s include=^\\s*include setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/fetchmail.vim b/runtime/ftplugin/fetchmail.vim --- a/runtime/ftplugin/fetchmail.vim +++ b/runtime/ftplugin/fetchmail.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: fetchmail(1) RC File " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/framescript.vim b/runtime/ftplugin/framescript.vim new file mode 100644 --- /dev/null +++ b/runtime/ftplugin/framescript.vim @@ -0,0 +1,30 @@ +" Vim ftplugin file +" Language: FrameScript +" Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-19 + +let s:cpo_save = &cpo +set cpo&vim + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let b:undo_ftplugin = "setl com< cms< fo< inc< | unlet! b:matchwords" + +setlocal comments=s1:/*,mb:*,ex:*/,:// commentstring=/*\ %s\ */ +setlocal formatoptions-=t formatoptions+=croql +setlocal include=^\\s*<#Include + +if exists("loaded_matchit") + let s:not_end = '\c\%(\:\c\:\c\:\c\,' . + \ s:not_end . '\:\c\' . + \ s:not_end . '\:\c\' + unlet s:not_end +endif + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/git.vim b/runtime/ftplugin/git.vim --- a/runtime/ftplugin/git.vim +++ b/runtime/ftplugin/git.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: generic git output " Maintainer: Tim Pope -" Last Change: 2008 Jun 20 +" Last Change: 2008 Jul 30 " Only do this when not done yet for this buffer if (exists("b:did_ftplugin")) @@ -22,7 +22,7 @@ endif if exists('*shellescape') && exists('b:git_dir') && b:git_dir != '' if b:git_dir =~# '/\.git$' " Not a bare repository - let &l:path = escape(fnamemodify(b:git_dir,':t'),'\, ').','.&l:path + let &l:path = escape(fnamemodify(b:git_dir,':h'),'\, ').','.&l:path endif let &l:path = escape(b:git_dir,'\, ').','.&l:path let &l:keywordprg = 'git --git-dir='.shellescape(b:git_dir).' show' diff --git a/runtime/ftplugin/gpg.vim b/runtime/ftplugin/gpg.vim --- a/runtime/ftplugin/gpg.vim +++ b/runtime/ftplugin/gpg.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: gpg(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/group.vim b/runtime/ftplugin/group.vim --- a/runtime/ftplugin/group.vim +++ b/runtime/ftplugin/group.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: group(5) user group file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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= formatoptions-=tcroq formatoptions+=l + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/grub.vim b/runtime/ftplugin/grub.vim --- a/runtime/ftplugin/grub.vim +++ b/runtime/ftplugin/grub.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: grub(8) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/haskell.vim b/runtime/ftplugin/haskell.vim --- a/runtime/ftplugin/haskell.vim +++ b/runtime/ftplugin/haskell.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: Haskell " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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=s1fl:{-,mb:-,ex:-},:-- commentstring=--\ %s setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/help.vim b/runtime/ftplugin/help.vim --- a/runtime/ftplugin/help.vim +++ b/runtime/ftplugin/help.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: Vim help file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 fo< tw<" setlocal formatoptions+=tcroql textwidth=78 + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/hostconf.vim b/runtime/ftplugin/hostconf.vim --- a/runtime/ftplugin/hostconf.vim +++ b/runtime/ftplugin/hostconf.vim @@ -1,6 +1,6 @@ " Vim filetype plugin file " Maintainer: Nikolai Weibull -" Latest Revision: 2007-09-18 +" Latest Revision: 2007-12-04 if exists("b:did_ftplugin") finish @@ -14,5 +14,5 @@ let b:undo_ftplugin = "setl com< cms< fo setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql -let s:cpo_save = &cpo -set cpo&vim +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/hostsaccess.vim b/runtime/ftplugin/hostsaccess.vim new file mode 100644 --- /dev/null +++ b/runtime/ftplugin/hostsaccess.vim @@ -0,0 +1,19 @@ +" Vim filetype plugin file +" Language: hosts_access(5) control file +" Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-09 + +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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/html.vim b/runtime/ftplugin/html.vim --- a/runtime/ftplugin/html.vim +++ b/runtime/ftplugin/html.vim @@ -12,8 +12,14 @@ let b:did_ftplugin = 1 let s:save_cpo = &cpo set cpo-=C +setlocal matchpairs+=<:> setlocal commentstring= -setlocal matchpairs+=<:> +setlocal comments=s: + +if exists("g:ft_html_autocomment") && (g:ft_html_autocomment == 1) + setlocal formatoptions-=t formatoptions+=croql +endif + if exists('&omnifunc') " Distinguish between HTML versions @@ -77,7 +83,7 @@ if has("gui_win32") endif " Undo the stuff we changed. -let b:undo_ftplugin = "setlocal commentstring< matchpairs< omnifunc<" +let b:undo_ftplugin = "setlocal commentstring< matchpairs< omnifunc< comments< formatoptions<" . \ " | unlet! b:match_ignorecase b:match_skip b:match_words b:browsefilter" " Restore the saved compatibility options. diff --git a/runtime/ftplugin/indent.vim b/runtime/ftplugin/indent.vim --- a/runtime/ftplugin/indent.vim +++ b/runtime/ftplugin/indent.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: indent(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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=s1:/*,mb:*,ex:*/ commentstring& setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/kconfig.vim b/runtime/ftplugin/kconfig.vim --- a/runtime/ftplugin/kconfig.vim +++ b/runtime/ftplugin/kconfig.vim @@ -1,12 +1,18 @@ " Vim filetype plugin file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-10 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/ld.vim b/runtime/ftplugin/ld.vim --- a/runtime/ftplugin/ld.vim +++ b/runtime/ftplugin/ld.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: ld(1) script " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< inc< fo<" setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*%s*/ include=^\\s*INCLUDE setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/lftp.vim b/runtime/ftplugin/lftp.vim --- a/runtime/ftplugin/lftp.vim +++ b/runtime/ftplugin/lftp.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: lftp(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/libao.vim b/runtime/ftplugin/libao.vim --- a/runtime/ftplugin/libao.vim +++ b/runtime/ftplugin/libao.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: libao.conf(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/limits.vim b/runtime/ftplugin/limits.vim --- a/runtime/ftplugin/limits.vim +++ b/runtime/ftplugin/limits.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: limits(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/loginaccess.vim b/runtime/ftplugin/loginaccess.vim --- a/runtime/ftplugin/loginaccess.vim +++ b/runtime/ftplugin/loginaccess.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: login.access(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/logindefs.vim b/runtime/ftplugin/logindefs.vim --- a/runtime/ftplugin/logindefs.vim +++ b/runtime/ftplugin/logindefs.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: login.defs(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/m4.vim b/runtime/ftplugin/m4.vim --- a/runtime/ftplugin/m4.vim +++ b/runtime/ftplugin/m4.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: m4 " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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=:#,:dnl commentstring=dnl\ %s setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/mailaliases.vim b/runtime/ftplugin/mailaliases.vim --- a/runtime/ftplugin/mailaliases.vim +++ b/runtime/ftplugin/mailaliases.vim @@ -1,12 +1,18 @@ " Vim filetype plugin file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-03-27 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/mailcap.vim b/runtime/ftplugin/mailcap.vim --- a/runtime/ftplugin/mailcap.vim +++ b/runtime/ftplugin/mailcap.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: Mailcap configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/manconf.vim b/runtime/ftplugin/manconf.vim --- a/runtime/ftplugin/manconf.vim +++ b/runtime/ftplugin/manconf.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: man.conf(5) - man configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/mf.vim b/runtime/ftplugin/mf.vim --- a/runtime/ftplugin/mf.vim +++ b/runtime/ftplugin/mf.vim @@ -1,14 +1,19 @@ " Vim filetype plugin file " Language: MetaFont " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/modconf.vim b/runtime/ftplugin/modconf.vim --- a/runtime/ftplugin/modconf.vim +++ b/runtime/ftplugin/modconf.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: modules.conf(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< inc< fo<" setlocal comments=:# commentstring=#\ %s include=^\\s*include setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/mp.vim b/runtime/ftplugin/mp.vim --- a/runtime/ftplugin/mp.vim +++ b/runtime/ftplugin/mp.vim @@ -1,13 +1,16 @@ " Vim filetype plugin file " Language: MetaPost " Maintainer: Nikolai Weibull -" Latest Revision: 2006-07-04 +" Latest Revision: 2008-07-09 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 @@ -20,3 +23,6 @@ if exists(":FixBeginfigs") != 2 g/^beginfig(\d*);$/s//\='beginfig('.i.');'/ | let i = i + 1 endfunction endif + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/mplayerconf.vim b/runtime/ftplugin/mplayerconf.vim --- a/runtime/ftplugin/mplayerconf.vim +++ b/runtime/ftplugin/mplayerconf.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: mplayer(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< inc< fo<" setlocal comments=:# commentstring=#\ %s include=^\\s*include setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/muttrc.vim b/runtime/ftplugin/muttrc.vim --- a/runtime/ftplugin/muttrc.vim +++ b/runtime/ftplugin/muttrc.vim @@ -8,9 +8,15 @@ if exists("b:did_ftplugin") endif let b:did_ftplugin = 1 +let s:cpo_save = &cpo +set cpo&vim + let b:undo_ftplugin = "setl com< cms< inc< fo<" setlocal comments=:# commentstring=#\ %s setlocal formatoptions-=t formatoptions+=croql let &l:include = '^\s*source\>' + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/nanorc.vim b/runtime/ftplugin/nanorc.vim --- a/runtime/ftplugin/nanorc.vim +++ b/runtime/ftplugin/nanorc.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: nanorc(5) - GNU nano configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/netrc.vim b/runtime/ftplugin/netrc.vim --- a/runtime/ftplugin/netrc.vim +++ b/runtime/ftplugin/netrc.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: netrc(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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= formatoptions-=tcroq formatoptions+=l + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/nsis.vim b/runtime/ftplugin/nsis.vim new file mode 100644 --- /dev/null +++ b/runtime/ftplugin/nsis.vim @@ -0,0 +1,22 @@ +" Vim ftplugin file +" Language: NSIS script +" Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-09 + +let s:cpo_save = &cpo +set cpo&vim + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let b:undo_ftplugin = "setl com< cms< fo< def< inc<" + +setlocal comments=s1:/*,mb:*,ex:*/,b:#,:; commentstring=;\ %s +setlocal formatoptions-=t formatoptions+=croql +setlocal define=^\\s*!define\\%(\\%(utc\\)\\=date\\|math\\)\\= +setlocal include=^\\s*!include\\%(/NONFATAL\\)\\= + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/ocaml.vim b/runtime/ftplugin/ocaml.vim --- a/runtime/ftplugin/ocaml.vim +++ b/runtime/ftplugin/ocaml.vim @@ -5,7 +5,8 @@ " Stefano Zacchiroli " Vincent Aravantinos " URL: http://www.ocaml.info/vim/ftplugin/ocaml.vim -" Last Change: 2007 Sep 09 - Added .annot support for ocamlbuild, python not +" Last Change: 2008 Jul 17 - Bugfix related to fnameescape (VA) +" 2007 Sep 09 - Added .annot support for ocamlbuild, python not " needed anymore (VA) " 2006 May 01 - Added .annot support for file.whateverext (SZ) " 2006 Apr 11 - Fixed an initialization bug; fixed ASS abbrev (MM) @@ -16,6 +17,17 @@ if exists("b:did_ftplugin") endif let b:did_ftplugin=1 +" some macro +if exists('*fnameescape') + function! s:Fnameescape(s) + return fnameescape(a:s) + endfun +else + function! s:Fnameescape(s) + return escape(a:s," \t\n*?[{`$\\%#'\"|!<") + endfun +endif + " Error handling -- helps moving where the compiler wants you to go let s:cposet=&cpoptions set cpo-=C @@ -71,14 +83,14 @@ if !exists("g:did_ocaml_switch") map S :call OCaml_switch(1) fun OCaml_switch(newwin) if (match(bufname(""), "\\.mli$") >= 0) - let fname = substitute(bufname(""), "\\.mli$", ".ml", "") + let fname = s:Fnameescape(substitute(bufname(""), "\\.mli$", ".ml", "")) if (a:newwin == 1) exec "new " . fname else exec "arge " . fname endif elseif (match(bufname(""), "\\.ml$") >= 0) - let fname = bufname("") . "i" + let fname = s:Fnameescape(bufname("")) . "i" if (a:newwin == 1) exec "new " . fname else @@ -260,6 +272,7 @@ endfunction " For the moment, the only possible keyword is \"type\"." " >> + " 1. Finding the annotation file even if we use ocamlbuild " In: two strings representing paths @@ -286,16 +299,16 @@ endfunction function! s:Locate_annotation() if !b:annotation_file_located - silent exe 'cd' expand('%:p:h') + silent exe 'cd' s:Fnameescape(expand('%:p:h')) - let annot_file_name = expand('%:r').'.annot' + let annot_file_name = s:Fnameescape(expand('%:r')).'.annot' " 1st case : the annot file is in the same directory as the buffer (no ocamlbuild) let b:annot_file_path = findfile(annot_file_name,'.') if b:annot_file_path != '' let b:annot_file_path = getcwd().'/'.b:annot_file_path let b:_build_path = '' - let b:source_file_relative_path = expand('%') + let b:source_file_relative_path = s:Fnameescape(expand('%')) else " 2nd case : the buffer and the _build directory are in the same directory " .. @@ -310,7 +323,7 @@ endfunction if b:annot_file_path != '' let b:annot_file_path = getcwd().'/'.b:annot_file_path endif - let b:source_file_relative_path = expand('%') + let b:source_file_relative_path = s:Fnameescape(expand('%')) else " 3rd case : the _build directory is in a directory higher in the file hierarchy " (it can't be deeper by ocamlbuild requirements) @@ -325,9 +338,9 @@ endfunction let b:_build_path = finddir('_build',';') if b:_build_path != '' let project_path = substitute(b:_build_path,'/_build$','','') - let path_relative_to_project = substitute(expand('%:p:h'),project_path.'/','','') + let path_relative_to_project = s:Fnameescape(substitute(expand('%:p:h'),project_path.'/','','')) let b:annot_file_path = findfile(annot_file_name,project_path.'/_build/'.path_relative_to_project) - let b:source_file_relative_path = substitute(expand('%:p'),project_path.'/','','') + let b:source_file_relative_path = s:Fnameescape(substitute(expand('%:p'),project_path.'/','','')) else let b:annot_file_path = findfile(annot_file_name,'**') "4th case : what if the user decided to change the name of the _build directory ? @@ -339,7 +352,7 @@ endfunction let b:annot_file_path = getcwd().'/'.b:annot_file_path let b:_build_path = getcwd().'/'.b:_build_path endif - let b:source_file_relative_path = expand('%') + let b:source_file_relative_path = s:Fnameescape(expand('%')) else " 4b. anarchy : the renamed _build directory may be higher in the hierarchy " this will work if the file for which we are looking annotations has a unique name in the whole project @@ -380,16 +393,16 @@ endfunction set hidden let s:current_buf = bufname('%') if bufloaded(b:annot_file_path) - silent exe 'keepj keepalt' 'buffer' b:annot_file_path + silent exe 'keepj keepalt' 'buffer' s:Fnameescape(b:annot_file_path) else - silent exe 'keepj keepalt' 'view' b:annot_file_path + silent exe 'keepj keepalt' 'view' s:Fnameescape(b:annot_file_path) endif endfun " After call: " The original buffer has been restored in the exact same state as before. function! s:Exit_annotation_buffer() - silent exe 'keepj keepalt' 'buffer' s:current_buf + silent exe 'keepj keepalt' 'buffer' s:Fnameescape(s:current_buf) let &l:hidden = s:current_hidden call setpos('.',s:current_pos) endfun diff --git a/runtime/ftplugin/pamconf.vim b/runtime/ftplugin/pamconf.vim --- a/runtime/ftplugin/pamconf.vim +++ b/runtime/ftplugin/pamconf.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: pam(8) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/passwd.vim b/runtime/ftplugin/passwd.vim --- a/runtime/ftplugin/passwd.vim +++ b/runtime/ftplugin/passwd.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: passwd(5) password file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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= formatoptions-=tcroq formatoptions+=l + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/perl.vim b/runtime/ftplugin/perl.vim --- a/runtime/ftplugin/perl.vim +++ b/runtime/ftplugin/perl.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: Perl " Maintainer: Dan Sharp -" Last Change: 2007 Nov 30 +" Last Change: 17 Jul 2008 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin if exists("b:did_ftplugin") | finish | endif @@ -13,6 +13,7 @@ let s:save_cpo = &cpo set cpo-=C setlocal formatoptions+=crq +setlocal keywordprg=perldoc\ -f setlocal comments=:# setlocal commentstring=#%s @@ -63,7 +64,7 @@ let &l:path=perlpath "--------------------------------------------- " Undo the stuff we changed. -let b:undo_ftplugin = "setlocal fo< com< cms< inc< inex< def< isf<" . +let b:undo_ftplugin = "setlocal fo< com< cms< inc< inex< def< isf< kp<" . \ " | unlet! b:browsefilter" " Restore the saved compatibility options. diff --git a/runtime/ftplugin/pinfo.vim b/runtime/ftplugin/pinfo.vim --- a/runtime/ftplugin/pinfo.vim +++ b/runtime/ftplugin/pinfo.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: pinfo(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/procmail.vim b/runtime/ftplugin/procmail.vim --- a/runtime/ftplugin/procmail.vim +++ b/runtime/ftplugin/procmail.vim @@ -1,15 +1,21 @@ " Vim filetype plugin file " Language: procmail(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< inc< fo<" setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql let &l:include = '^\s*INCLUDERC\>' + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/prolog.vim b/runtime/ftplugin/prolog.vim --- a/runtime/ftplugin/prolog.vim +++ b/runtime/ftplugin/prolog.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: Prolog " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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=s1:/*,mb:*,ex:*/,:% commentstring=%\ %s setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/protocols.vim b/runtime/ftplugin/protocols.vim --- a/runtime/ftplugin/protocols.vim +++ b/runtime/ftplugin/protocols.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: protocols(5) - Internet protocols definition file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/quake.vim b/runtime/ftplugin/quake.vim --- a/runtime/ftplugin/quake.vim +++ b/runtime/ftplugin/quake.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: Quake[1-3] configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/racc.vim b/runtime/ftplugin/racc.vim --- a/runtime/ftplugin/racc.vim +++ b/runtime/ftplugin/racc.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: Racc input file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/readline.vim b/runtime/ftplugin/readline.vim --- a/runtime/ftplugin/readline.vim +++ b/runtime/ftplugin/readline.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: readline(3) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/rnc.vim b/runtime/ftplugin/rnc.vim --- a/runtime/ftplugin/rnc.vim +++ b/runtime/ftplugin/rnc.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: Relax NG compact syntax " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/rst.vim b/runtime/ftplugin/rst.vim --- a/runtime/ftplugin/rst.vim +++ b/runtime/ftplugin/rst.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: reStructuredText documentation format " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< et< fo<" setlocal comments=fb:.. commentstring=..\ %s expandtab setlocal formatoptions+=tcroql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/screen.vim b/runtime/ftplugin/screen.vim --- a/runtime/ftplugin/screen.vim +++ b/runtime/ftplugin/screen.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: screen(1) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/sensors.vim b/runtime/ftplugin/sensors.vim --- a/runtime/ftplugin/sensors.vim +++ b/runtime/ftplugin/sensors.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: sensors.conf(5) - libsensors configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/services.vim b/runtime/ftplugin/services.vim --- a/runtime/ftplugin/services.vim +++ b/runtime/ftplugin/services.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: services(5) - Internet network services list " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/setserial.vim b/runtime/ftplugin/setserial.vim --- a/runtime/ftplugin/setserial.vim +++ b/runtime/ftplugin/setserial.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: setserial(8) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/sieve.vim b/runtime/ftplugin/sieve.vim --- a/runtime/ftplugin/sieve.vim +++ b/runtime/ftplugin/sieve.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: Sieve filtering language input file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/slpconf.vim b/runtime/ftplugin/slpconf.vim --- a/runtime/ftplugin/slpconf.vim +++ b/runtime/ftplugin/slpconf.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: RFC 2614 - An API for Service Location configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/slpreg.vim b/runtime/ftplugin/slpreg.vim --- a/runtime/ftplugin/slpreg.vim +++ b/runtime/ftplugin/slpreg.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: RFC 2614 - An API for Service Location registration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/slpspi.vim b/runtime/ftplugin/slpspi.vim --- a/runtime/ftplugin/slpspi.vim +++ b/runtime/ftplugin/slpspi.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: RFC 2614 - An API for Service Location SPI file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/sshconfig.vim b/runtime/ftplugin/sshconfig.vim --- a/runtime/ftplugin/sshconfig.vim +++ b/runtime/ftplugin/sshconfig.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: OpenSSH client configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/sudoers.vim b/runtime/ftplugin/sudoers.vim --- a/runtime/ftplugin/sudoers.vim +++ b/runtime/ftplugin/sudoers.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: sudoers(5) configuration files " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/sysctl.vim b/runtime/ftplugin/sysctl.vim --- a/runtime/ftplugin/sysctl.vim +++ b/runtime/ftplugin/sysctl.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: sysctl.conf(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/terminfo.vim b/runtime/ftplugin/terminfo.vim --- a/runtime/ftplugin/terminfo.vim +++ b/runtime/ftplugin/terminfo.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: terminfo(5) definition " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/udevconf.vim b/runtime/ftplugin/udevconf.vim --- a/runtime/ftplugin/udevconf.vim +++ b/runtime/ftplugin/udevconf.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: udev(8) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/udevperm.vim b/runtime/ftplugin/udevperm.vim --- a/runtime/ftplugin/udevperm.vim +++ b/runtime/ftplugin/udevperm.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: udev(8) permissions file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/udevrules.vim b/runtime/ftplugin/udevrules.vim --- a/runtime/ftplugin/udevrules.vim +++ b/runtime/ftplugin/udevrules.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: udev(8) rules file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/updatedb.vim b/runtime/ftplugin/updatedb.vim --- a/runtime/ftplugin/updatedb.vim +++ b/runtime/ftplugin/updatedb.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: updatedb.conf(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/xdefaults.vim b/runtime/ftplugin/xdefaults.vim --- a/runtime/ftplugin/xdefaults.vim +++ b/runtime/ftplugin/xdefaults.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: X resources files like ~/.Xdefaults (xrdb) " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< inc< fo<" setlocal comments=s1:/*,mb:*,ex:*/,:! commentstring& inc& setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/xf86conf.vim b/runtime/ftplugin/xf86conf.vim --- a/runtime/ftplugin/xf86conf.vim +++ b/runtime/ftplugin/xf86conf.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: XFree86 Configuration File " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/xinetd.vim b/runtime/ftplugin/xinetd.vim --- a/runtime/ftplugin/xinetd.vim +++ b/runtime/ftplugin/xinetd.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: xinetd.conf(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< inc< fo<" setlocal comments=:# commentstring=#\ %s include=^\\s*include setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/xml.vim b/runtime/ftplugin/xml.vim --- a/runtime/ftplugin/xml.vim +++ b/runtime/ftplugin/xml.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: xml " Maintainer: Dan Sharp -" Last Changed: 2003 Sep 29 +" Last Changed: 30 Jun 2008 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin if exists("b:did_ftplugin") | finish | endif @@ -13,6 +13,13 @@ let s:save_cpo = &cpo set cpo-=C setlocal commentstring= +setlocal comments=s: + +setlocal formatoptions-=t +if !exists("g:ft_xml_autocomment") || (g:ft_xml_autocomment == 1) + setlocal formatoptions+=croql +endif + " XML: thanks to Johannes Zellner and Akbar Ibrahim " - case sensitive @@ -49,7 +56,7 @@ if has("gui_win32") endif " Undo the stuff we changed. -let b:undo_ftplugin = "setlocal cms<" . +let b:undo_ftplugin = "setlocal commentstring< comments< formatoptions<" . \ " | unlet! b:match_ignorecase b:match_words b:browsefilter" " Restore the saved compatibility options. diff --git a/runtime/ftplugin/xmodmap.vim b/runtime/ftplugin/xmodmap.vim --- a/runtime/ftplugin/xmodmap.vim +++ b/runtime/ftplugin/xmodmap.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: xmodmap(1) definition file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/yaml.vim b/runtime/ftplugin/yaml.vim --- a/runtime/ftplugin/yaml.vim +++ b/runtime/ftplugin/yaml.vim @@ -1,14 +1,20 @@ " Vim filetype plugin file " Language: YAML (YAML Ain't Markup Language) " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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< et< fo<" setlocal comments=:# commentstring=#\ %s expandtab setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/ftplugin/zsh.vim b/runtime/ftplugin/zsh.vim --- a/runtime/ftplugin/zsh.vim +++ b/runtime/ftplugin/zsh.vim @@ -1,13 +1,19 @@ " Vim filetype plugin file " Language: Zsh shell script " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2008-07-09 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 &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/indent/dtd.vim b/runtime/indent/dtd.vim new file mode 100644 --- /dev/null +++ b/runtime/indent/dtd.vim @@ -0,0 +1,325 @@ +" Vim indent file +" Language: DTD (Document Type Definition for XML) +" Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-18 + +let s:cpo_save = &cpo +set cpo&vim + +setlocal indentexpr=GetDTDIndent() +setlocal indentkeys=!^F,o,O,> +setlocal nosmartindent + +if exists("*GetDTDIndent") + finish +endif + +" TODO: Needs to be adjusted to stop at [, <, and ]. +let s:token_pattern = '^[^[:space:]]\+' + +function s:lex1(input, start, ...) + let pattern = a:0 > 0 ? a:1 : s:token_pattern + let start = matchend(a:input, '^\_s*', a:start) + if start == -1 + return ["", a:start] + endif + let end = matchend(a:input, pattern, start) + if end == -1 + return ["", a:start] + endif + let token = strpart(a:input, start, end - start) + return [token, end] +endfunction + +function s:lex(input, start, ...) + let pattern = a:0 > 0 ? a:1 : s:token_pattern + let info = s:lex1(a:input, a:start, pattern) + while info[0] == '--' + let info = s:lex1(a:input, info[1], pattern) + while info[0] != "" && info[0] != '--' + let info = s:lex1(a:input, info[1], pattern) + endwhile + if info[0] == "" + return info + endif + let info = s:lex1(a:input, info[1], pattern) + endwhile + return info +endfunction + +function s:indent_to_innermost_parentheses(line, end) + let token = '(' + let end = a:end + let parentheses = [end - 1] + while token != "" + let [token, end] = s:lex(a:line, end, '^\%([(),|]\|[A-Za-z0-9_-]\+\)[?*+]\=') + if token[0] == '(' + call add(parentheses, end - 1) + elseif token[0] == ')' + if len(parentheses) == 1 + return [-1, end] + endif + call remove(parentheses, -1) + endif + endwhile + return [parentheses[-1] - strridx(a:line, "\n", parentheses[-1]), end] +endfunction + +" TODO: Line and end could be script global (think OO members). +function GetDTDIndent() + if v:lnum == 1 + return 0 + endif + + " Begin by searching back for a " + return indent + endif + endwhile + return -1 + elseif declaration == 'ELEMENT' + " Check for element name. If none exists, indent one level. + let [name, end] = s:lex(line, end) + if name == "" + return indent + &sw + endif + + " Check for token following element name. This can be a specification of + " whether the start or end tag may be omitted. If nothing is found, indent + " one level. + let [token, end] = s:lex(line, end) + let n = 0 + while token =~ '[-O]' && n < 2 + let [token, end] = s:lex(line, end, '^\%([-O(]\|ANY\|EMPTY\)') + let n += 1 + endwhile + if token == "" + return indent + &sw + endif + + " Next comes the content model. If the token we’ve found isn’t a + " parenthesis it must be either ANY, EMPTY or some random junk. Either + " way, we’re done indenting this element, so set it to that of the first + " line so that the terminating “>†winds up having the same indention. + if token != '(' + return indent + endif + + " Now go through the content model. We need to keep track of the nesting + " of parentheses. As soon as we hit 0 we’re done. If that happens we must + " have a complete content model. Thus set indention to be the same as that + " of the first line so that the terminating “>†winds up having the same + " indention. Otherwise, we’ll indent to the innermost parentheses not yet + " matched. + let [indent_of_innermost, end] = s:indent_to_innermost_parentheses(line, end) + if indent_of_innermost != -1 + return indent_of_innermost + endif + + " Finally, look for any additions and/or exceptions to the content model. + " This is defined by a “+†or “-†followed by another content model + " declaration. + " TODO: Can the “-†be separated by whitespace from the “(â€? + let seen = { '+(': 0, '-(': 0 } + while 1 + let [additions_exceptions, end] = s:lex(line, end, '^[+-](') + if additions_exceptions != '+(' && additions_exceptions != '-(' + let [token, end] = s:lex(line, end) + if token == '>' + return indent + endif + " TODO: Should use s:lex here on getline(v:lnum) and check for >. + return getline(v:lnum) =~ '^\s*>' || count(values(seen), 0) == 0 ? indent : (indent + &sw) + endif + + " If we’ve seen an addition or exception already and this is of the same + " kind, the user is writing a broken DTD. Time to bail. + if seen[additions_exceptions] + return indent + endif + let seen[additions_exceptions] = 1 + + let [indent_of_innermost, end] = s:indent_to_innermost_parentheses(line, end) + if indent_of_innermost != -1 + return indent_of_innermost + endif + endwhile + elseif declaration == 'ATTLIST' + " Check for element name. If none exists, indent one level. + let [name, end] = s:lex(line, end) + if name == "" + return indent + &sw + endif + + " Check for any number of attributes. + while 1 + " Check for attribute name. If none exists, indent one level, unless the + " current line is a lone “>â€, in which case we indent to the same level + " as the first line. Otherwise, if the attribute name is “>â€, we have + " actually hit the end of the attribute list, in which case we indent to + " the same level as the first line. + let [name, end] = s:lex(line, end) + if name == "" + " TODO: Should use s:lex here on getline(v:lnum) and check for >. + return getline(v:lnum) =~ '^\s*>' ? indent : (indent + &sw) + elseif name == ">" + return indent + endif + + " Check for attribute value declaration. If none exists, indent two + " levels. Otherwise, if it’s an enumerated value, check for nested + " parentheses and indent to the innermost one if we don’t reach the end + " of the listc. Otherwise, just continue with looking for the default + " attribute value. + " TODO: Do validation of keywords + " (CDATA|NMTOKEN|NMTOKENS|ID|IDREF|IDREFS|ENTITY|ENTITIES)? + let [value, end] = s:lex(line, end, '^\%((\|[^[:space:]]\+\)') + if value == "" + return indent + &sw * 2 + elseif value == 'NOTATION' + " If this is a enumerated value based on notations, read another token + " for the actual value. If it doesn’t exist, indent three levels. + " TODO: If validating according to above, value must be equal to '('. + let [value, end] = s:lex(line, end, '^\%((\|[^[:space:]]\+\)') + if value == "" + return indent + &sw * 3 + endif + endif + + if value == '(' + let [indent_of_innermost, end] = s:indent_to_innermost_parentheses(line, end) + if indent_of_innermost != -1 + return indent_of_innermost + endif + endif + + " Finally look for the attribute’s default value. If non exists, indent + " two levels. + " TODO: Do validation of keywords (#REQUIRED|#IMPLIED)? + let [default, end] = s:lex(line, end, '^\%("\_[^"]*"\|[^[:space:]]\+\)') + if default == "" + return indent + &sw * 2 + elseif default == '#FIXED' + " We need to look for the fixed value. If non exists, indent three + " levels. + let [default, end] = s:lex(line, end, '^"\_[^"]*"') + if default == "" + return indent + &sw * 3 + endif + endif + endwhile + elseif declaration == 'ENTITY' + " Check for entity name. If none exists, indent one level. Otherwise, if + " the name actually turns out to be a percent sign, “%â€, this is a + " parameter entity. Read another token to determine the entity name and, + " again, if none exists, indent one level. + let [name, end] = s:lex(line, end) + if name == "" + return indent + &sw + elseif name == '%' + let [name, end] = s:lex(line, end) + if name == "" + return indent + &sw + endif + endif + + " Now check for the entity value. If none exists, indent one level. If it + " does exist, indent to same level as first line, as we’re now done with + " this entity. + " + " The entity value can be a string in single or double quotes (no escapes + " to worry about, as entities are used instead). However, it can also be + " that this is an external unparsed entity. In that case we have to look + " further for (possibly) a public ID and an URI followed by the NDATA + " keyword and the actual notation name. For the public ID and URI, indent + " two levels, if they don’t exist. If the NDATA keyword doesn’t exist, + " indent one level. Otherwise, if the actual notation name doesn’t exist, + " indent two level. If it does, indent to same level as first line, as + " we’re now done with this entity. + let [value, end] = s:lex(line, end) + if value == "" + return indent + &sw + elseif value == 'SYSTEM' || value == 'PUBLIC' + let [quoted_string, end] = s:lex(line, end, '\%("[^"]\+"\|''[^'']\+''\)') + if quoted_string == "" + return indent + &sw * 2 + endif + + if value == 'PUBLIC' + let [quoted_string, end] = s:lex(line, end, '\%("[^"]\+"\|''[^'']\+''\)') + if quoted_string == "" + return indent + &sw * 2 + endif + endif + + let [ndata, end] = s:lex(line, end) + if ndata == "" + return indent + &sw + endif + + let [name, end] = s:lex(line, end) + return name == "" ? (indent + &sw * 2) : indent + else + return indent + endif + elseif declaration == 'NOTATION' + " Check for notation name. If none exists, indent one level. + let [name, end] = s:lex(line, end) + if name == "" + return indent + &sw + endif + + " Now check for the external ID. If none exists, indent one level. + let [id, end] = s:lex(line, end) + if id == "" + return indent + &sw + elseif id == 'SYSTEM' || id == 'PUBLIC' + let [quoted_string, end] = s:lex(line, end, '\%("[^"]\+"\|''[^'']\+''\)') + if quoted_string == "" + return indent + &sw * 2 + endif + + if id == 'PUBLIC' + let [quoted_string, end] = s:lex(line, end, '\%("[^"]\+"\|''[^'']\+''\|>\)') + if quoted_string == "" + " TODO: Should use s:lex here on getline(v:lnum) and check for >. + return getline(v:lnum) =~ '^\s*>' ? indent : (indent + &sw * 2) + elseif quoted_string == '>' + return indent + endif + endif + endif + + return indent + endif + + " TODO: Processing directives could be indented I suppose. But perhaps it’s + " just as well to let the user decide how to indent them (perhaps extending + " this function to include proper support for whatever processing directive + " language they want to use). + + " Conditional sections are simply passed along to let Vim decide what to do + " (and hence the user). + return -1 +endfunction + +let &cpo = s:cpo_save diff --git a/runtime/indent/framescript.vim b/runtime/indent/framescript.vim new file mode 100644 --- /dev/null +++ b/runtime/indent/framescript.vim @@ -0,0 +1,41 @@ +" Vim indent file +" Language: FrameScript +" Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-19 + +if exists("b:did_indent") + finish +endif +let b:did_indent = 1 + +setlocal indentexpr=GetFrameScriptIndent() +setlocal indentkeys=!^F,o,O,0=~Else,0=~EndIf,0=~EndLoop,0=~EndSub +setlocal nosmartindent + +if exists("*GetFrameScriptIndent") + finish +endif + +function GetFrameScriptIndent() + let lnum = prevnonblank(v:lnum - 1) + + if lnum == 0 + return 0 + endif + + if getline(v:lnum) =~ '^\s*\*' + return cindent(v:lnum) + endif + + let ind = indent(lnum) + + if getline(lnum) =~? '^\s*\%(If\|Loop\|Sub\)' + let ind = ind + &sw + endif + + if getline(v:lnum) =~? '^\s*\%(Else\|End\%(If\|Loop\|Sub\)\)' + let ind = ind - &sw + endif + + return ind +endfunction diff --git a/runtime/plugin/netrwPlugin.vim b/runtime/plugin/netrwPlugin.vim --- a/runtime/plugin/netrwPlugin.vim +++ b/runtime/plugin/netrwPlugin.vim @@ -1,9 +1,9 @@ " netrwPlugin.vim: Handles file transfer and remote directory listing across a network " PLUGIN SECTION -" Date: Apr 07, 2008 +" Date: Aug 01, 2008 " Maintainer: Charles E Campbell, Jr " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim -" Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1 +" Copyright: Copyright (C) 1999-2008 Charles E. Campbell, Jr. {{{1 " Permission is hereby granted to use and distribute this code, " with or without modifications, provided that this copyright " notice is copied with it. Like anything else that's free, @@ -22,7 +22,7 @@ if &cp || exists("g:loaded_netrwPlugin") finish endif -let g:loaded_netrwPlugin = "v127" +let g:loaded_netrwPlugin = "v131" let s:keepcpo = &cpo if v:version < 700 echohl WarningMsg | echo "***netrw*** you need vim version 7.0 for this version of netrw" | echohl None @@ -47,19 +47,19 @@ augroup END augroup Network au! if has("win32") || has("win95") || has("win64") || has("win16") - au BufReadCmd file://* exe "silent doau BufReadPre ".netrw#RFC2396(expand(""))|exe 'e '.substitute(netrw#RFC2396(expand("")),'file://\(.*\)','\1',"")|exe "bwipe ".expand("")|exe "silent doau BufReadPost ".netrw#RFC2396(expand("")) + au BufReadCmd file://* exe "silent doau BufReadPre ".fnameescape(netrw#RFC2396(expand("")))|exe 'e '.fnameescape(substitute(netrw#RFC2396(expand("")),'file://\(.*\)','\1',""))|exe "bwipe ".fnameescape(expand(""))|exe "silent doau BufReadPost ".fnameescape(netrw#RFC2396(expand(""))) else - au BufReadCmd file://* exe "silent doau BufReadPre ".netrw#RFC2396(expand(""))|exe 'e '.substitute(netrw#RFC2396(expand("")),'file://\(.*\)','\1',"")|exe "bwipe ".expand("")|exe "silent doau BufReadPost ".netrw#RFC2396(expand("")) - au BufReadCmd file://localhost/* exe "silent doau BufReadPre ".netrw#RFC2396(expand(""))|exe 'e '.substitute(netrw#RFC2396(expand("")),'file://localhost/\(.*\)','\1',"")|exe "bwipe ".substitute(expand(""),'file://\(\k\+@\)\=','','')|exe "silent doau BufReadPost ".netrw#RFC2396(expand("")) + au BufReadCmd file://* exe "silent doau BufReadPre ".fnameescape(netrw#RFC2396(expand("")))|exe 'e '.fnameescape(substitute(netrw#RFC2396(expand("")),'file://\(.*\)','\1',""))|exe "bwipe ".fnameescape(expand(""))|exe "silent doau BufReadPost ".fnameescape(netrw#RFC2396(expand(""))) + au BufReadCmd file://localhost/* exe "silent doau BufReadPre ".fnameescape(netrw#RFC2396(expand("")))|exe 'e '.fnameescape(substitute(netrw#RFC2396(expand("")),'file://localhost/\(.*\)','\1',""))|exe "bwipe ".fnameescape(substitute(expand(""),'file://\(\k\+@\)\=','',''))|exe "silent doau BufReadPost ".fnameescape(netrw#RFC2396(expand(""))) endif - au BufReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau BufReadPre ".expand("")|exe '2Nread "'.expand("").'"'|exe "silent doau BufReadPost ".expand("") - au FileReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau FileReadPre ".expand("")|exe 'Nread "' .expand("").'"'|exe "silent doau FileReadPost ".expand("") - au BufWriteCmd ftp://*,rcp://*,scp://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau BufWritePre ".expand("")|exe 'Nwrite "' .expand("").'"'|exe "silent doau BufWritePost ".expand("") - au FileWriteCmd ftp://*,rcp://*,scp://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau FileWritePre ".expand("")|exe "'[,']".'Nwrite "' .expand("").'"'|exe "silent doau FileWritePost ".expand("") + au BufReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau BufReadPre ".fnameescape(expand(""))|exe '2Nread '.fnameescape(expand(""))|exe "silent doau BufReadPost ".fnameescape(expand("")) + au FileReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau FileReadPre ".fnameescape(expand(""))|exe 'Nread '.fnameescape(expand(""))|exe "silent doau FileReadPost ".fnameescape(expand("")) + au BufWriteCmd ftp://*,rcp://*,scp://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "silent doau BufWritePost ".fnameescape(expand("")) + au FileWriteCmd ftp://*,rcp://*,scp://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "silent doau FileWritePost ".fnameescape(expand("")) try - au SourceCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe 'Nsource "'.expand("").'"' + au SourceCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe 'Nsource '.fnameescape(expand("")) catch /^Vim\%((\a\+)\)\=:E216/ - au SourcePre ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe 'Nsource "'.expand("").'"' + au SourcePre ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe 'Nsource '.fnameescape(expand("")) endtry augroup END diff --git a/runtime/plugin/tarPlugin.vim b/runtime/plugin/tarPlugin.vim --- a/runtime/plugin/tarPlugin.vim +++ b/runtime/plugin/tarPlugin.vim @@ -14,7 +14,7 @@ if &cp || exists("g:loaded_tarPlugin") finish endif -let g:loaded_tarPlugin = "v19" +let g:loaded_tarPlugin = "v20" let s:keepcpo = &cpo set cpo&vim diff --git a/runtime/plugin/vimballPlugin.vim b/runtime/plugin/vimballPlugin.vim --- a/runtime/plugin/vimballPlugin.vim +++ b/runtime/plugin/vimballPlugin.vim @@ -16,7 +16,7 @@ if &cp || exists("g:loaded_vimballPlugin") finish endif -let g:loaded_vimballPlugin = "v27" +let g:loaded_vimballPlugin = "v29" let s:keepcpo = &cpo set cpo&vim diff --git a/runtime/plugin/zipPlugin.vim b/runtime/plugin/zipPlugin.vim --- a/runtime/plugin/zipPlugin.vim +++ b/runtime/plugin/zipPlugin.vim @@ -20,16 +20,7 @@ if &cp || exists("g:loaded_zipPlugin") finish endif - -" Don't use the plugin if fnameescape() is not available -if !exists("*fnameescape") - if &verbose > 1 - echoerr "zipPlugin not loaded because fnameescape() is not available" - endif - finish -endif - -let g:loaded_zipPlugin = "v21+b" +let g:loaded_zipPlugin = "v22" let s:keepcpo = &cpo set cpo&vim diff --git a/runtime/scripts.vim b/runtime/scripts.vim --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -1,7 +1,7 @@ " Vim support file to detect file types in scripts " " Maintainer: Bram Moolenaar -" Last change: 2008 Jun 30 +" Last change: 2008 Jul 17 " This file is called by an autocommand for every file that has just been " loaded into a buffer. It checks if the type of file can be recognized by @@ -276,6 +276,7 @@ else " Strace elseif s:line1 =~ '^[0-9]* *execve(' + elseif s:line1 =~ '^\(\[pid \d\+\] \)\=[0-9:.]* *execve(' || s:line1 =~ '^__libc_start_main' set ft=strace " VSE JCL diff --git a/runtime/spell/pt/main.aap b/runtime/spell/pt/main.aap --- a/runtime/spell/pt/main.aap +++ b/runtime/spell/pt/main.aap @@ -1,5 +1,5 @@ # Aap recipe for Portuguese Vim spell files. -# +# See ftp://ftp.vim.org/pub/vim/runtime/spell/README.txt # Use a freshly compiled Vim if it exists. @if os.path.exists('../../../src/vim'): diff --git a/runtime/spell/pt/pt_BR.diff b/runtime/spell/pt/pt_BR.diff --- a/runtime/spell/pt/pt_BR.diff +++ b/runtime/spell/pt/pt_BR.diff @@ -14,7 +14,7 @@ --- 13,32 ---- + NAME Brazilian Portuguese -+ VERSION 20080221V ++ VERSION 2008-07-07V + HOME http://www.broffice.org/verortografico + AUTHOR Raimundo Santos Moura + EMAIL raimundomoura AT openoffice DOT org diff --git a/runtime/spell/pt/pt_PT.diff b/runtime/spell/pt/pt_PT.diff --- a/runtime/spell/pt/pt_PT.diff +++ b/runtime/spell/pt/pt_PT.diff @@ -10,7 +10,7 @@ SET ISO8859-1 + NAME European Portuguese -+ VERSION 2008-03-20 ++ VERSION 2008-07-05 + HOME http://natura.di.uminho.pt/ + AUTHOR Rui Vilela + EMAIL ruivilela AT di DOT uminho DOT pt diff --git a/runtime/syntax/2html.vim b/runtime/syntax/2html.vim --- a/runtime/syntax/2html.vim +++ b/runtime/syntax/2html.vim @@ -1,6 +1,6 @@ " Vim syntax support file " Maintainer: Bram Moolenaar -" Last Change: 2007 Aug 31 +" Last Change: 2008 Jul 17 " (modified by David Ne\v{c}as (Yeti) ) " (XHTML support by Panagiotis Issaris ) " (made w3 compliant by Edd Barrett ) @@ -238,7 +238,7 @@ let s:LeadingSpace = ' ' let s:HtmlEndline = '' if exists("html_no_pre") let s:HtmlEndline = ' -" Latest Revision: 2007-06-01 +" Latest Revision: 2008-06-22 if exists("b:current_syntax") finish @@ -246,6 +246,15 @@ syn keyword autohotkeyBoolean \ true \ false +" TODO: Shouldn't we look for g:, b:, variables before defaulting to +" something? +if exists("g:autohotkey_syntax_sync_minlines") + let b:autohotkey_syntax_sync_minlines = g:autohotkey_syntax_sync_minlines +else + let b:autohotkey_syntax_sync_minlines = 50 +endif +exec "syn sync ccomment autohotkeyComment minlines=" . b:autohotkey_syntax_sync_minlines + hi def link autohotkeyTodo Todo hi def link autohotkeyComment Comment hi def link autohotkeyCommentStart autohotkeyComment diff --git a/runtime/syntax/bzr.vim b/runtime/syntax/bzr.vim --- a/runtime/syntax/bzr.vim +++ b/runtime/syntax/bzr.vim @@ -4,7 +4,7 @@ " URL: http://www.hlabs.spb.ru/vim/bzr.vim " Revision: $Id$ " Filenames: bzr_log.* -" Version: 1.0 +" Version: 1.1 " For version 5.x: Clear all syntax items. " For version 6.x: Quit when a syntax file was already loaded. @@ -14,7 +14,7 @@ elseif exists("b:current_syntax") finish endif -syn region bzrRegion start="^-\{14} This line and the following will be ignored -\{14}$" end="\%$" contains=ALL +syn region bzrRegion start="^-\{14} This line and the following will be ignored -\{14}$" end="\%$" contains=ALL contains=@NoSpell syn match bzrRemoved "^removed:$" contained syn match bzrAdded "^added:$" contained syn match bzrRenamed "^renamed:$" contained diff --git a/runtime/syntax/doxygen.vim b/runtime/syntax/doxygen.vim --- a/runtime/syntax/doxygen.vim +++ b/runtime/syntax/doxygen.vim @@ -1,11 +1,11 @@ " DoxyGen syntax hilighting extension for c/c++/idl/java -" Language: doxygen on top of c, cpp, idl, java +" Language: doxygen on top of c, cpp, idl, java, php " Maintainer: Michael Geddes " Author: Michael Geddes -" Last Change: April 2007 -" Version: 1.20 +" Last Change: July 2008 +" Version: 1.22 " -" Copyright 2004-2006 Michael Geddes +" Copyright 2004-2008 Michael Geddes " Please feel free to use, modify & distribute all or part of this script, " providing this copyright message remains. " I would appreciate being acknowledged in any derived scripts, and would @@ -30,12 +30,14 @@ " also be set to any highlight attribute. Alternatively, a highlight for doxygenCodeWord " can be used to override it. " -" By default, highlighting is done assumng you have the JAVADOC_AUTOBRIEF +" By default, highlighting is done assuming you have the JAVADOC_AUTOBRIEF " setting turned on in your Doxygen configuration. If you don't, you " can set the variable g:doxygen_javadoc_autobrief to 0 to have the " highlighting more accurately reflect the way Doxygen will interpret your " comments. " +" Support for cpp, c, idl, doxygen and php. +" " Special thanks to: Wu Yongwei, Toby Allsopp " @@ -56,10 +58,10 @@ try " " C/C++ Style line comments - syn region doxygenComment start=+/\*\(\*/\)\@![*!]+ end=+\*/+ contains=doxygenSyncStart,doxygenStart,doxygenTODO keepend fold - syn region doxygenCommentL start=+//[/!]<\@!+me=e-1 end=+$+ contains=doxygenStartL keepend skipwhite skipnl nextgroup=doxygenComment2 fold - syn region doxygenCommentL start=+//[/!]<+me=e-2 end=+$+ contains=doxygenStartL keepend skipwhite skipnl fold - syn region doxygenCommentL start=+//@\ze[{}]+ end=+$+ contains=doxygenGroupDefine,doxygenGroupDefineSpecial fold + syn region doxygenComment start=+/\*\(\*/\)\@![*!]+ end=+\*/+ contains=doxygenSyncStart,doxygenStart,doxygenTODO keepend fold containedin=phpRegion + syn region doxygenCommentL start=+//[/!]<\@!+me=e-1 end=+$+ contains=doxygenStartL,@Spell keepend skipwhite skipnl nextgroup=doxygenComment2 fold containedin=phpRegion + syn region doxygenCommentL start=+//[/!]<+me=e-2 end=+$+ contains=doxygenStartL,@Spell keepend skipwhite skipnl fold containedin=phpRegion + syn region doxygenCommentL start=+//@\ze[{}]+ end=+$+ contains=doxygenGroupDefine,doxygenGroupDefineSpecial,@Spell fold containedin=phpRegion " Single line brief followed by multiline comment. syn region doxygenComment2 start=+/\*\(\*/\)\@![*!]+ end=+\*/+ contained contains=doxygenSyncStart2,doxygenStart2,doxygenTODO keepend fold @@ -98,7 +100,7 @@ try " This helps with sync-ing as for some reason, syncing behaves differently to a normal region, and the start pattern does not get matched. syn match doxygenSyncStart +\ze[^*/]+ contained nextgroup=doxygenBrief,doxygenPrev,doxygenStartSpecial,doxygenFindBriefSpecial,doxygenStartSkip,doxygenPage skipwhite skipnl - syn region doxygenBriefLine contained start=+\<\k+ end=+\(\n\s*\*\=\s*\([@\\]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\@!\)\|\s*$\)\@=+ contains=doxygenContinueComment,doxygenFindBriefSpecial,doxygenSmallSpecial,@doxygenHtmlGroup,doxygenTODO,doxygenHyperLink,doxygenHashLink skipwhite keepend + syn region doxygenBriefLine contained start=+\<\k+ end=+\(\n\s*\*\=\s*\([@\\]\([npcbea]\>\|em\>\|ref\>\|link\>\|f\$\|[$\\&<>#]\)\@!\)\|\s*$\)\@=+ contains=doxygenContinueComment,doxygenFindBriefSpecial,doxygenSmallSpecial,@doxygenHtmlGroup,doxygenTODO,doxygenHyperLink,doxygenHashLink,@Spell skipwhite keepend " Match a '<' for applying a comment to the previous element. syn match doxygenPrev +<+ contained nextgroup=doxygenBrief,doxygenBody,doxygenSpecial,doxygenStartSkip skipwhite diff --git a/runtime/syntax/forth.vim b/runtime/syntax/forth.vim --- a/runtime/syntax/forth.vim +++ b/runtime/syntax/forth.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: FORTH " Maintainer: Christian V. J. Brüssow -" Last Change: Sa 14 Jul 2007 21:39:53 CEST +" Last Change: Sa 09 Feb 2008 13:27:29 CET " Filenames: *.fs,*.ft " URL: http://www.cvjb.de/comp/vim/forth.vim @@ -10,9 +10,17 @@ " The list of keywords is incomplete, compared with the offical ANS " wordlist. If you use this language, please improve it, and send me " the patches. +" +" Before sending me patches, please download the newest version of this file +" from http://www.cvjb.de/comp/vim/forth.vim or http://www.vim.org/ (search +" for forth.vim). " Many Thanks to... " +" 2008-02-09: +" Shawn K. Quinn send a big patch with +" new words commonly used in Forth programs or defined by GNU Forth. +" " 2007-07-11: " Benjamin Krill send me a patch " to highlight space errors. @@ -79,7 +87,7 @@ syn keyword forthTodo contained TODO FIX syn match forthTodo contained 'Copyright\(\s([Cc])\)\=\(\s[0-9]\{2,4}\)\=' " Characters allowed in keywords -" I don't know if 128-255 are allowed in ANS-FORHT +" I don't know if 128-255 are allowed in ANS-FORTH if version >= 600 setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255 else @@ -100,21 +108,27 @@ endif " basic mathematical and logical operators syn keyword forthOperators + - * / MOD /MOD NEGATE ABS MIN MAX -syn keyword forthOperators AND OR XOR NOT INVERT 2* 2/ 1+ 1- 2+ 2- 8* +syn keyword forthOperators AND OR XOR NOT LSHIFT RSHIFT INVERT 2* 2/ 1+ +syn keyword forthOperators 1- 2+ 2- 8* UNDER+ syn keyword forthOperators M+ */ */MOD M* UM* M*/ UM/MOD FM/MOD SM/REM -syn keyword forthOperators D+ D- DNEGATE DABS DMIN DMAX +syn keyword forthOperators D+ D- DNEGATE DABS DMIN DMAX D2* D2/ syn keyword forthOperators F+ F- F* F/ FNEGATE FABS FMAX FMIN FLOOR FROUND syn keyword forthOperators F** FSQRT FEXP FEXPM1 FLN FLNP1 FLOG FALOG FSIN syn keyword forthOperators FCOS FSINCOS FTAN FASIN FACOS FATAN FATAN2 FSINH -syn keyword forthOperators FCOSH FTANH FASINH FACOSH FATANH -syn keyword forthOperators 0< 0<= 0<> 0= 0> 0>= < <= <> = > >= -syn keyword forthOperators ?NEGATE ?DNEGATE +syn keyword forthOperators FCOSH FTANH FASINH FACOSH FATANH F2* F2/ 1/F +syn keyword forthOperators F~REL F~ABS F~ +syn keyword forthOperators 0< 0<= 0<> 0= 0> 0>= < <= <> = > >= U< U<= +syn keyword forthOperators U> U>= D0< D0<= D0<> D0= D0> D0>= D< D<= D<> +syn keyword forthOperators D= D> D>= DU< DU<= DU> DU>= WITHIN ?NEGATE +syn keyword forthOperators ?DNEGATE " stack manipulations syn keyword forthStack DROP NIP DUP OVER TUCK SWAP ROT -ROT ?DUP PICK ROLL -syn keyword forthStack 2DROP 2NIP 2DUP 2OVER 2TUCK 2SWAP 2ROT -syn keyword forthStack 3DUP 4DUP +syn keyword forthStack 2DROP 2NIP 2DUP 2OVER 2TUCK 2SWAP 2ROT 2-ROT +syn keyword forthStack 3DUP 4DUP 5DUP 3DROP 4DROP 5DROP 8DROP 4SWAP 4ROT +syn keyword forthStack 4-ROT 4TUCK 8SWAP 8DUP syn keyword forthRStack >R R> R@ RDROP 2>R 2R> 2R@ 2RDROP +syn keyword forthRstack 4>R 4R> 4R@ 4RDROP syn keyword forthFStack FDROP FNIP FDUP FOVER FTUCK FSWAP FROT " stack pointer manipulations @@ -139,24 +153,40 @@ syn keyword forthLoop ?DO LOOP I J K +DO syn keyword forthLoop UNLOOP LEAVE ?LEAVE EXIT DONE FOR NEXT " new words +syn match forthClassDef '\<:class\s*[^ \t]\+\>' +syn match forthObjectDef '\<:object\s*[^ \t]\+\>' syn match forthColonDef '\<:m\?\s*[^ \t]\+\>' syn keyword forthEndOfColonDef ; ;M ;m -syn keyword forthDefine CONSTANT 2CONSTANT FCONSTANT VARIABLE 2VARIABLE CREATE -syn keyword forthDefine USER VALUE TO DEFER IS DOES> IMMEDIATE COMPILE-ONLY -syn keyword forthDefine COMPILE RESTRICT INTERPRET POSTPONE EXECUTE LITERAL -syn keyword forthDefine CREATE-INTERPRET/COMPILE INTERPRETATION> INT NAME?INT NAME>COMP NAME>STRING STATE -syn keyword forthDefine C; CVARIABLE +syn keyword forthEndOfClassDef ;class +syn keyword forthEndOfObjectDef ;object +syn keyword forthDefine CONSTANT 2CONSTANT FCONSTANT VARIABLE 2VARIABLE +syn keyword forthDefine FVARIABLE CREATE USER VALUE TO DEFER IS DOES> IMMEDIATE +syn keyword forthDefine COMPILE-ONLY COMPILE RESTRICT INTERPRET POSTPONE EXECUTE +syn keyword forthDefine LITERAL CREATE-INTERPRET/COMPILE INTERPRETATION> +syn keyword forthDefine INT NAME?INT NAME>COMP +syn keyword forthDefine NAME>STRING STATE C; CVARIABLE +syn keyword forthDefine , 2, F, C, +syn match forthDefine "\[IFDEF]" +syn match forthDefine "\[IFUNDEF]" +syn match forthDefine "\[THEN]" +syn match forthDefine "\[ENDIF]" +syn match forthDefine "\[ELSE]" +syn match forthDefine "\[?DO]" +syn match forthDefine "\[DO]" +syn match forthDefine "\[LOOP]" +syn match forthDefine "\[+LOOP]" +syn match forthDefine "\[NEXT]" +syn match forthDefine "\[BEGIN]" +syn match forthDefine "\[UNTIL]" +syn match forthDefine "\[AGAIN]" +syn match forthDefine "\[WHILE]" +syn match forthDefine "\[REPEAT]" syn match forthDefine "\[COMP']" syn match forthDefine "'" syn match forthDefine '\<\[\>' syn match forthDefine "\[']" syn match forthDefine '\[COMPILE]' -syn match forthClassDef '\<:class\s*[^ \t]\+\>' -syn match forthObjectDef '\<:object\s*[^ \t]\+\>' -syn keyword forthEndOfClassDef ';class' -syn keyword forthEndOfObjectDef ';object' " debugging syn keyword forthDebug PRINTDEBUGDATA PRINTDEBUGLINE @@ -175,27 +205,48 @@ syn match forthCharOps '\<\[char\]\s\S\s syn region forthCharOps start=+."\s+ skip=+\\"+ end=+"+ " char-number conversion -syn keyword forthConversion <# # #> #S (NUMBER) (NUMBER?) CONVERT D>F D>S DIGIT -syn keyword forthConversion DPL F>D HLD HOLD NUMBER S>D SIGN >NUMBER +syn keyword forthConversion <<# <# # #> #>> #S (NUMBER) (NUMBER?) CONVERT D>F +syn keyword forthConversion D>S DIGIT DPL F>D HLD HOLD NUMBER S>D SIGN >NUMBER +syn keyword forthConversion F>S S>F " interptreter, wordbook, compiler syn keyword forthForth (LOCAL) BYE COLD ABORT >BODY >NEXT >LINK CFA >VIEW HERE syn keyword forthForth PAD WORDS VIEW VIEW> N>LINK NAME> LINK> L>NAME FORGET -syn keyword forthForth BODY> +syn keyword forthForth BODY> ASSERT( ASSERT0( ASSERT1( ASSERT2( ASSERT3( ) syn region forthForth start=+ABORT"\s+ skip=+\\"+ end=+"+ " vocabularies syn keyword forthVocs ONLY FORTH ALSO ROOT SEAL VOCS ORDER CONTEXT #VOCS syn keyword forthVocs VOCABULARY DEFINITIONS +" File keywords +syn keyword forthFileMode R/O R/W W/O BIN +syn keyword forthFileWords OPEN-FILE CREATE-FILE CLOSE-FILE DELETE-FILE +syn keyword forthFileWords RENAME-FILE READ-FILE READ-LINE KEY-FILE +syn keyword forthFileWords KEY?-FILE WRITE-FILE WRITE-LINE EMIT-FILE +syn keyword forthFileWords FLUSH-FILE FILE-STATUS FILE-POSITION +syn keyword forthFileWords REPOSITION-FILE FILE-SIZE RESIZE-FILE +syn keyword forthFileWords SLURP-FILE SLURP-FID STDIN STDOUT STDERR +syn keyword forthBlocks OPEN-BLOCKS USE LOAD --> BLOCK-OFFSET +syn keyword forthBlocks GET-BLOCK-FID BLOCK-POSITION LIST SCR BLOCK +syn keyword forthBlocks BUFER EMPTY-BUFFERS EMPTY-BUFFER UPDATE UPDATED? +syn keyword forthBlocks SAVE-BUFFERS SAVE-BUFFER FLUSH THRU +LOAD +THRU +syn keyword forthBlocks BLOCK-INCLUDED + " numbers syn keyword forthMath DECIMAL HEX BASE syn match forthInteger '\<-\=[0-9.]*[0-9.]\+\>' +syn match forthInteger '\<&-\=[0-9.]*[0-9.]\+\>' " recognize hex and binary numbers, the '$' and '%' notation is for gforth syn match forthInteger '\<\$\x*\x\+\>' " *1* --- dont't mess syn match forthInteger '\<\x*\d\x*\>' " *2* --- this order! syn match forthInteger '\<%[0-1]*[0-1]\+\>' -syn match forthFloat '\<-\=\d*[.]\=\d\+[Ee]\d\+\>' +syn match forthFloat '\<-\=\d*[.]\=\d\+[DdEe]\d\+\>' +syn match forthFloat '\<-\=\d*[.]\=\d\+[DdEe][-+]\d\+\>' + +" XXX If you find this overkill you can remove it. this has to come after the +" highlighting for numbers otherwise it has no effect. +syn region forthComment start='0 \[if\]' end='\[endif\]' end='\[then\]' contains=forthTodo " Strings syn region forthString start=+\.*\"+ end=+"+ end=+$+ @@ -212,9 +263,15 @@ syn region forthComment start='/\*' end= " Include files syn match forthInclude '^INCLUDE\s\+\k\+' +syn match forthInclude '^require\s\+\k\+' syn match forthInclude '^fload\s\+' syn match forthInclude '^needs\s\+' +" Locals definitions +syn region forthLocals start='{\s' start='{$' end='\s}' end='^}' +syn match forthLocals '{ }' " otherwise, at least two spaces between +syn region forthDeprecated start='locals|' end='|' + " Define the default highlighting. " For version 5.7 and earlier: only when not done already " For version 5.8 and later: only when an item doesn't have highlighting yet @@ -257,6 +314,11 @@ if version >= 508 || !exists("did_forth_ HiLink forthObjectDef Define HiLink forthEndOfObjectDef Define HiLink forthInclude Include + HiLink forthLocals Type " nothing else uses type and locals must stand out + HiLink forthDeprecated Error " if you must, change to Type + HiLink forthFileMode Function + HiLink forthFileWords Statement + HiLink forthBlocks Statement HiLink forthSpaceError Error delcommand HiLink diff --git a/runtime/syntax/mailaliases.vim b/runtime/syntax/mailaliases.vim --- a/runtime/syntax/mailaliases.vim +++ b/runtime/syntax/mailaliases.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: aliases(5) local alias database file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-01-14 +" Latest Revision: 2008-04-14 if exists("b:current_syntax") finish @@ -19,7 +19,7 @@ syn match mailaliasesBegin disp \ nextgroup=mailaliasesName, \ mailaliasesComment -syn match mailaliasesName contained '[0-9A-Za-z_-]\+' +syn match mailaliasesName contained '[[:alnum:]\._-]\+' \ nextgroup=mailaliasesColon syn region mailaliasesName contained oneline start=+"+ diff --git a/runtime/syntax/make.vim b/runtime/syntax/make.vim --- a/runtime/syntax/make.vim +++ b/runtime/syntax/make.vim @@ -2,7 +2,7 @@ " Language: Makefile " Maintainer: Claudio Fleiner " URL: http://www.fleiner.com/vim/syntax/make.vim -" Last Change: 2007 Apr 30 +" Last Change: 2008 Aug 04 " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded @@ -63,7 +63,7 @@ syn match makeCmdNextLine "\\\n."he=e-1 " Statements / Functions (GNU make) -syn match makeStatement contained "(\(subst\|addprefix\|addsuffix\|basename\|call\|dir\|error\|eval\|filter-out\|filter\|findstring\|firstword\|foreach\|if\|join\|notdir\|origin\|patsubst\|shell\|sort\|strip\|suffix\|warning\|wildcard\|word\|wordlist\|words\)\>"ms=s+1 +syn match makeStatement contained "(\(subst\|abspath\|addprefix\|addsuffix\|and\|basename\|call\|dir\|error\|eval\|filter-out\|filter\|findstring\|firstword\|flavor\|foreach\|if\|info\|join\|lastword\|notdir\|or\|origin\|patsubst\|realpath\|shell\|sort\|strip\|suffix\|value\|warning\|wildcard\|word\|wordlist\|words\)\>"ms=s+1 " Comment if exists("make_microsoft") diff --git a/runtime/syntax/modconf.vim b/runtime/syntax/modconf.vim --- a/runtime/syntax/modconf.vim +++ b/runtime/syntax/modconf.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: modules.conf(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2007-06-17 +" Latest Revision: 2007-10-25 if exists("b:current_syntax") finish @@ -21,7 +21,7 @@ syn keyword modconfConditional if else syn keyword modconfPreProc alias define include keep prune \ post-install post-remove pre-install - \ pre-remove persistdir + \ pre-remove persistdir blacklist syn keyword modconfKeyword add above below install options probe probeall \ remove diff --git a/runtime/syntax/natural.vim b/runtime/syntax/natural.vim --- a/runtime/syntax/natural.vim +++ b/runtime/syntax/natural.vim @@ -1,205 +1,209 @@ " Vim syntax file " -" Language: NATURAL -" Version: 2.0.26.17 -" Maintainer: Marko Leipert -" Last Changed: 2002-02-28 09:50:36 -" Support: http://www.winconsole.de/vim/syntax.html +" Language: NATURAL +" Version: 2.1.0.3 +" Maintainer: Marko von Oppen +" Last Changed: 2008-07-29 01:40:52 +" Support: http://www.von-oppen.com/ " For version 5.x: Clear all syntax items " For version 6.x: Quit when this syntax file was already loaded if v:version < 600 - syntax clear - set iskeyword+=-,*,#,+,_,/ + syntax clear + set iskeyword+=-,*,#,+,_,/ elseif exists("b:current_syntax") - finish + finish else - setlocal iskeyword+=-,*,#,+,_,/ + setlocal iskeyword+=-,*,#,+,_,/ endif " NATURAL is case insensitive syntax case ignore " preprocessor -syn keyword naturalInclude include nextgroup=naturalObjName skipwhite +syn keyword naturalInclude include nextgroup=naturalObjName skipwhite " define data -syn keyword naturalKeyword define data end-define -syn keyword naturalKeyword independent global parameter local redefine view -syn keyword naturalKeyword const[ant] init initial +syn keyword naturalKeyword define data end-define +syn keyword naturalKeyword independent global parameter local redefine view +syn keyword naturalKeyword const[ant] init initial " loops -syn keyword naturalLoop read end-read end-work find end-find histogram end-histogram -syn keyword naturalLoop end-all sort end-sort sorted descending ascending -syn keyword naturalRepeat repeat end-repeat while until for step end-for -syn keyword naturalKeyword in file with field starting from ending at thru by isn where -syn keyword naturalError on error end-error -syn keyword naturalKeyword accept reject end-enddata number unique retain as release -syn keyword naturalKeyword start end-start break end-break physical page top sequence -syn keyword naturalKeyword end-toppage end-endpage end-endfile before processing -syn keyword naturalKeyword end-before +syn keyword naturalLoop read end-read end-work find end-find histogram end-histogram +syn keyword naturalLoop end-all sort end-sort sorted descending ascending +syn keyword naturalRepeat repeat end-repeat while until for step end-for +syn keyword naturalKeyword in file with field starting from ending at thru by isn where +syn keyword naturalError on error end-error +syn keyword naturalKeyword accept reject end-enddata number unique retain as release +syn keyword naturalKeyword start end-start break end-break physical page top sequence +syn keyword naturalKeyword end-toppage end-endpage end-endfile before processing +syn keyword naturalKeyword end-before " conditionals syn keyword naturalConditional if then else end-if end-norec syn keyword naturalConditional decide end-decide value when condition none any " assignment / calculation -syn keyword naturalKeyword reset assign move left right justified compress to into edited -syn keyword naturalKeyword add subtract multiply divide compute name -syn keyword naturalKeyword all giving remainder rounded leaving space -syn keyword naturalKeyword examine full replace giving separate delimiter modified -syn keyword naturalKeyword suspend identical suppress +syn keyword naturalKeyword reset assign move left right justified compress to into edited +syn keyword naturalKeyword add subtract multiply divide compute name +syn keyword naturalKeyword all giving remainder rounded leaving space numeric +syn keyword naturalKeyword examine full replace giving separate delimiter modified +syn keyword naturalKeyword suspend identical suppress " program flow -syn keyword naturalFlow callnat fetch return enter escape bottom top stack formatted -syn keyword naturalFlow command call -syn keyword naturalflow end-subroutine routine +syn keyword naturalFlow callnat fetch return enter escape bottom top stack formatted +syn keyword naturalFlow command call +syn keyword naturalflow end-subroutine routine " file operations -syn keyword naturalKeyword update store get delete end transaction work once close +syn keyword naturalKeyword update store get delete end transaction work once close " other keywords -syn keyword naturalKeyword first every of no record[s] found ignore immediate -syn keyword naturalKeyword set settime key control stop terminate +syn keyword naturalKeyword first every of no record[s] found ignore immediate +syn keyword naturalKeyword set settime key control stop terminate " in-/output -syn keyword naturalKeyword write display input reinput notitle nohdr map newpage mark -syn keyword naturalKeyword alarm text help eject index -syn keyword naturalKeyword format printer skip lines +syn keyword naturalKeyword write display input reinput notitle nohdr map newpage +syn keyword naturalKeyword alarm text help eject index window base size +syn keyword naturalKeyword format printer skip lines " functions -syn keyword naturalKeyword abs atn cos exp frac int log sgn sin sqrt tan val old +syn keyword naturalKeyword abs atn cos exp frac int log sgn sin sqrt tan val old +syn keyword naturalKeyword pos " report mode keywords syn keyword naturalRMKeyword same loop obtain indexed do doend " Subroutine name -syn keyword naturalFlow perform subroutine nextgroup=naturalFunction skipwhite -syn match naturalFunction "\<[a-z][-_a-z0-9]*\>" +syn keyword naturalFlow perform subroutine nextgroup=naturalFunction skipwhite +syn match naturalFunction "\<[a-z][-_a-z0-9]*\>" -syn keyword naturalFlow using nextgroup=naturalKeyword,naturalObjName skipwhite -syn match naturalObjName "\<[a-z][-_a-z0-9]\{,7}\>" +syn keyword naturalFlow using nextgroup=naturalKeyword,naturalObjName skipwhite +syn match naturalObjName "\<[a-z][-_a-z0-9]\{,7}\>" " Labels -syn match naturalLabel "\<[+#a-z][-_#a-z0-9]*\." -syn match naturalRef "\<[+#a-z][-_#a-z0-9]*\>\.\<[+#a-z][*]\=[-_#a-z0-9]*\>" +syn match naturalLabel "\<[+#a-z][-_#a-z0-9]*\." +syn match naturalRef "\<[+#a-z][-_#a-z0-9]*\>\.\<[+#a-z][*]\=[-_#a-z0-9]*\>" + +" mark keyword special handling +syn keyword naturalKeyword mark nextgroup=naturalMark skipwhite +syn match naturalMark "\<\*[a-z][-_#.a-z0-9]*\>" " System variables -syn match naturalSysVar "\<\*[a-z][-a-z0-9]*\>" +syn match naturalSysVar "\<\*[a-z][-a-z0-9]*\>" "integer number, or floating point number without a dot. -syn match naturalNumber "\<-\=\d\+\>" +syn match naturalNumber "\<-\=\d\+\>" "floating point number, with dot -syn match naturalNumber "\<-\=\d\+\.\d\+\>" +syn match naturalNumber "\<-\=\d\+\.\d\+\>" "floating point number, starting with a dot -syn match naturalNumber "\.\d\+" +syn match naturalNumber "\.\d\+" " Formats in write statement -syn match naturalFormat "\<\d\+[TX]\>" +syn match naturalFormat "\<\d\+[TX]\>" " String and Character contstants -syn match naturalString "H'\x\+'" -syn region naturalString start=+"+ end=+"+ -syn region naturalString start=+'+ end=+'+ +syn match naturalString "H'\x\+'" +syn region naturalString start=+"+ end=+"+ +syn region naturalString start=+'+ end=+'+ " Type definition -syn match naturalAttribute "\<[-a-z][a-z]=[-a-z0-9_\.,]\+\>" -syn match naturalType contained "\<[ABINP]\d\+\(,\d\+\)\=\>" -syn match naturalType contained "\<[CL]\>" +syn match naturalAttribute "\<[-a-z][a-z]=[-a-z0-9_\.,]\+\>" +syn match naturalType contained "\<[ABINP]\d\+\(,\d\+\)\=\>" +syn match naturalType contained "\<[CL]\>" " "TODO" / other comments -syn keyword naturalTodo contained todo test -syn match naturalCommentMark contained "[a-z][^ \t/:|]*\(\s[^ \t/:'"|]\+\)*:\s"he=e-1 +syn keyword naturalTodo contained todo test +syn match naturalCommentMark contained "[a-z][^ \t/:|]*\(\s[^ \t/:'"|]\+\)*:\s"he=e-1 " comments -syn region naturalComment start="/\*" end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark -syn region naturalComment start="^\*[\ \*]" end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark -syn region naturalComment start="^\d\{4} \*[\ \*]"lc=5 end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark -syn match naturalComment "^*$" -syn match naturalComment "^\d\{4} \*$"lc=5 +syn region naturalComment start="/\*" end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark +syn region naturalComment start="^\*[ *]" end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark +syn region naturalComment start="^\d\{4} \*[\ \*]"lc=5 end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark +syn match naturalComment "^\*$" +syn match naturalComment "^\d\{4} \*$"lc=5 " /* is legal syntax in parentheses e.g. "#ident(label./*)" -syn region naturalPComment contained start="/\*\s*[^),]" end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark +syn region naturalPComment contained start="/\*\s*[^),]" end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark " operators -syn keyword naturalOperator and or not eq ne gt lt ge le mask scan +syn keyword naturalOperator and or not eq ne gt lt ge le mask scan modified " constants -syn keyword naturalBoolean true false - -syn match naturalLineNo "^\d\{4}" +syn keyword naturalBoolean true false +syn match naturalLineNo "^\d\{4}" " identifiers -syn match naturalIdent "\<[+#a-z][-_#a-z0-9]*\>[^\.']"me=e-1 -syn match naturalIdent "\<[+#a-z][-_#a-z0-9]*$" -syn match naturalLegalIdent "[+#a-z][-_#a-z0-9]*/[-_#a-z0-9]*" +syn match naturalIdent "\<[+#a-z][-_#a-z0-9]*\>[^\.']"me=e-1 +syn match naturalIdent "\<[+#a-z][-_#a-z0-9]*$" +syn match naturalLegalIdent "[+#a-z][-_#a-z0-9]*/[-_#a-z0-9]*" " parentheses -syn region naturalPar matchgroup=naturalParGui start="(" end=")" contains=naturalLabel,naturalRef,naturalOperator,@naturalConstant,naturalType,naturalSysVar,naturalPar,naturalLineNo,naturalPComment -syn match naturalLineRef "(\d\{4})" +syn region naturalPar matchgroup=naturalParGui start="(" end=")" contains=naturalLabel,naturalRef,naturalOperator,@naturalConstant,naturalType,naturalSysVar,naturalPar,naturalLineNo,naturalPComment +syn match naturalLineRef "(\d\{4})" " build syntax groups syntax cluster naturalConstant contains=naturalString,naturalNumber,naturalAttribute,naturalBoolean " folding if v:version >= 600 - set foldignore=* + set foldignore=* endif if v:version >= 508 || !exists("did_natural_syntax_inits") - if v:version < 508 - let did_natural_syntax_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - " The default methods for highlighting. Can be overridden later + if v:version < 508 + let did_natural_syntax_inits = 1 + command -nargs=+ HiLink hi link + else + command -nargs=+ HiLink hi def link + endif + " The default methods for highlighting. Can be overridden later - " Constants - HiLink naturalFormat Constant - HiLink naturalAttribute Constant - HiLink naturalNumber Number - HiLink naturalString String - HiLink naturalBoolean Boolean + " Constants + HiLink naturalFormat Constant + HiLink naturalAttribute Constant + HiLink naturalNumber Number + HiLink naturalString String + HiLink naturalBoolean Boolean - " All kinds of keywords - HiLink naturalConditional Conditional - HiLink naturalRepeat Repeat - HiLink naturalLoop Repeat - HiLink naturalFlow Keyword - HiLink naturalError Keyword - HiLink naturalKeyword Keyword - HiLink naturalOperator Operator - HiLink naturalParGui Operator + " All kinds of keywords + HiLink naturalConditional Conditional + HiLink naturalRepeat Repeat + HiLink naturalLoop Repeat + HiLink naturalFlow Keyword + HiLink naturalError Keyword + HiLink naturalKeyword Keyword + HiLink naturalOperator Operator + HiLink naturalParGui Operator - " Labels - HiLink naturalLabel Label - HiLink naturalRefLabel Label + " Labels + HiLink naturalLabel Label + HiLink naturalRefLabel Label - " Comments - HiLink naturalPComment Comment - HiLink naturalComment Comment - HiLink naturalTodo Todo - HiLink naturalCommentMark PreProc + " Comments + HiLink naturalPComment Comment + HiLink naturalComment Comment + HiLink naturalTodo Todo + HiLink naturalCommentMark PreProc - HiLink naturalInclude Include - HiLink naturalSysVar Identifier - HiLink naturalLineNo LineNr - HiLink naturalLineRef Error - HiLink naturalSpecial Special - HiLink naturalComKey Todo + HiLink naturalInclude Include + HiLink naturalSysVar Identifier + HiLink naturalLineNo LineNr + HiLink naturalLineRef Error + HiLink naturalSpecial Special + HiLink naturalComKey Todo - " illegal things - HiLink naturalRMKeyword Error - HiLink naturalLegalIdent Error + " illegal things + HiLink naturalRMKeyword Error + HiLink naturalLegalIdent Error - HiLink naturalType Type - HiLink naturalFunction Function - HiLink naturalObjName Function + HiLink naturalType Type + HiLink naturalFunction Function + HiLink naturalObjName PreProc - delcommand HiLink + delcommand HiLink endif let b:current_syntax = "natural" -" vim:set ts=4 sw=4 noet ft=vim list: +" vim:set ts=8 sw=8 noet ft=vim: diff --git a/runtime/syntax/racc.vim b/runtime/syntax/racc.vim --- a/runtime/syntax/racc.vim +++ b/runtime/syntax/racc.vim @@ -1,7 +1,7 @@ " Vim default file " Language: Racc input file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-07-09 +" Latest Revision: 2008-06-22 if exists("b:current_syntax") finish @@ -31,7 +31,7 @@ syn keyword raccPrecSpec contained no \ nextgroup=raccPrecToken,raccPrecString skipwhite \ skipnl -syn match raccPrecToken contained '\<\u[A-Z0-9]*\>' +syn match raccPrecToken contained '\<\u[A-Z0-9_]*\>' \ nextgroup=raccPrecToken,raccPrecString skipwhite \ skipnl @@ -48,7 +48,7 @@ syn region raccPrecString matchgroup=r syn keyword raccTokenDecl contained token \ nextgroup=raccTokenR skipwhite skipnl -syn match raccTokenR contained '\<\u[A-Z0-9]*\>' +syn match raccTokenR contained '\<\u[A-Z0-9_]*\>' \ nextgroup=raccTokenR skipwhite skipnl syn keyword raccExpect contained expect @@ -67,13 +67,13 @@ syn region raccConvert transparent \ contains=raccComment,raccConvToken skipwhite \ skipnl -syn match raccConvToken contained '\<\u[A-Z0-9]*\>' +syn match raccConvToken contained '\<\u[A-Z0-9_]*\>' \ nextgroup=raccString skipwhite skipnl syn keyword raccStart contained start \ nextgroup=raccTargetS skipwhite skipnl -syn match raccTargetS contained '\<\l[a-z0-9]*\>' +syn match raccTargetS contained '\<\l[a-z0-9_]*\>' syn match raccSpecial contained '\\["'\\]' @@ -87,11 +87,11 @@ syn region raccRules transparent \ raccNumber,raccToken,raccTarget,raccDelimiter, \ raccAction -syn match raccTarget contained '\<\l[a-z0-9]*\>' +syn match raccTarget contained '\<\l[a-z0-9_]*\>' syn match raccDelimiter contained '[:|]' -syn match raccToken contained '\<\u[A-Z0-9]*\>' +syn match raccToken contained '\<\u[A-Z0-9_]*\>' syn include @raccRuby syntax/ruby.vim diff --git a/runtime/syntax/sas.vim b/runtime/syntax/sas.vim --- a/runtime/syntax/sas.vim +++ b/runtime/syntax/sas.vim @@ -1,7 +1,11 @@ " Vim syntax file " Language: SAS " Maintainer: James Kidd -" Last Change: 02 Jun 2003 +" Last Change: 18 Jul 2008 by Paulo Tanimoto +" Fixed comments with * taking multiple lines. +" Fixed highlighting of macro keywords. +" Added words to cases that didn't fit anywhere. +" 02 Jun 2003 " Added highlighting for additional keywords and such; " Attempted to match SAS default syntax colors; " Changed syncing so it doesn't lose colors on large blocks; @@ -25,18 +29,18 @@ syn region sasCards start="^\s*DATALINES syn match sasNumber "-\=\<\d*\.\=[0-9_]\>" +" Block comment syn region sasComment start="/\*" end="\*/" contains=sasTodo + " Ignore misleading //JCL SYNTAX... (Bob Heckel) syn region sasComment start="[^/][^/]/\*" end="\*/" contains=sasTodo -" Allow highlighting of embedded TODOs (Bob Heckel) -syn match sasComment "^\s*\*.*;" contains=sasTodo +" Previous code for comments was written by Bob Heckel +" Comments with * may take multiple lines (Paulo Tanimoto) +syn region sasComment start=";\s*\*"hs=s+1 end=";" contains=sasTodo -" Allow highlighting of embedded TODOs (Bob Heckel) -syn match sasComment ";\s*\*.*;"hs=s+1 contains=sasTodo - -" Handle macro comments too (Bob Heckel). -syn match sasComment "^\s*%*\*.*;" contains=sasTodo +" Comments with * starting after a semicolon (Paulo Tanimoto) +syn region sasComment start="^\s*\*" end=";" contains=sasTodo " This line defines macro variables in code. HiLink at end of file " defines the color scheme. Begin region with ampersand and end with @@ -84,24 +88,71 @@ syn keyword sasStatement NULL ON OR ORDE syn keyword sasStatement RESET RESTRICT SELECT SET TABLE syn keyword sasStatement UNIQUE UPDATE VALIDATE VIEW WHERE - -syn match sasStatement "FOOTNOTE\d" "TITLE\d" +" Match declarations have to appear one per line (Paulo Tanimoto) +syn match sasStatement "FOOTNOTE\d" +syn match sasStatement "TITLE\d" -syn match sasMacro "%BQUOTE" "%NRBQUOTE" "%CMPRES" "%QCMPRES" -syn match sasMacro "%COMPSTOR" "%DATATYP" "%DISPLAY" "%DO" -syn match sasMacro "%ELSE" "%END" "%EVAL" "%GLOBAL" -syn match sasMacro "%GOTO" "%IF" "%INDEX" "%INPUT" -syn match sasMacro "%KEYDEF" "%LABEL" "%LEFT" "%LENGTH" -syn match sasMacro "%LET" "%LOCAL" "%LOWCASE" "%MACRO" -syn match sasMacro "%MEND" "%NRBQUOTE" "%NRQUOTE" "%NRSTR" -syn match sasMacro "%PUT" "%QCMPRES" "%QLEFT" "%QLOWCASE" -syn match sasMacro "%QSCAN" "%QSUBSTR" "%QSYSFUNC" "%QTRIM" -syn match sasMacro "%QUOTE" "%QUPCASE" "%SCAN" "%STR" -syn match sasMacro "%SUBSTR" "%SUPERQ" "%SYSCALL" "%SYSEVALF" -syn match sasMacro "%SYSEXEC" "%SYSFUNC" "%SYSGET" "%SYSLPUT" -syn match sasMacro "%SYSPROD" "%SYSRC" "%SYSRPUT" "%THEN" -syn match sasMacro "%TO" "%TRIM" "%UNQUOTE" "%UNTIL" -syn match sasMacro "%UPCASE" "%VERIFY" "%WHILE" "%WINDOW" +" Match declarations have to appear one per line (Paulo Tanimoto) +syn match sasMacro "%BQUOTE" +syn match sasMacro "%NRBQUOTE" +syn match sasMacro "%CMPRES" +syn match sasMacro "%QCMPRES" +syn match sasMacro "%COMPSTOR" +syn match sasMacro "%DATATYP" +syn match sasMacro "%DISPLAY" +syn match sasMacro "%DO" +syn match sasMacro "%ELSE" +syn match sasMacro "%END" +syn match sasMacro "%EVAL" +syn match sasMacro "%GLOBAL" +syn match sasMacro "%GOTO" +syn match sasMacro "%IF" +syn match sasMacro "%INDEX" +syn match sasMacro "%INPUT" +syn match sasMacro "%KEYDEF" +syn match sasMacro "%LABEL" +syn match sasMacro "%LEFT" +syn match sasMacro "%LENGTH" +syn match sasMacro "%LET" +syn match sasMacro "%LOCAL" +syn match sasMacro "%LOWCASE" +syn match sasMacro "%MACRO" +syn match sasMacro "%MEND" +syn match sasMacro "%NRBQUOTE" +syn match sasMacro "%NRQUOTE" +syn match sasMacro "%NRSTR" +syn match sasMacro "%PUT" +syn match sasMacro "%QCMPRES" +syn match sasMacro "%QLEFT" +syn match sasMacro "%QLOWCASE" +syn match sasMacro "%QSCAN" +syn match sasMacro "%QSUBSTR" +syn match sasMacro "%QSYSFUNC" +syn match sasMacro "%QTRIM" +syn match sasMacro "%QUOTE" +syn match sasMacro "%QUPCASE" +syn match sasMacro "%SCAN" +syn match sasMacro "%STR" +syn match sasMacro "%SUBSTR" +syn match sasMacro "%SUPERQ" +syn match sasMacro "%SYSCALL" +syn match sasMacro "%SYSEVALF" +syn match sasMacro "%SYSEXEC" +syn match sasMacro "%SYSFUNC" +syn match sasMacro "%SYSGET" +syn match sasMacro "%SYSLPUT" +syn match sasMacro "%SYSPROD" +syn match sasMacro "%SYSRC" +syn match sasMacro "%SYSRPUT" +syn match sasMacro "%THEN" +syn match sasMacro "%TO" +syn match sasMacro "%TRIM" +syn match sasMacro "%UNQUOTE" +syn match sasMacro "%UNTIL" +syn match sasMacro "%UPCASE" +syn match sasMacro "%VERIFY" +syn match sasMacro "%WHILE" +syn match sasMacro "%WINDOW" " SAS Functions @@ -159,13 +210,17 @@ syn keyword sasErrMsg ERROR syn keyword sasTodo TODO TBD FIXME contained " These don't fit anywhere else (Bob Heckel). -syn match sasUnderscore "_NULL_" +" Added others that were missing. +syn match sasUnderscore "_ALL_" +syn match sasUnderscore "_AUTOMATIC_" +syn match sasUnderscore "_CHARACTER_" syn match sasUnderscore "_INFILE_" syn match sasUnderscore "_N_" -syn match sasUnderscore "_WEBOUT_" +syn match sasUnderscore "_NAME_" +syn match sasUnderscore "_NULL_" syn match sasUnderscore "_NUMERIC_" -syn match sasUnderscore "_CHARACTER_" -syn match sasUnderscore "_ALL_" +syn match sasUnderscore "_USER_" +syn match sasUnderscore "_WEBOUT_" " End of SAS Functions diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim --- a/runtime/syntax/sh.vim +++ b/runtime/syntax/sh.vim @@ -2,8 +2,8 @@ " Language: shell (sh) Korn shell (ksh) bash (sh) " Maintainer: Dr. Charles E. Campbell, Jr. " Previous Maintainer: Lennart Schultz -" Last Change: Jul 01, 2008 -" Version: 100 +" Last Change: Jul 11, 2008 +" Version: 102 " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax " For options and settings, please use: :help ft-sh-syntax " This file includes many ideas from Éric Brunet (eric.brunet@ens.fr) @@ -42,9 +42,6 @@ if !exists("b:is_kornshell") && !exists( endif endif -" adjust iskeyword for shell characters -"setlocal isk=@,48-57,_,192-255,#,.,/ - " set up default g:sh_fold_enabled {{{1 if !exists("g:sh_fold_enabled") let g:sh_fold_enabled= 0 @@ -275,7 +272,7 @@ else endif syn region shSingleQuote matchgroup=shOperator start=+'+ end=+'+ contains=shStringSpecial,@Spell syn region shDoubleQuote matchgroup=shOperator start=+"+ skip=+\\"+ end=+"+ contains=@shDblQuoteList,shStringSpecial,@Spell -syn match shStringSpecial "[^[:print:]]" contained +syn match shStringSpecial "[^[:print:] \t]" contained syn match shStringSpecial "\%(\\\\\)*\\[\\"'`$()#]" syn match shSpecial "[^\\]\zs\%(\\\\\)*\\[\\"'`$()#]" syn match shSpecial "^\%(\\\\\)*\\[\\"'`$()#]" diff --git a/runtime/syntax/sieve.vim b/runtime/syntax/sieve.vim --- a/runtime/syntax/sieve.vim +++ b/runtime/syntax/sieve.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Sieve filtering language input file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2007-10-25 if exists("b:current_syntax") finish @@ -33,7 +33,7 @@ syn keyword sieveTest address al \ not size true syn keyword sievePreProc require stop syn keyword sieveAction reject fileinto redirect keep discard -syn match sieveKeyword '\<\h\w*\>' +syn keyword sieveKeyword vacation syn case match @@ -46,7 +46,7 @@ hi def link sieveString String hi def link sieveConditional Conditional hi def link sieveTest Keyword hi def link sievePreProc PreProc -hi def link sieveAction Keyword +hi def link sieveAction Function hi def link sieveKeyword Keyword let b:current_syntax = "sieve" diff --git a/runtime/syntax/svn.vim b/runtime/syntax/svn.vim --- a/runtime/syntax/svn.vim +++ b/runtime/syntax/svn.vim @@ -4,10 +4,11 @@ " URL: http://www.hlabs.spb.ru/vim/svn.vim " Revision: $Id$ " Filenames: svn-commit*.tmp -" Version: 1.5 +" Version: 1.6 " Contributors: " Stefano Zacchiroli +" A. S. Budden " For version 5.x: Clear all syntax items. " For version 6.x: Quit when a syntax file was already loaded. @@ -17,7 +18,7 @@ elseif exists("b:current_syntax") finish endif -syn region svnRegion start="^--.*--$" end="\%$" contains=ALL +syn region svnRegion start="^--.*--$" end="\%$" contains=ALL contains=@NoSpell syn match svnRemoved "^D .*$" contained syn match svnAdded "^A[ M] .*$" contained syn match svnModified "^M[ M] .*$" contained diff --git a/runtime/syntax/updatedb.vim b/runtime/syntax/updatedb.vim --- a/runtime/syntax/updatedb.vim +++ b/runtime/syntax/updatedb.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: updatedb.conf(5) configuration file " Maintainer: Nikolai Weibull -" Latest Revision: 2006-04-19 +" Latest Revision: 2007-10-25 if exists("b:current_syntax") finish @@ -18,7 +18,7 @@ syn region updatedbComment display onel syn match updatedbBegin display '^' \ nextgroup=updatedbName,updatedbComment skipwhite -syn keyword updatedbName contained PRUNEFS PRUNEPATHS +syn keyword updatedbName contained PRUNEFS PRUNEPATHS PRUNE_BIND_MOUNTS \ nextgroup=updatedbNameEq syn match updatedbNameEq contained display '=' nextgroup=updatedbValue diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -1,8 +1,8 @@ " Vim syntax file " Language: Vim 7.2 script " Maintainer: Dr. Charles E. Campbell, Jr. -" Last Change: Jul 10, 2008 -" Version: 7.2-79+ +" Last Change: July 29, 2008 +" Version: 7.2-82 " Automatically generated keyword lists: {{{1 " Quit when a syntax file was already loaded {{{2 @@ -16,11 +16,11 @@ syn keyword vimTodo contained COMBAK FIX syn cluster vimCommentGroup contains=vimTodo,@Spell " regular vim commands {{{2 -syn keyword vimCommand contained ab[breviate] argd[elete] ar[gs] bd[elete] bn[ext] breaka[dd] bufdo ca[bbrev] cal[l] cd cgetb[uffer] chd[ir] clo[se] cnf[ile] comc[lear] co[py] cuna[bbrev] delf[unction] diffpu[t] di[splay] dsp[lit] e[dit] endfo[r] ene[w] files fir[st] foldd[oopen] gr[ep] helpg[rep] iabc[lear] inorea[bbrev] ju[mps] laddb[uffer] la[st] lch[dir] lex[pr] lgete[xpr] lh[elpgrep] lli[st] lnew[er] lNf[ile] lockv[ar] lp[revious] lv[imgrep] ma[rk] mk[exrc] mkv[imrc] mz[scheme] N[ext] nu[mber] opt[ions] perld[o] pp[op] P[rint] promptr[epl] ptj[ump] ptp[revious] pw[d] q[uit] redi[r] reg[isters] rew[ind] rubyd[o] sal[l] sba[ll] sbn[ext] sb[uffer] setf[iletype] sfir[st] sim[alt] sm[ap] sn[ext] snor[emap] so[urce] spellr[epall] spr[evious] star[tinsert] stopi[nsert] sunmenu t tabe[dit] tabm[ove] tabo[nly] ta[g] tclf[ile] tj[ump] tn[ext] tr[ewind] tu[nmenu] undol[ist] verb[ose] vim[grep] vmapc[lear] wh[ile] win[size] wq wv[iminfo] xm[ap] XMLent xnoremenu -syn keyword vimCommand contained abc[lear] argdo argu[ment] bel[owright] bN[ext] breakd[el] b[uffer] cabc[lear] cat[ch] ce[nter] cgete[xpr] che[ckpath] cmapc[lear] cNf[ile] comp[iler] cpf[ile] cw[indow] delm[arks] diffsplit dj[ump] earlier el[se] endf[unction] ex filetype fix[del] foldo[pen] grepa[dd] helpt[ags] if is[earch] k lad[dexpr] later lcl[ose] lf[ile] lg[etfile] l[ist] lmak[e] lne[xt] ln[oremap] lol[der] lr[ewind] lvimgrepa[dd] marks mks[ession] mod[e] nbkey nmapc[lear] omapc[lear] pc[lose] po[p] pre[serve] profd[el] ps[earch] ptl[ast] ptr[ewind] pyf[ile] quita[ll] red[o] res[ize] ri[ght] rubyf[ile] san[dbox] sbf[irst] sbN[ext] scripte[ncoding] setg[lobal] sh[ell] sla[st] smapc[lear] sN[ext] snoreme spelld[ump] spellu[ndo] sre[wind] startr[eplace] sts[elect] sus[pend] tab tabf[ind] tabnew tabp[revious] tags te[aroff] tl[ast] tN[ext] try una[bbreviate] unh[ide] ve[rsion] vimgrepa[dd] vne[w] winc[md] wn[ext] wqa[ll] X xmapc[lear] XMLns xunme -syn keyword vimCommand contained abo[veleft] arge[dit] as[cii] bf[irst] bo[tright] breakl[ist] buffers caddb[uffer] cb[uffer] cex[pr] cg[etfile] checkt[ime] cnew[er] cnorea[bbrev] conf[irm] cp[revious] debugg[reedy] diffg[et] diffthis dl[ist] echoe[rr] elsei[f] en[dif] exi[t] fina[lly] fo[ld] for ha[rdcopy] hid[e] ij[ump] isp[lit] keepalt laddf[ile] lb[uffer] le[ft] lfir[st] lgr[ep] ll lm[ap] lN[ext] lo[adview] lop[en] ls lw[indow] mat[ch] mksp[ell] m[ove] new noh[lsearch] on[ly] ped[it] popu prev[ious] prof[ile] pta[g] ptn[ext] pts[elect] py[thon] r[ead] redr[aw] ret[ab] rightb[elow] ru[ntime] sa[rgument] sbl[ast] sbp[revious] scrip[tnames] setl[ocal] sign sl[eep] sme sni[ff] snoremenu spe[llgood] spellw[rong] sta[g] stj[ump] sun[hide] sv[iew] tabc[lose] tabfir[st] tabn[ext] tabr[ewind] tc[l] tf[irst] tm to[pleft] ts[elect] u[ndo] unlo[ckvar] vert[ical] vi[sual] vs[plit] windo wN[ext] w[rite] xa[ll] xme xn[oremap] xunmenu -syn keyword vimCommand contained al[l] argg[lobal] bad[d] bl[ast] bp[revious] br[ewind] bun[load] cad[dexpr] cc cf[ile] c[hange] cla[st] cn[ext] col[der] con[tinue] cq[uit] delc[ommand] diffoff diffu[pdate] dr[op] echom[sg] em[enu] endt[ry] exu[sage] fin[d] foldc[lose] fu[nction] h[elp] his[tory] il[ist] iuna[bbrev] keepj[umps] lan[guage] lc[d] lefta[bove] lgetb[uffer] lgrepa[dd] lla[st] lmapc[lear] lnf[ile] loc[kmarks] lpf[ile] lt[ag] mak[e] menut[ranslate] mkvie[w] mzf[ile] n[ext] norea[bbrev] o[pen] pe[rl] popu[p] p[rint] promptf[ind] ptf[irst] ptN[ext] pu[t] qa[ll] rec[over] redraws[tatus] retu[rn] rub[y] rv[iminfo] sav[eas] sbm[odified] sbr[ewind] se[t] sf[ind] sil[ent] sm[agic] smenu sno[magic] sor[t] spelli[nfo] sp[lit] startg[replace] st[op] sunme syncbind tabd[o] tabl[ast] tabN[ext] tabs tcld[o] th[row] tm[enu] tp[revious] tu undoj[oin] up[date] vie[w] viu[sage] wa[ll] winp[os] wp[revious] ws[verb] x[it] xmenu xnoreme y[ank] -syn keyword vimCommand contained arga[dd] argl[ocal] ba[ll] bm[odified] brea[k] bro[wse] bw[ipeout] caddf[ile] ccl[ose] cfir[st] changes cl[ist] cN[ext] colo[rscheme] cope[n] cr[ewind] d[elete] diffpatch dig[raphs] ds[earch] echon emenu* endw[hile] f[ile] fini[sh] folddoc[losed] go[to] helpf[ind] ia[bbrev] imapc[lear] j[oin] kee[pmarks] +syn keyword vimCommand contained abc[lear] argdo argu[ment] bel[owright] bN[ext] breakd[el] b[uffer] caddb[uffer] cb[uffer] cex[pr] cg[etfile] checkt[ime] cnew[er] col[der] con[tinue] cq[uit] delc[ommand] diffoff diffu[pdate] dr[op] echom[sg] em[enu] endt[ry] exu[sage] fin[d] foldc[lose] fu[nction] ha[rdcopy] helpt[ags] if is[earch] ju[mps] kee[pmarks] lan[guage] lc[d] lefta[bove] lgetb[uffer] lgrepa[dd] lla[st] lmapc[lear] lnf[ile] loc[kmarks] lpf[ile] lt[ag] mak[e] menut[ranslate] mkvie[w] mzf[ile] n[ext] nu[mber] opt[ions] perld[o] pp[op] P[rint] promptr[epl] ptj[ump] ptp[revious] pw[d] q[uit] redi[r] reg[isters] rew[ind] rubyd[o] sal[l] sba[ll] sbn[ext] sb[uffer] setf[iletype] sfir[st] sim[alt] sm[ap] sn[ext] snor[emap] so[urce] spellr[epall] spr[evious] star[tinsert] stopi[nsert] sunmenu t tabe[dit] tabm[ove] tabo[nly] ta[g] tclf[ile] tj[ump] tn[ext] tr[ewind] tu[nmenu] undol[ist] verb[ose] vim[grep] vmapc[lear] wh[ile] win[size] wq wv[iminfo] xm[ap] XMLent xnoremenu +syn keyword vimCommand contained abo[veleft] arge[dit] as[cii] bf[irst] bo[tright] breakl[ist] buffers cad[dexpr] cc cf[ile] c[hange] cla[st] cn[ext] colo[rscheme] cope[n] cr[ewind] d[elete] diffpatch dig[raphs] ds[earch] echon emenu* endw[hile] f[ile] fini[sh] folddoc[losed] go[to] h[elp] hid[e] ij[ump] isp[lit] k laddb[uffer] la[st] lch[dir] lex[pr] lgete[xpr] lh[elpgrep] lli[st] lnew[er] lNf[ile] lockv[ar] lp[revious] lv[imgrep] ma[rk] mk[exrc] mkv[imrc] mz[scheme] N[ext] omapc[lear] pc[lose] po[p] pre[serve] profd[el] ps[earch] ptl[ast] ptr[ewind] pyf[ile] quita[ll] red[o] res[ize] ri[ght] rubyf[ile] san[dbox] sbf[irst] sbN[ext] scripte[ncoding] setg[lobal] sh[ell] sla[st] smapc[lear] sN[ext] snoreme spelld[ump] spellu[ndo] sre[wind] startr[eplace] sts[elect] sus[pend] tab tabf[ind] tabnew tabp[revious] tags te[aroff] tl[ast] tN[ext] try una[bbreviate] unh[ide] ve[rsion] vimgrepa[dd] vne[w] winc[md] wn[ext] wqa[ll] X xmapc[lear] XMLns xunme +syn keyword vimCommand contained al[l] argg[lobal] bad[d] bl[ast] bp[revious] br[ewind] bun[load] caddf[ile] ccl[ose] cfir[st] changes cl[ist] cN[ext] comc[lear] co[py] cuna[bbrev] delf[unction] diffpu[t] di[splay] dsp[lit] e[dit] endfo[r] ene[w] files fir[st] foldd[oopen] gr[ep] helpf[ind] his[tory] il[ist] iuna[bbrev] keepalt lad[dexpr] later lcl[ose] lf[ile] lg[etfile] l[ist] lmak[e] lne[xt] ln[oremap] lol[der] lr[ewind] lvimgrepa[dd] marks mks[ession] mod[e] nbkey nmapc[lear] on[ly] ped[it] popu prev[ious] prof[ile] pta[g] ptn[ext] pts[elect] py[thon] r[ead] redr[aw] ret[ab] rightb[elow] ru[ntime] sa[rgument] sbl[ast] sbp[revious] scrip[tnames] setl[ocal] sign sl[eep] sme sni[ff] snoremenu spe[llgood] spellw[rong] sta[g] stj[ump] sun[hide] sv[iew] tabc[lose] tabfir[st] tabn[ext] tabr[ewind] tc[l] tf[irst] tm to[pleft] ts[elect] u[ndo] unlo[ckvar] vert[ical] vi[sual] vs[plit] windo wN[ext] w[rite] xa[ll] xme xn[oremap] xunmenu +syn keyword vimCommand contained arga[dd] argl[ocal] ba[ll] bm[odified] brea[k] bro[wse] bw[ipeout] cal[l] cd cgetb[uffer] chd[ir] clo[se] cnf[ile] comp[iler] cpf[ile] cw[indow] delm[arks] diffsplit dj[ump] earlier el[se] endf[unction] ex filetype fix[del] foldo[pen] grepa[dd] helpg[rep] iabc[lear] imapc[lear] j[oin] keepj[umps] laddf[ile] lb[uffer] le[ft] lfir[st] lgr[ep] ll lm[ap] lN[ext] lo[adview] lop[en] ls lw[indow] mat[ch] mksp[ell] m[ove] new noh[lsearch] o[pen] pe[rl] popu[p] p[rint] promptf[ind] ptf[irst] ptN[ext] pu[t] qa[ll] rec[over] redraws[tatus] retu[rn] rub[y] rv[iminfo] sav[eas] sbm[odified] sbr[ewind] se[t] sf[ind] sil[ent] sm[agic] smenu sno[magic] sor[t] spelli[nfo] sp[lit] startg[replace] st[op] sunme syncbind tabd[o] tabl[ast] tabN[ext] tabs tcld[o] th[row] tm[enu] tp[revious] tu undoj[oin] up[date] vie[w] viu[sage] wa[ll] winp[os] wp[revious] ws[verb] x[it] xmenu xnoreme y[ank] +syn keyword vimCommand contained argd[elete] ar[gs] bd[elete] bn[ext] breaka[dd] bufdo cabc[lear] cat[ch] ce[nter] cgete[xpr] che[ckpath] cmapc[lear] cNf[ile] conf[irm] cp[revious] debugg[reedy] diffg[et] diffthis dl[ist] echoe[rr] elsei[f] en[dif] exi[t] fina[lly] fo[ld] for syn match vimCommand contained "\ -" Latest Revision: 2007-06-27 +" Latest Revision: 2006-04-19 if exists("b:current_syntax") finish @@ -10,140 +10,53 @@ endif let s:cpo_save = &cpo set cpo&vim -syn keyword yamlTodo - \ contained - \ TODO - \ FIXME - \ XXX - \ NOTE +syn keyword yamlTodo contained TODO FIXME XXX NOTE -syn region yamlComment - \ display - \ oneline - \ start='%(^|s)#' - \ end='$' - \ contains=yamlTodo,@Spell +syn region yamlComment display oneline start='\%(^\|\s\)#' end='$' + \ contains=yamlTodo,@Spell -syn match yamlNodeProperty - \ '!\%(![^\\^% \t]\+\|[^!][^:/ \t]*\)' - -syn match yamlAnchor - \ '&.+' - -syn match yamlAlias - \ '*.+' +syn match yamlNodeProperty '!\%(![^\\^% ]\+\|[^!][^:/ ]*\)' -syn match yamlDelimiter - \ '[-,:]' -syn match yamlBlock - \ '[[]{}>|]' -syn match yamlOperator - \ '[?+-]' -syn match yamlKey - \ 'w+(s+w+)*zes*:' +syn match yamlAnchor '&.\+' + +syn match yamlAlias '\*.\+' -syn region yamlString - \ start=+"+ - \ skip=+\"+ - \ end=+"+ - \ contains=yamlEscape -syn region yamlString - \ start=+'+ - \ skip=+''+ - \ end=+'+ - \ contains=yamlSingleEscape -syn match yamlEscape - \ contained - \ display - \ +\[\"abefnrtv^0_ NLP]+ -syn match yamlEscape - \ contained - \ display - \ '\xx{2}' -syn match yamlEscape - \ contained - \ display - \ '\ux{4}' -syn match yamlEscape - \ contained - \ display - \ '\Ux{8}' +syn match yamlDelimiter '[-,:]' +syn match yamlBlock '[\[\]{}>|]' +syn match yamlOperator '[?+-]' +syn match yamlKey '\w\+\(\s\+\w\+\)*\ze\s*:' +syn region yamlString start=+"+ skip=+\\"+ end=+"+ + \ contains=yamlEscape +syn region yamlString start=+'+ skip=+''+ end=+'+ + \ contains=yamlSingleEscape +syn match yamlEscape contained display +\\[\\"abefnrtv^0_ NLP]+ +syn match yamlEscape contained display '\\x\x\{2}' +syn match yamlEscape contained display '\\u\x\{4}' +syn match yamlEscape contained display '\\U\x\{8}' " TODO: how do we get 0x85, 0x2028, and 0x2029 into this? -" XXX: Em, what is going on here? This can't be right. Leave out until we -" figure out what this is meant to do. -"syn match yamlEscape -" \ contained -" \ display -" \ '\%(rn|[rn])' -syn match yamlSingleEscape - \ contained - \ display - \ +''+ +syn match yamlEscape display '\\\%(\r\n\|[\r\n]\)' +syn match yamlSingleEscape contained display +''+ " TODO: sexagecimal and fixed (20:30.15 and 1,230.15) -syn match yamlNumber - \ display - \ '\<[+-]\=\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=' -syn match yamlNumber - \ display - \ '0o+' -syn match yamlNumber - \ display - \ '0xx+' -syn match yamlNumber - \ display - \ '([+-]=[iI]nf)' -syn match yamlNumber - \ display - \ '(NaN)' +syn match yamlNumber display + \ '\<[+-]\=\d\+\%(\.\d\+\%([eE][+-]\=\d\+\)\=\)\=' +syn match yamlNumber display '0\o\+' +syn match yamlNumber display '0x\x\+' +syn match yamlNumber display '([+-]\=[iI]nf)' +syn match yamlNumber display '(NaN)' -syn match yamlConstant - \ '<[~yn]>' -syn keyword yamlConstant - \ true - \ True - \ TRUE - \ false - \ False - \ FALSE -syn keyword yamlConstant - \ yes - \ Yes - \ on - \ ON - \ no - \ No - \ off - \ OFF -syn keyword yamlConstant - \ null - \ Null - \ NULL - \ nil - \ Nil - \ NIL +syn match yamlConstant '\<[~yn]\>' +syn keyword yamlConstant true True TRUE false False FALSE +syn keyword yamlConstant yes Yes on ON no No off OFF +syn keyword yamlConstant null Null NULL nil Nil NIL -syn match yamlTimestamp - \ '\d\d\d\d-\%(1[0-2]\|\d\)-\%(3[0-2]\|2\d\|1\d\|\d\)\%( \%([01]\d\|2[0-3]\):[0-5]\d:[0-5]\d.\d\d [+-]\%([01]\d\|2[0-3]\):[0-5]\d\|t\%([01]\d\|2[0-3]\):[0-5]\d:[0-5]\d.\d\d[+-]\%([01]\d\|2[0-3]\):[0-5]\d\|T\%([01]\d\|2[0-3]\):[0-5]\d:[0-5]\d.\dZ\)\=' - -syn region yamlDocumentHeader - \ start='---' - \ end='$' - \ contains=yamlDirective -syn match yamlDocumentEnd - \ '\.\.\.' +syn match yamlTimestamp '\d\d\d\d-\%(1[0-2]\|\d\)-\%(3[0-2]\|2\d\|1\d\|\d\)\%( \%([01]\d\|2[0-3]\):[0-5]\d:[0-5]\d.\d\d [+-]\%([01]\d\|2[0-3]\):[0-5]\d\|t\%([01]\d\|2[0-3]\):[0-5]\d:[0-5]\d.\d\d[+-]\%([01]\d\|2[0-3]\):[0-5]\d\|T\%([01]\d\|2[0-3]\):[0-5]\d:[0-5]\d.\dZ\)\=' -syn match yamlDirective - \ contained - \ '%[^:]+:.+' +syn region yamlDocumentHeader start='---' end='$' contains=yamlDirective +syn match yamlDocumentEnd '\.\.\.' -syn match yamlIndentation - \ '^s*' - \ contains=yamlIndentationError - -syn match yamlIndentationError - \ 't' +syn match yamlDirective contained '%[^:]\+:.\+' hi def link yamlTodo Todo hi def link yamlComment Comment @@ -163,7 +76,6 @@ hi def link yamlSingleEscape SpecialC hi def link yamlNumber Number hi def link yamlConstant Constant hi def link yamlTimestamp Number -hi def link yamlIndentationError Error let b:current_syntax = "yaml" diff --git a/runtime/syntax/zsh.vim b/runtime/syntax/zsh.vim --- a/runtime/syntax/zsh.vim +++ b/runtime/syntax/zsh.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: Zsh shell script " Maintainer: Nikolai Weibull -" Latest Revision: 2007-06-17 +" Latest Revision: 2008-07-17 if exists("b:current_syntax") finish @@ -34,7 +34,9 @@ syn keyword zshDelimiter do done syn keyword zshConditional if then elif else fi case in esac select -syn keyword zshRepeat for while until repeat foreach +syn keyword zshRepeat while until repeat + +syn keyword zshRepeat for foreach nextgroup=zshVariable skipwhite syn keyword zshException always @@ -49,19 +51,30 @@ syn match zshRedir '\d\=\(< syn match zshRedir '\d\=\(>\|>>\|>&\s*[0-9p-]\=\|&>\|>>&\|&>>\)[|!]\=' syn match zshRedir '|&\=' -syn region zshHereDoc matchgroup=zshRedir start='<<\s*\z(\S*\)' - \ end='^\z1\>' contains=@zshSubst -syn region zshHereDoc matchgroup=zshRedir start='<<-\s*\z(\S*\)' - \ end='^\s*\z1\>' contains=@zshSubst +syn region zshHereDoc matchgroup=zshRedir + \ start='<\@' + \ contains=@zshSubst +syn region zshHereDoc matchgroup=zshRedir + \ start='<\@' + \ contains=@zshSubst syn region zshHereDoc matchgroup=zshRedir - \ start=+<<\s*\(["']\)\z(\S*\)\1+ end='^\z1\>' + \ start='<\@' + \ contains=@zshSubst syn region zshHereDoc matchgroup=zshRedir - \ start=+<<-\s*\(["']\)\z(\S*\)\1+ + \ start=+<\@' +syn region zshHereDoc matchgroup=zshRedir + \ start=+<\@' -syn match zshVariable '\<\h\w*\ze+\==' +syn match zshVariable '\<\h\w*' contained + +syn match zshVariableDef '\<\h\w*\ze+\==' " XXX: how safe is this? -syn region zshVariable oneline +syn region zshVariableDef oneline \ start='\$\@' else - syn match zshDeref transparent '\$[=^~]*[#+]*\h\w*\>' + syn match zshDeref transparent contains=NONE '\$[=^~]*[#+]*\h\w*\>' endif syn match zshCommands '\%(^\|\s\)[.:]\ze\s' @@ -119,6 +132,7 @@ syn match zshNumber '[+-]\=\ syn match zshNumber '[+-]\=\d\+#[-+]\=\w\+\>' syn match zshNumber '[+-]\=\d\+\.\d\+\>' +" TODO: $[...] is the same as $((...)), so add that as well. syn cluster zshSubst contains=zshSubst,zshOldSubst,zshMathSubst syn region zshSubst matchgroup=zshSubstDelim transparent \ start='\$(' skip='\\)' end=')' contains=TOP @@ -131,10 +145,14 @@ syn region zshMathSubst matchgro syn region zshBrackets contained transparent start='{' skip='\\}' \ end='}' syn region zshSubst matchgroup=zshSubstDelim start='\${' skip='\\}' - \ end='}' contains=@zshSubst,zshBrackets,zshQuoted + \ end='}' contains=@zshSubst,zshBrackets,zshQuoted,zshString syn region zshOldSubst matchgroup=zshSubstDelim start=+`+ skip=+\\`+ \ end=+`+ contains=TOP,zshOldSubst +syn sync minlines=50 +syn sync match zshHereDocSync grouphere NONE '<<-\=\s*\%(\\\=\S\+\|\(["']\)\S\+\1\)' +syn sync match zshHereDocEndSync groupthere NONE '^\s*EO\a\+\>' + hi def link zshTodo Todo hi def link zshComment Comment hi def link zshPreProc PreProc @@ -163,6 +181,7 @@ else hi def link zshRedir None endif hi def link zshVariable None +hi def link zshVariableDef zshVariable hi def link zshDereferencing PreProc if s:zsh_syntax_variables =~ 'short\|all' hi def link zshShortDeref zshDereferencing diff --git a/runtime/tools/vimm b/runtime/tools/vimm --- a/runtime/tools/vimm +++ b/runtime/tools/vimm @@ -1,6 +1,6 @@ #!/bin/sh # enable DEC locator input model on remote terminal -echo "\033[1;2'z\033[1;3'{\c" +printf "\033[1;2'z\033[1;3'{\c" vim "$@" # disable DEC locator input model on remote terminal -echo "\033[2;4'{\033[0'z\c" +printf "\033[2;4'{\033[0'z\c" diff --git a/runtime/tools/vimspell.sh b/runtime/tools/vimspell.sh --- a/runtime/tools/vimspell.sh +++ b/runtime/tools/vimspell.sh @@ -11,6 +11,7 @@ # # Neil Schemenauer # March 1999 +# updated 2008 Jul 17 by Bram # # Safe method for the temp file by Javier Fernández-Sanguino_Peña @@ -22,7 +23,7 @@ OUTFILE=`mktemp -t vimspellXXXXXX || tem # create a file in the safest way possible. if test "$OUTFILE" = none; then OUTFILE=$tmp/vimspell$$ - [ -e $OUTFILE ] && { echo "Cannot use temporary file $OUTFILE, it already exists!; exit 1 ; } + [ -e $OUTFILE ] && { echo "Cannot use temporary file $OUTFILE, it already exists!"; exit 1 ; } (umask 077; touch $OUTFILE) fi # Note the copy of vimspell cannot be deleted on exit since it is diff --git a/runtime/tutor/tutor.vim b/runtime/tutor/tutor.vim --- a/runtime/tutor/tutor.vim +++ b/runtime/tutor/tutor.vim @@ -1,8 +1,9 @@ " Vim tutor support file " Author: Eduardo F. Amatria -" Last Change: 2008 Jun 21 +" Maintainer: Bram Moolenaar +" Last Change: 2008 Jul 21 -" This small source file is used for detecting if a translation of the +" This Vim script is used for detecting if a translation of the " tutor file exist, i.e., a tutor.xx file, where xx is the language. " If the translation does not exist, or no extension is given, " it defaults to the english version. @@ -160,7 +161,7 @@ endif " If 'encoding' is utf-8 s:ext must end in utf-8. if &enc == 'utf-8' && s:ext !~ '\.utf-8' - s:ext .= '.utf-8' + let s:ext .= '.utf-8' endif " 2. Build the name of the file: diff --git a/src/GvimExt/GvimExt.reg b/src/GvimExt/GvimExt.reg --- a/src/GvimExt/GvimExt.reg +++ b/src/GvimExt/GvimExt.reg @@ -15,6 +15,6 @@ REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Vim\Gvim] "path"="gvim.exe" -[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.2b] - "DisplayName"="Vim 7.2b: Edit with Vim popup menu entry" +[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.2c] + "DisplayName"="Vim 7.2c: Edit with Vim popup menu entry" "UninstallString"="uninstal.exe" diff --git a/src/Makefile b/src/Makefile --- a/src/Makefile +++ b/src/Makefile @@ -901,7 +901,7 @@ MAN1DIR = /man1 ### Vim version (adjusted by a script) VIMMAJOR = 7 -VIMMINOR = 2b +VIMMINOR = 2c ### Location of Vim files (should not need to be changed, and {{{1 ### some things might not work when they are changed!) diff --git a/src/buffer.c b/src/buffer.c --- a/src/buffer.c +++ b/src/buffer.c @@ -94,7 +94,7 @@ open_buffer(read_stdin, eap) break; /* * if there is no memfile at all, exit - * This is OK, since there are no changes to loose. + * This is OK, since there are no changes to lose. */ if (curbuf == NULL) { diff --git a/src/config.aap.in b/src/config.aap.in --- a/src/config.aap.in +++ b/src/config.aap.in @@ -96,6 +96,9 @@ exec_prefix $= @exec_prefix@ ### Prefix for location of data files BINDIR $= @bindir@ +### For autoconf 2.60 and later (avoid a warning) +datarootdir $= @datarootdir@ + ### Prefix for location of data files DATADIR $= @datadir@ diff --git a/src/edit.c b/src/edit.c --- a/src/edit.c +++ b/src/edit.c @@ -3608,8 +3608,6 @@ ins_compl_prep(c) inc_cursor(); } - auto_format(FALSE, TRUE); - /* If the popup menu is displayed pressing CTRL-Y means accepting * the selection without inserting anything. When * compl_enter_selects is set the Enter key does the same. */ @@ -3630,6 +3628,8 @@ ins_compl_prep(c) retval = TRUE; } + auto_format(FALSE, TRUE); + ins_compl_free(); compl_started = FALSE; compl_matches = 0; diff --git a/src/feature.h b/src/feature.h --- a/src/feature.h +++ b/src/feature.h @@ -816,7 +816,7 @@ * +writebackup 'writebackup' is default on: * Use a backup file while overwriting a file. But it's * deleted again when 'backup' is not set. Changing this - * is strongly discouraged: You can loose all your + * is strongly discouraged: You can lose all your * changes when the computer crashes while writing the * file. * VMS note: It does work on VMS as well, but because of diff --git a/src/fileio.c b/src/fileio.c --- a/src/fileio.c +++ b/src/fileio.c @@ -2845,7 +2845,7 @@ check_file_readonly(fname, perm) * * If "forceit" is true, we don't care for errors when attempting backups. * In case of an error everything possible is done to restore the original - * file. But when "forceit" is TRUE, we risk loosing it. + * file. But when "forceit" is TRUE, we risk losing it. * * When "reset_changed" is TRUE and "append" == FALSE and "start" == 1 and * "end" == curbuf->b_ml.ml_line_count, reset curbuf->b_changed. @@ -4442,7 +4442,7 @@ restore_backup: /* * If we have a backup file, try to put it in place of the new file, - * because the new file is probably corrupt. This avoids loosing the + * because the new file is probably corrupt. This avoids losing the * original file when trying to make a backup when writing the file a * second time. * When "backup_copy" is set we need to copy the backup over the new diff --git a/src/fold.c b/src/fold.c --- a/src/fold.c +++ b/src/fold.c @@ -2341,7 +2341,7 @@ foldUpdateIEMS(wp, top, bot) * "flp->off" is the offset to the real line number in the buffer. * * All this would be a lot simpler if all folds in the range would be deleted - * and then created again. But we would loose all information about the + * and then created again. But we would lose all information about the * folds, even when making changes that don't affect the folding (e.g. "vj~"). * * Returns bot, which may have been increased for lines that also need to be diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c --- a/src/if_xcmdsrv.c +++ b/src/if_xcmdsrv.c @@ -1390,7 +1390,6 @@ serverEventProc(dpy, eventPtr) unsigned int u; int gotWindow; char_u *str; - char_u winstr[30]; struct ServerReply *r; char_u *enc; @@ -1436,8 +1435,12 @@ serverEventProc(dpy, eventPtr) ga_append(&(r->strings), NUL); } #ifdef FEAT_AUTOCMD - sprintf((char *)winstr, "0x%x", (unsigned int)win); - apply_autocmds(EVENT_REMOTEREPLY, winstr, str, TRUE, curbuf); + { + char_u winstr[30]; + + sprintf((char *)winstr, "0x%x", (unsigned int)win); + apply_autocmds(EVENT_REMOTEREPLY, winstr, str, TRUE, curbuf); + } #endif vim_free(tofree); } diff --git a/src/installman.sh b/src/installman.sh --- a/src/installman.sh +++ b/src/installman.sh @@ -32,6 +32,7 @@ shift evimname=$9 helpsubloc=$scriptloc/doc +printsubloc=$scriptloc/print synsubloc=$scriptloc/syntax tutorsubloc=$scriptloc/tutor @@ -47,6 +48,7 @@ if test $what = "install"; then echo installing $destdir/$exename.1 sed -e s+/usr/local/lib/vim+$vimloc+ \ -e s+$vimloc/doc+$helpsubloc+ \ + -e s+$vimloc/print+$printsubloc+ \ -e s+$vimloc/syntax+$synsubloc+ \ -e s+$vimloc/tutor+$tutorsubloc+ \ -e s+$vimloc/vimrc+$vimrcloc/vimrc+ \ @@ -54,7 +56,6 @@ if test $what = "install"; then -e s+$vimloc/menu.vim+$scriptloc/menu.vim+ \ -e s+$vimloc/bugreport.vim+$scriptloc/bugreport.vim+ \ -e s+$vimloc/filetype.vim+$scriptloc/filetype.vim+ \ - -e s+$vimloc/ftoff.vim+$scriptloc/ftoff.vim+ \ -e s+$vimloc/scripts.vim+$scriptloc/scripts.vim+ \ -e s+$vimloc/optwin.vim+$scriptloc/optwin.vim+ \ -e 's+$vimloc/\*.ps+$scriptloc/\*.ps+' \ @@ -76,6 +77,7 @@ if test $what = "install"; then # evim.1 echo installing $destdir/$evimname.1 sed -e s+/usr/local/lib/vim+$vimloc+ \ + -e s+$vimloc/evim.vim+$scriptloc/evim.vim+ \ $helpsource/evim$langadd.1 > $destdir/$evimname.1 chmod $manmod $destdir/$evimname.1 fi diff --git a/src/mbyte.c b/src/mbyte.c --- a/src/mbyte.c +++ b/src/mbyte.c @@ -2932,8 +2932,8 @@ mb_lefthalve(row, col) } /* - * Correct a position on the screen, if it's the right halve of a double-wide - * char move it to the left halve. Returns the corrected column. + * Correct a position on the screen, if it's the right half of a double-wide + * char move it to the left half. Returns the corrected column. */ int mb_fix_col(col, row) diff --git a/src/os_mswin.c b/src/os_mswin.c --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -1729,7 +1729,7 @@ swap_me(COLORREF colorref) } /*ARGSUSED*/ - static INT_PTR CALLBACK + static BOOL CALLBACK PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { #ifdef FEAT_GETTEXT diff --git a/src/os_unix.c b/src/os_unix.c --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3944,7 +3944,7 @@ mch_call_shell(cmd, options) # ifdef HAVE_SETSID /* Create our own process group, so that the child and all its * children can be kill()ed. Don't do this when using pipes, - * because stdin is not a tty, we would loose /dev/tty. */ + * because stdin is not a tty, we would lose /dev/tty. */ if (p_stmp) (void)setsid(); # endif @@ -3973,7 +3973,7 @@ mch_call_shell(cmd, options) # else /* * Putenv does not copy the string, it has to remain valid. - * Use a static array to avoid loosing allocated memory. + * Use a static array to avoid losing allocated memory. */ putenv("TERM=dumb"); sprintf(envbuf_Rows, "ROWS=%ld", Rows); @@ -4306,7 +4306,7 @@ mch_call_shell(cmd, options) /* * Write the characters to the child, unless EOF has * been typed for pipes. Write one character at a - * time, to avoid loosing too much typeahead. + * time, to avoid losing too much typeahead. * When writing buffer lines, drop the typed * characters (only check for CTRL-C). */ @@ -4438,7 +4438,7 @@ mch_call_shell(cmd, options) /* * Check if the child still exists, before checking for - * typed characters (otherwise we would loose typeahead). + * typed characters (otherwise we would lose typeahead). */ # ifdef __NeXT__ wait_pid = wait4(pid, &status, WNOHANG, (struct rusage *) 0); diff --git a/src/os_vms.c b/src/os_vms.c --- a/src/os_vms.c +++ b/src/os_vms.c @@ -397,7 +397,7 @@ vms_wproc(char *name, int val) * mch_expand_wildcards this code does wild-card pattern * matching NOT using the shell * - * return OK for success, FAIL for error (you may loose some + * return OK for success, FAIL for error (you may lose some * memory) and put an error message in *file. * * num_pat number of input patterns diff --git a/src/po/Make_cyg.mak b/src/po/Make_cyg.mak --- a/src/po/Make_cyg.mak +++ b/src/po/Make_cyg.mak @@ -30,6 +30,7 @@ LANGUAGES = af \ no \ pl \ pl.cp1250 \ + pt_BR \ ru \ ru.cp1251 \ sk \ @@ -62,6 +63,7 @@ MOFILES = af.mo \ no.mo \ pl.cp1250.mo \ pl.mo \ + pt_BR.mo \ ru.cp1251.mo \ ru.mo \ sk.cp1250.mo \ diff --git a/src/po/Make_ming.mak b/src/po/Make_ming.mak --- a/src/po/Make_ming.mak +++ b/src/po/Make_ming.mak @@ -26,6 +26,7 @@ LANGUAGES = \ ko \ no \ pl \ + pt_BR \ ru \ sk \ sv \ @@ -52,6 +53,7 @@ MOFILES = \ ko.mo \ no.mo \ pl.mo \ + pt_BR.mo \ ru.mo \ sk.mo \ sv.mo \ diff --git a/src/po/Make_mvc.mak b/src/po/Make_mvc.mak --- a/src/po/Make_mvc.mak +++ b/src/po/Make_mvc.mak @@ -22,6 +22,7 @@ LANGUAGES = \ ko \ no \ pl \ + pt_BR \ ru \ sk \ sv \ @@ -48,6 +49,7 @@ MOFILES = \ ko.mo \ no.mo \ pl.mo \ + pt_BR.mo \ ru.mo \ sk.mo \ sv.mo \ diff --git a/src/po/Makefile b/src/po/Makefile --- a/src/po/Makefile +++ b/src/po/Makefile @@ -20,6 +20,7 @@ LANGUAGES = \ ko \ no \ pl \ + pt_BR \ ru \ sk \ sv \ @@ -46,6 +47,7 @@ MOFILES = \ ko.mo \ no.mo \ pl.mo \ + pt_BR.mo \ ru.mo \ sk.mo \ sv.mo \ @@ -82,6 +84,7 @@ CHECKFILES = \ ko.ck \ no.ck \ pl.ck \ + pt_BR.ck \ ru.ck \ sk.ck \ sv.ck \ @@ -114,7 +117,7 @@ MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_ .SUFFIXES: .SUFFIXES: .po .mo .pot .ck -.PHONY: all install uninstall prefixcheck check clean distclean $(LANGUAGES) +.PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) .po.mo: $(MSGFMT) -o $@ $< @@ -234,6 +237,8 @@ checkclean: *.c if_perl.xs GvimExt/gvimext.cpp globals.h mv -f ../$(PACKAGE).po $(PACKAGE).pot +update-po: $(LANGUAGES) + # Don't add a dependency here, we only want to update the .po files manually $(LANGUAGES): @$(MAKE) $(PACKAGE).pot diff --git a/src/po/ca.po b/src/po/ca.po --- a/src/po/ca.po +++ b/src/po/ca.po @@ -4852,7 +4852,7 @@ msgstr "Sobren prefixes posposats" msgid "Too many compound flags" msgstr "Sobren marques de composició" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "Massa prefixes posposats i/o marques de composició" #, c-format diff --git a/src/po/de.po b/src/po/de.po --- a/src/po/de.po +++ b/src/po/de.po @@ -4722,7 +4722,7 @@ msgstr "Zu viele zurück gestellte Präfixe" msgid "Too many compound flags" msgstr "Zu viele zusammengesetzte Flags" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "Zu viele zurück gestellte Präfixe und/oder zusammengesetzte Flags" #, c-format diff --git a/src/po/en_GB.po b/src/po/en_GB.po --- a/src/po/en_GB.po +++ b/src/po/en_GB.po @@ -17,7 +17,7 @@ msgid "" msgstr "" "Project-Id-Version: Vim(UK English)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-04-05 14:54+0100\n" +"POT-Creation-Date: 2008-07-19 18:03+0100\n" "PO-Revision-Date: 2003-02-25 11:05+0000\n" "Last-Translator: Mike Williams \n" "Language-Team: Mike Williams \n" @@ -29,6 +29,9 @@ msgstr "" msgid "E96: Can not diff more than %ld buffers" msgstr "E96: Cannot diff more than %ld buffers" +msgid "E101: More than two buffers in diff mode, don't know which one to use" +msgstr "E101: More than two buffers in diff mode, do not know which one to use" + #, c-format msgid "E102: Can't find buffer \"%s\"" msgstr "E102: Cannot find buffer \"%s\"" @@ -94,6 +97,9 @@ msgstr "E206: patchmode: cannot touch em msgid "E207: Can't delete backup file" msgstr "E207: Cannot delete backup file" +msgid "don't quit the editor until the file is successfully written!" +msgstr "do not quit the editor until the file is successfully written!" + msgid "E217: Can't execute autocommands for ALL events" msgstr "E217: Cannot execute autocommands for ALL events" diff --git a/src/po/eo.po b/src/po/eo.po --- a/src/po/eo.po +++ b/src/po/eo.po @@ -3,7 +3,7 @@ # Do ":help uganda" in Vim to read copying and usage conditions. # Do ":help credits" in Vim to see a list of people who contributed. # -# UNUA TRADUKISTO Dominique PELLE Novembro 2007 +# UNUA TRADUKISTO Dominique PELLE # PROVLEGANTO(J) Felipe CASTRO # Antono MECHELYNCK # Yves NEVELSTEEN @@ -13,8 +13,8 @@ # Komputeko: http://komputeko.net/index_eo.php # Komputada leksikono: http://bertilow.com/div/komputada_leksikono/ # -# Mallongigoj: -# http://www.kafejo.com/lingvoj/auxlangs/eo/mallongi.htm +# Lasta versio: +# http://svn.ikso.net/programtradukoj/vim/vim7/src/po/eo.po # # Ĉiu komento estas bonvenata... # Every remark is welcome... @@ -23,8 +23,8 @@ msgid "" msgstr "" "Project-Id-Version: Vim(Esperanto)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-06-27 22:52+0200\n" -"PO-Revision-Date: 2008-06-27 23:01+0200\n" +"POT-Creation-Date: 2008-07-19 10:37+0200\n" +"PO-Revision-Date: 2008-07-19 10:43+0200\n" "Last-Translator: Dominique PELLÉ \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -469,7 +469,7 @@ msgid "E694: Invalid operation for Funcr msgstr "E694: Nevalida operacio de Funcref-oj" msgid "E804: Cannot use '%' with Float" -msgstr "E804: Ne eblas uzi '%' kun glitpunktnombro" +msgstr "E804: Ne eblas uzi '%' kun Glitpunktnombro" msgid "E110: Missing ')'" msgstr "E110: Mankas ')'" @@ -1356,7 +1356,7 @@ msgstr "E498: neniu dosiernomo \":source\" por anstataÅ­igi al \"\"" #, no-c-format msgid "E499: Empty file name for '%' or '#', only works with \":p:h\"" -msgstr "E499: Malplena dosiernomo por '%'aÅ­ '#', nur funkcias kun \":p:h\"" +msgstr "E499: Malplena dosiernomo por '%' aÅ­ '#', nur funkcias kun \":p:h\"" msgid "E500: Evaluates to an empty string" msgstr "E500: Liveras malplenan ĉenon" @@ -3049,15 +3049,15 @@ msgid "-X\t\t\tDo not connect to X serve msgstr "-X\t\t\tNe konekti al X-servilo" msgid "--remote \tEdit in a Vim server if possible" -msgstr "--remote \tRedakti en Vim-servilo se eblas" +msgstr "--remote \tRedakti -n en Vim-servilo se eblas" msgid "--remote-silent Same, don't complain if there is no server" -msgstr "--remote-silent Same, sed ne plendi se ne estas servilo" +msgstr "--remote-silent Same, sed ne plendi se ne estas servilo" msgid "" "--remote-wait As --remote but wait for files to have been edited" msgstr "" -"--remote-wait Kiel --remote sed atendi Äis dosieroj estas " +"--remote-wait Kiel --remote sed atendi Äis dosieroj estas " "redaktitaj" msgid "" @@ -4817,6 +4817,9 @@ msgstr "E388: Ne eblis trovi difinon" msgid "E389: Couldn't find pattern" msgstr "E389: Ne eblis trovi Åablonon" +msgid "Substitute " +msgstr "AnstataÅ­igi " + #, c-format msgid "" "\n" @@ -4986,7 +4989,7 @@ msgstr "Tro da prokrastitaj prefiksoj" msgid "Too many compound flags" msgstr "Tro da kunmetitaj flagoj" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "Tro da prokrastitaj prefiksoj kaj/aÅ­ kunmetitaj flagoj" #, c-format diff --git a/src/po/fi.po b/src/po/fi.po --- a/src/po/fi.po +++ b/src/po/fi.po @@ -1,6 +1,6 @@ # Finnish translation for Vim. # Copyright (C) 2003-2006 Free Software Foundation, Inc. -# 2007, Flammie Pirinen +# 2007-2008, Flammie Pirinen # # Vimin käyttäjät on nörttejä. Sanasto on jargonia :-p # @@ -14,14 +14,12 @@ # analogian mukaan # source v. lataa tiedoston, kuten bash-komento source (tai .) # -# Kääntämättä: -# if_sniff.c, tags.c, spell.c, regexp.c msgid "" msgstr "" "Project-Id-Version: Vim 7\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-04 01:30+0300\n" -"PO-Revision-Date: 2007-09-04 01:44+0300\n" +"POT-Creation-Date: 2008-07-23 16:57+0300\n" +"PO-Revision-Date: 2008-07-23 17:15+0300\n" "Last-Translator: Flammie Pirinen \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" @@ -465,6 +463,9 @@ msgstr "E693: Funcrefiä voi verrata vain funcrefiin" msgid "E694: Invalid operation for Funcrefs" msgstr "E694: Virheellinen toiminto funcrefille" +msgid "E804: Cannot use '%' with Float" +msgstr "E804: Ei voi käyttää '%':a Floatin kanssa" + msgid "E110: Missing ')'" msgstr "E110: ) puuttuu" @@ -530,6 +531,9 @@ msgstr "E120: skriptin ulkopuolell msgid "E725: Calling dict function without Dictionary: %s" msgstr "E725: dict-funktio ilman sanakirjaa: %s" +msgid "E808: Number or Float required" +msgstr "E808: Number tai Float vaaditaan" + msgid "E699: Too many arguments" msgstr "E699: Liikaa argumentteja" @@ -592,7 +596,7 @@ msgid "E277: Unable to read a server rep msgstr "E277: Palvelimen vastauksen lukeminen ei onnistunut" msgid "E655: Too many symbolic links (cycle?)" -msgstr "E655: Liikaa symbolisia linkkejä (sykli)" +msgstr "E655: Liikaa symbolisia linkkejä (mahdollinen sykli)" msgid "E258: Unable to send to client" msgstr "E258: Asiakkaalle lähetys ei onnistunut" @@ -606,14 +610,17 @@ msgstr "(Virheellinen)" msgid "E677: Error writing temp file" msgstr "E677: Väliaikaistiedostoon kirjoittaminen ei onnistunut" +msgid "E805: Using a Float as a Number" +msgstr "E805: Float ei käy Numberista" + msgid "E703: Using a Funcref as a Number" -msgstr "E703: Funcref ei käy numerosta" +msgstr "E703: Funcref ei käy Numberista" msgid "E745: Using a List as a Number" -msgstr "E745: Lista ei käy numerosta" +msgstr "E745: Lista ei käy Numberista" msgid "E728: Using a Dictionary as a Number" -msgstr "E728: Sanakirja ei käy numerosta" +msgstr "E728: Sanakirja ei käy Numberista" msgid "E729: using Funcref as a String" msgstr "E729: Funcref ei käy merkkijonosta" @@ -624,6 +631,9 @@ msgstr "E730: Lista ei käy merkkijonosta" msgid "E731: using Dictionary as a String" msgstr "E731: Sanakirja ei käy merkkijonosta" +msgid "E806: using Float as a String" +msgstr "E806: Float ei käy merkkijonosta" + #, c-format msgid "E704: Funcref variable name must start with a capital: %s" msgstr "E704: Funcrefin muuttujanimen pitää alkaa suuraakkosella: %s" @@ -723,6 +733,136 @@ msgstr "" "\n" "\tViimeksi asetettu kohteesta " +msgid "Entering Debug mode. Type \"cont\" to continue." +msgstr "Siirrytään vianetsintätilaan, kirjoita cont jatkaaksesi." + +#, c-format +msgid "line %ld: %s" +msgstr "rivi %ld: %s" + +#, c-format +msgid "cmd: %s" +msgstr "kmnt: %s" + +#, c-format +msgid "Breakpoint in \"%s%s\" line %ld" +msgstr "Katkaisukohta %s%s rivillä %ld" + +#, c-format +msgid "E161: Breakpoint not found: %s" +msgstr "E161: Katkaisukohta puuttuu: %s" + +msgid "No breakpoints defined" +msgstr "Ei katkaisukohtia" + +#, c-format +msgid "%3d %s %s line %ld" +msgstr "%3d %s %s rivi %ld" + +msgid "E750: First use :profile start " +msgstr "E750: Aloita käskyllä :profile start " + +msgid "Save As" +msgstr "Tallenna nimellä" + +#, c-format +msgid "Save changes to \"%s\"?" +msgstr "Tallennetaanko muutokset tiedostoon %s?" + +msgid "Untitled" +msgstr "Nimetön" + +#, c-format +msgid "E162: No write since last change for buffer \"%s\"" +msgstr "E162: Muutoksia ei ole kirjoitettu puskurin %s viime muutoksen jälkeen" + +msgid "Warning: Entered other buffer unexpectedly (check autocommands)" +msgstr "Varoitus: Puskuri vaihtui odottamatta (tarkista autocommands)" + +msgid "E163: There is only one file to edit" +msgstr "E163: Vain yksi tiedosto muokattavana" + +msgid "E164: Cannot go before first file" +msgstr "E164: Ensimmäisen tiedoston ohi ei voi mennä" + +msgid "E165: Cannot go beyond last file" +msgstr "E165: Viimeisen tiedoston ohi ei voi mennä" + +#, c-format +msgid "E666: compiler not supported: %s" +msgstr "E666: kääntäjää ei tueta: %s" + +#, c-format +msgid "Searching for \"%s\" in \"%s\"" +msgstr "Etsitään ilmausta %s kohteesta %s" + +#, c-format +msgid "Searching for \"%s\"" +msgstr "Etsitään ilmausta %s" + +#, c-format +msgid "not found in 'runtimepath': \"%s\"" +msgstr "ei löydy runtimepathista: %s" + +msgid "Source Vim script" +msgstr "Lataa vim-skripti" + +#, c-format +msgid "Cannot source a directory: \"%s\"" +msgstr "Hakemistoa ei voi ladata: %s" + +#, c-format +msgid "could not source \"%s\"" +msgstr "ei voitu ladata %s" + +#, c-format +msgid "line %ld: could not source \"%s\"" +msgstr "rivi %ld: ei voitu ladata %s" + +#, c-format +msgid "sourcing \"%s\"" +msgstr "ladataan %s" + +#, c-format +msgid "line %ld: sourcing \"%s\"" +msgstr "rivi %ld: ladataan %s" + +#, c-format +msgid "finished sourcing %s" +msgstr "ladattu %s" + +msgid "modeline" +msgstr "mode-rivi" + +msgid "--cmd argument" +msgstr "--cmd-argumentti" + +msgid "-c argument" +msgstr "-c-argumentti" + +msgid "environment variable" +msgstr "ympäristömuuttuja" + +msgid "error handler" +msgstr "virhekäsittelin" + +msgid "W15: Warning: Wrong line separator, ^M may be missing" +msgstr "W15: Varoitus: Väärä rivierotin, ^M saattaa puuttua" + +msgid "E167: :scriptencoding used outside of a sourced file" +msgstr "E167: :scriptencoding ladatun tiedoston ulkopuolella" + +msgid "E168: :finish used outside of a sourced file" +msgstr "E168: :finish ladatun tiedoston ulkopuolella" + +#, c-format +msgid "Current %slanguage: \"%s\"" +msgstr "Käytössä oleva %skieli: %s" + +#, c-format +msgid "E197: Cannot set language to \"%s\"" +msgstr "E197: Kieleksi ei voitu asettaa kieltä %s" + # puhutaan merkin ulkoasusta snprintf(..., c, c, c, c) #, c-format msgid "<%s>%s%s %d, Hex %02x, Octal %03o" @@ -751,7 +891,7 @@ msgid "%ld lines filtered" msgstr "%ld riviä suodatettu" msgid "E135: *Filter* Autocommands must not change current buffer" -msgstr "E135: Suodatin-autocommand ei voi vaihtaa puskuria" +msgstr "E135: *Filter*-autocommand ei voi vaihtaa puskuria" msgid "[No write since last change]\n" msgstr "[Viimeisintä muutosta ei ole kirjoitettu]\n" @@ -809,9 +949,6 @@ msgstr "# encoding-muuttujan arvo tiedos msgid "Illegal starting char" msgstr "Virheellinen aloitusmerkki" -msgid "Save As" -msgstr "Tallenna nimellä" - msgid "Write partial file?" msgstr "Kirjoita osittainen tiedosto" @@ -997,133 +1134,6 @@ msgstr " (ei tuettu)" msgid "[Deleted]" msgstr "[Poistettu]" -msgid "Entering Debug mode. Type \"cont\" to continue." -msgstr "Siirrytään vianetsintätilaan, kirjoita cont jatkaaksesi." - -#, c-format -msgid "line %ld: %s" -msgstr "rivi %ld: %s" - -#, c-format -msgid "cmd: %s" -msgstr "kmnt: %s" - -#, c-format -msgid "Breakpoint in \"%s%s\" line %ld" -msgstr "Katkaisukohta %s%s rivillä %ld" - -#, c-format -msgid "E161: Breakpoint not found: %s" -msgstr "E161: Katkaisukohta puuttuu: %s" - -msgid "No breakpoints defined" -msgstr "Ei katkaisukohtia" - -#, c-format -msgid "%3d %s %s line %ld" -msgstr "%3d %s %s rivi %ld" - -msgid "E750: First use :profile start " -msgstr "E750: Aloita käskyllä :profile start " - -#, c-format -msgid "Save changes to \"%s\"?" -msgstr "Tallennetaanko muutokset tiedostoon %s?" - -msgid "Untitled" -msgstr "Nimetön" - -#, c-format -msgid "E162: No write since last change for buffer \"%s\"" -msgstr "E162: Muutoksia ei ole kirjoitettu puskurin %s viime muutoksen jälkeen" - -msgid "Warning: Entered other buffer unexpectedly (check autocommands)" -msgstr "Varoitus: Puskuri vaihtui odottamatta (tarkista autocommands)" - -msgid "E163: There is only one file to edit" -msgstr "E163: Vain yksi tiedosto muokattavana" - -msgid "E164: Cannot go before first file" -msgstr "E164: Ensimmäisen tiedoston ohi ei voi mennä" - -msgid "E165: Cannot go beyond last file" -msgstr "E165: Viimeisen tiedoston ohi ei voi mennä" - -#, c-format -msgid "E666: compiler not supported: %s" -msgstr "E666: kääntäjää ei tueta: %s" - -#, c-format -msgid "Searching for \"%s\" in \"%s\"" -msgstr "Etsitään ilmausta %s kohteesta %s" - -#, c-format -msgid "Searching for \"%s\"" -msgstr "Etsitään ilmausta %s" - -#, c-format -msgid "not found in 'runtimepath': \"%s\"" -msgstr "ei löydy runtimepathista: %s" - -msgid "Source Vim script" -msgstr "Lataa vim-skripti" - -#, c-format -msgid "Cannot source a directory: \"%s\"" -msgstr "Hakemistoa ei voi ladata: %s" - -#, c-format -msgid "could not source \"%s\"" -msgstr "ei voitu ladata %s" - -#, c-format -msgid "line %ld: could not source \"%s\"" -msgstr "rivi %ld: ei voitu ladata %s" - -#, c-format -msgid "sourcing \"%s\"" -msgstr "ladataan %s" - -#, c-format -msgid "line %ld: sourcing \"%s\"" -msgstr "rivi %ld: ladataan %s" - -#, c-format -msgid "finished sourcing %s" -msgstr "ladattu %s" - -msgid "modeline" -msgstr "mode-rivi" - -msgid "--cmd argument" -msgstr "--cmd-argumentti" - -msgid "-c argument" -msgstr "-c-argumentti" - -msgid "environment variable" -msgstr "ympäristömuuttuja" - -msgid "error handler" -msgstr "virhekäsittelin" - -msgid "W15: Warning: Wrong line separator, ^M may be missing" -msgstr "W15: Varoitus: Väärä rivierotin, ^M saattaa puuttua" - -msgid "E167: :scriptencoding used outside of a sourced file" -msgstr "E167: :scriptencoding ladatun tiedoston ulkopuolella" - -msgid "E168: :finish used outside of a sourced file" -msgstr "E168: :finish ladatun tiedoston ulkopuolella" - -#, c-format -msgid "Current %slanguage: \"%s\"" -msgstr "Käytössä oleva %skieli: %s" - -#, c-format -msgid "E197: Cannot set language to \"%s\"" -msgstr "E197: Kieleksi ei voitu asettaa kieltä %s" - msgid "Entering Ex mode. Type \"visual\" to go to Normal mode." msgstr "Siirrytään Ex-tilaan, kirjoita visual palataksesi normaaliin tilaan." @@ -1845,7 +1855,7 @@ msgid "" "--- Auto-Commands ---" msgstr "" "\n" -"--- Autocommands ---" +"--- Autocommandit ---" #, c-format msgid "E680: : invalid buffer number " @@ -2136,37 +2146,6 @@ msgstr "Ei käytössä" msgid "Directory\t*.nothing\n" msgstr "Hakemisto\t*.nothing\n" -msgid "Invalid font specification" -msgstr "Virheellinen fonttimääritys" - -msgid "&Dismiss" -msgstr "&Ohita" - -msgid "no specific match" -msgstr "ei tarkkaa täsmäystä" - -msgid "Vim - Font Selector" -msgstr "Vim - fonttivalitsin" - -msgid "Name:" -msgstr "Nimi:" - -#. create toggle button -msgid "Show size in Points" -msgstr "Näytä koko pisteinä" - -msgid "Encoding:" -msgstr "Koodaus:" - -msgid "Font:" -msgstr "Fontti:" - -msgid "Style:" -msgstr "Tyyli:" - -msgid "Size:" -msgstr "Koko:" - msgid "Vim E458: Cannot allocate colormap entry, some colors may be incorrect" msgstr "Vim E458: Ei voi varata värikartan alkiota, värit voivat mennä väärin" @@ -2210,6 +2189,37 @@ msgstr "" "Fontti1:n leveys: %ld\n" "\n" +msgid "Invalid font specification" +msgstr "Virheellinen fonttimääritys" + +msgid "&Dismiss" +msgstr "&Ohita" + +msgid "no specific match" +msgstr "ei tarkkaa täsmäystä" + +msgid "Vim - Font Selector" +msgstr "Vim - fonttivalitsin" + +msgid "Name:" +msgstr "Nimi:" + +#. create toggle button +msgid "Show size in Points" +msgstr "Näytä koko pisteinä" + +msgid "Encoding:" +msgstr "Koodaus:" + +msgid "Font:" +msgstr "Fontti:" + +msgid "Style:" +msgstr "Tyyli:" + +msgid "Size:" +msgstr "Koko:" + msgid "E256: Hangul automata ERROR" msgstr "E256: Hangu-automaattivirhe" @@ -2368,15 +2378,15 @@ msgstr "E622: Ei voitu haarauttaa cscope msgid "cs_create_connection exec failed" msgstr "cs_create_connection epäonnistui" -msgid "E623: Could not spawn cscope process" -msgstr "E623: Cscope-prosessin luonti epäonnistui" - msgid "cs_create_connection: fdopen for to_fp failed" msgstr "cs_create_connection: fdopen to_fp epäonnistui" msgid "cs_create_connection: fdopen for fr_fp failed" msgstr "cs_create_connection: fdopen fr_fp epäonnistui" +msgid "E623: Could not spawn cscope process" +msgstr "E623: Cscope-prosessin luonti epäonnistui" + msgid "E567: no cscope connections" msgstr "E567: ei cscope-yhteyksiä" @@ -2534,8 +2544,8 @@ msgid "line number out of range" msgstr "rivinumero arvoalueen ulkopuolella" #, c-format -msgid "" -msgstr "" +msgid "" +msgstr "" msgid "invalid mark name" msgstr "virheellinen merkin nimi" @@ -2553,12 +2563,12 @@ msgid "cursor position outside buffer" msgstr "kursorin sijainti puskurin ulkopuolella" #, c-format -msgid "" -msgstr "" - -#, c-format -msgid "" -msgstr "" +msgid "" +msgstr "" + +#, c-format +msgid "" +msgstr "" #, c-format msgid "" @@ -2635,14 +2645,14 @@ msgstr "Näytä luokka rajoitetussa hierarkiassa" msgid "Xref refers to" msgstr "Xref viittaa kohteeseen" -#~ msgid "Xref referred by" -#~ msgstr "" - -#~ msgid "Xref has a" -#~ msgstr "" - -#~ msgid "Xref used by" -#~ msgstr "" +msgid "Xref referred by" +msgstr "Xref viitattu kohteesta" + +msgid "Xref has a" +msgstr "Xref sisältää kohteen" + +msgid "Xref used by" +msgstr "Xrefiä käyttää" msgid "Show docu of" msgstr "Näytä dokumentti kohteelle" @@ -2650,38 +2660,40 @@ msgstr "Näytä dokumentti kohteelle" msgid "Generate docu for" msgstr "Luo dokumentti kohteelle" -#~ msgid "" -#~ "Cannot connect to SNiFF+. Check environment (sniffemacs must be found in " -#~ "$PATH).\n" -#~ msgstr "" - -#~ msgid "E274: Sniff: Error during read. Disconnected" -#~ msgstr "" - -#~ msgid "SNiFF+ is currently " -#~ msgstr "" - -#~ msgid "not " -#~ msgstr "" - -#~ msgid "connected" -#~ msgstr "" - -#, c-format -#~ msgid "E275: Unknown SNiFF+ request: %s" -#~ msgstr "" - -#~ msgid "E276: Error connecting to SNiFF+" -#~ msgstr "" - -#~ msgid "E278: SNiFF+ not connected" -#~ msgstr "" - -#~ msgid "E279: Not a SNiFF+ buffer" -#~ msgstr "" - -#~ msgid "Sniff: Error during write. Disconnected" -#~ msgstr "" +msgid "" +"Cannot connect to SNiFF+. Check environment (sniffemacs must be found in " +"$PATH).\n" +msgstr "" +"Ei voida yhdistää SNiFF+:aan. Tarkista ympäristömuuttujat (sniffemacsin " +"löytyä polkumuuttujasta $PATH).\n" + +msgid "E274: Sniff: Error during read. Disconnected" +msgstr "E274: Sniff: Virhe luettaessa, yhteys katkaistu" + +msgid "SNiFF+ is currently " +msgstr "SNiFF+ " + +msgid "not " +msgstr "ei ole " + +msgid "connected" +msgstr "yhdistetty" + +#, c-format +msgid "E275: Unknown SNiFF+ request: %s" +msgstr "E275: Tuntematon SNiFF+-pyyntö: %s" + +msgid "E276: Error connecting to SNiFF+" +msgstr "E276: Virhe yhdistettäessä SNiFF+:aan" + +msgid "E278: SNiFF+ not connected" +msgstr "E278: SNiFF+ ei ole yhdistetty" + +msgid "E279: Not a SNiFF+ buffer" +msgstr "E279: Ei ole SNiFF+-puskuri" + +msgid "Sniff: Error during write. Disconnected" +msgstr "Sniff: Virhe kirjoituksessa, yhteys katkaistu" msgid "invalid buffer number" msgstr "virheellinen puskurinumero" @@ -2776,7 +2788,7 @@ msgid "Garbage after option argument" msgstr "Roskaa argumentin perässä" msgid "Too many \"+command\", \"-c command\" or \"--cmd command\" arguments" -msgstr "Liikaa +komentoja, -c komentoja tai --cmd komentoja" +msgstr "Liikaa +komentoja, -c-komentoja tai --cmd-komentoja" msgid "Invalid argument for" msgstr "Väärä argumentti valitsimelle" @@ -3035,10 +3047,11 @@ msgstr "" "--remote-wait-silent sama, mutta älä ilmoita puuttuvasta " "palvelimesta" -msgid "--remote-tab As --remote but open tab page for each file" +msgid "" +"--remote-tab[-wait][-silent] As --remote but use tab page per file" msgstr "" -"--remote-tab kuten --remote, mutta avaa välilehti joka " -"tiedostolle" +"--remote-tab[-wait][-silent] kuten --remote, mutta avaa " +"välilehti joka tiedostolle" msgid "--remote-send \tSend to a Vim server and exit" msgstr "" @@ -3168,9 +3181,8 @@ msgstr "--socketid \tAvaa Vim annet msgid "-P \tOpen Vim inside parent application" msgstr "-P \tAvaa Vim isäntäohjelman sisään" -#, fuzzy -#~ msgid "--windowid \tOpen Vim inside another win32 widget" -#~ msgstr "--socketid \tAvaa Vim annettuun GTK-olioon " +msgid "--windowid \tOpen Vim inside another win32 widget" +msgstr "--windowid \tAvaa Vim annettuun win32-olioon " msgid "No display" msgstr "Ei näyttöä" @@ -3274,8 +3286,8 @@ msgstr "E288: syötemetodi ei tue tyylejä" msgid "E289: input method doesn't support my preedit type" msgstr "E289: syötemetodi ei tue tätä preedit-tyyppiä" -#~ msgid "E290: over-the-spot style requires fontset" -#~ msgstr "" +msgid "E290: over-the-spot style requires fontset" +msgstr "E290: over-the-spot-tyylissä pitää olla fontset" msgid "E291: Your GTK+ is older than 1.2.3. Status area disabled" msgstr "E291: GTK+-versio vanhempi kuin 1.2.3: Tila-alue poistettu käytöstä" @@ -3822,6 +3834,9 @@ msgstr "E338: Sori, tiedostonselain puut msgid "E766: Insufficient arguments for printf()" msgstr "E766: printf():lle ei annettu tarpeeksi argumentteja" +msgid "E807: Expected Float argument for printf()" +msgstr "E807: Odotettiin Float-argumenttia printf():lle" + msgid "E767: Too many arguments to printf()" msgstr "E767: printf():lle annettiin liikaa argumentteja" @@ -3944,7 +3959,6 @@ msgstr "E346: Hakemisto %s ei ole enää cdpathissa" msgid "E347: No more file \"%s\" found in path" msgstr "E347: Tiedosto %s ei ole enää polulla" -#. Get here when the server can't be found. msgid "Cannot connect to Netbeans #2" msgstr "Ei voi yhdistää Netbeans #2:een" @@ -4383,6 +4397,21 @@ msgstr "X-näytön testaus epäonnistui" msgid "Opening the X display timed out" msgstr "X-näytön avaus aikakatkaistiin" +# mikä security context? +msgid "" +"\n" +"Could not get security context for " +msgstr "" +"\n" +"Ei saatu turvallisuuskontekstia kohteelle " + +msgid "" +"\n" +"Could not set security context for " +msgstr "" +"\n" +"Ei voitu asettaa turvallisuuskontekstia kohteelle " + msgid "" "\n" "Cannot execute shell " @@ -4425,8 +4454,8 @@ msgstr "" "\n" "Komento loppui\n" -#~ msgid "XSMP lost ICE connection" -#~ msgstr "" +msgid "XSMP lost ICE connection" +msgstr "XSMP kadotti ICE-yhteyden" #, c-format msgid "dlerror = \"%s\"" @@ -4435,22 +4464,31 @@ msgstr "dlerror = %s" msgid "Opening the X display failed" msgstr "X-näytön avaus epäonnistui" -#~ msgid "XSMP handling save-yourself request" -#~ msgstr "" - -#~ msgid "XSMP opening connection" -#~ msgstr "" - -#~ msgid "XSMP ICE connection watch failed" -#~ msgstr "" - -#, c-format -#~ msgid "XSMP SmcOpenConnection failed: %s" -#~ msgstr "" +msgid "XSMP handling save-yourself request" +msgstr "XSMP käsittelee save-yourself-pyyntöä" + +msgid "XSMP opening connection" +msgstr "XSMP avaa yhteyttä" + +msgid "XSMP ICE connection watch failed" +msgstr "XSMP:n ICE-yhteyden tarkkailu epäonnistui" + +#, c-format +msgid "XSMP SmcOpenConnection failed: %s" +msgstr "XSMP SmcOpenConnection epäonnistui: %s" msgid "At line" msgstr "Rivillä" +msgid "Could not load vim32.dll!" +msgstr "Vim32.dll:ää ei voitu ladata" + +msgid "VIM Error" +msgstr "VIM-virhe" + +msgid "Could not fix up function pointers to the DLL!" +msgstr "Ei voitu korjata funktio-osoittimia DLL:ssä" + #, c-format msgid "shell returned %d" msgstr "kuori palautti arvon %d" @@ -4483,15 +4521,6 @@ msgstr "" msgid "Vim Warning" msgstr "Vim-varoitus" -msgid "Could not load vim32.dll!" -msgstr "Vim32.dll:ää ei voitu ladata" - -msgid "VIM Error" -msgstr "VIM-virhe" - -msgid "Could not fix up function pointers to the DLL!" -msgstr "Ei voitu korjata funktio-osoittimia DLL:ssä" - #, c-format msgid "E372: Too many %%%c in format string" msgstr "E372: Liikaa %%%c-juttuja muotoilumerkkijonossa" @@ -4760,13 +4789,18 @@ msgstr "E388: Määritelmä ei löydy" msgid "E389: Couldn't find pattern" msgstr "E389: kuvio ei löydy" -#, c-format -#~ msgid "" -#~ "\n" -#~ "# Last %sSearch Pattern:\n" -#~ "~" -#~ msgstr "" - +msgid "Substitute " +msgstr "Korvaa " + +#, c-format +msgid "" +"\n" +"# Last %sSearch Pattern:\n" +"~" +msgstr "" +"\n" +"# Edellinen %sHakulauseke:\n" +"~" msgid "E759: Format error in spell file" msgstr "E759: Muotoiluvirhe oikolukutiedostossa" @@ -4782,345 +4816,352 @@ msgstr "Tekstiä rivin perässä tiedostossa %s rivillä %d: %s" msgid "Affix name too long in %s line %d: %s" msgstr "Affiksin nimi on liian pitkä tiedostossa %s rivillä %d: %s" -#~ msgid "E761: Format error in affix file FOL, LOW or UPP" -#~ msgstr "" - -#~ msgid "E762: Character in FOL, LOW or UPP is out of range" -#~ msgstr "" - -#~ msgid "Compressing word tree..." -#~ msgstr "" - -#~ msgid "E756: Spell checking is not enabled" -#~ msgstr "" - -#, c-format -#~ msgid "Warning: Cannot find word list \"%s.%s.spl\" or \"%s.ascii.spl\"" -#~ msgstr "" - -#, c-format -#~ msgid "Reading spell file \"%s\"" -#~ msgstr "" - -#~ msgid "E757: This does not look like a spell file" -#~ msgstr "" - -#~ msgid "E771: Old spell file, needs to be updated" -#~ msgstr "" - -#~ msgid "E772: Spell file is for newer version of Vim" -#~ msgstr "" - -#~ msgid "E770: Unsupported section in spell file" -#~ msgstr "" - -#, c-format -#~ msgid "Warning: region %s not supported" -#~ msgstr "" - -#, c-format -#~ msgid "Reading affix file %s ..." -#~ msgstr "" - -#, c-format -#~ msgid "Conversion failure for word in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Conversion in %s not supported: from %s to %s" -#~ msgstr "" - -#, c-format -#~ msgid "Conversion in %s not supported" -#~ msgstr "" - -#, c-format -#~ msgid "Invalid value for FLAG in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "FLAG after using flags in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "" -#~ "Defining COMPOUNDFORBIDFLAG after PFX item may give wrong results in %s line " -#~ "%d" -#~ msgstr "" - -#, c-format -#~ msgid "" -#~ "Defining COMPOUNDPERMITFLAG after PFX item may give wrong results in %s line " -#~ "%d" -#~ msgstr "" - -#, c-format -#~ msgid "Wrong COMPOUNDWORDMAX value in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Wrong COMPOUNDMIN value in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Wrong COMPOUNDSYLMAX value in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Wrong CHECKCOMPOUNDPATTERN value in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Different combining flag in continued affix block in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Duplicate affix in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "" -#~ "Affix also used for BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST in %s " -#~ "line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Expected Y or N in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Broken condition in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Expected REP(SAL) count in %s line %d" -#~ msgstr "" - -#, c-format -#~ msgid "Expected MAP count in %s line %d" -#~ msgstr "" - -#, c-format -#~ msgid "Duplicate character in MAP in %s line %d" -#~ msgstr "" - -#, c-format -#~ msgid "Unrecognized or duplicate item in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Missing FOL/LOW/UPP line in %s" -#~ msgstr "" - -#~ msgid "COMPOUNDSYLMAX used without SYLLABLE" -#~ msgstr "" - -#~ msgid "Too many postponed prefixes" -#~ msgstr "" - -#~ msgid "Too many compound flags" -#~ msgstr "" - -#~ msgid "Too many posponed prefixes and/or compound flags" -#~ msgstr "" - -#, c-format -#~ msgid "Missing SOFO%s line in %s" -#~ msgstr "" - -#, c-format -#~ msgid "Both SAL and SOFO lines in %s" -#~ msgstr "" - -#, c-format -#~ msgid "Flag is not a number in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Illegal flag in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "%s value differs from what is used in another .aff file" -#~ msgstr "" - -#, c-format -#~ msgid "Reading dictionary file %s ..." -#~ msgstr "" - -#, c-format -#~ msgid "E760: No word count in %s" -#~ msgstr "" - -#, c-format -#~ msgid "line %6d, word %6d - %s" -#~ msgstr "" - -#, c-format -#~ msgid "Duplicate word in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "First duplicate word in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "%d duplicate word(s) in %s" -#~ msgstr "" - -#, c-format -#~ msgid "Ignored %d word(s) with non-ASCII characters in %s" -#~ msgstr "" - -#, c-format -#~ msgid "Reading word file %s ..." -#~ msgstr "" - -#, c-format -#~ msgid "Duplicate /encoding= line ignored in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "/encoding= line after word ignored in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Duplicate /regions= line ignored in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Too many regions in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "/ line ignored in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Invalid region nr in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Unrecognized flags in %s line %d: %s" -#~ msgstr "" - -#, c-format -#~ msgid "Ignored %d words with non-ASCII characters" -#~ msgstr "" - -#, c-format -#~ msgid "Compressed %d of %d nodes; %d (%d%%) remaining" -#~ msgstr "" - -#~ msgid "Reading back spell file..." -#~ msgstr "" +msgid "E761: Format error in affix file FOL, LOW or UPP" +msgstr "E761: Affiksitiedoston FOL-, LOW- tai UPP-muotovirhe " + +msgid "E762: Character in FOL, LOW or UPP is out of range" +msgstr "E762: Merkki FOL:ssä, LOW:ssä tai UPP:ssä ei kuulu arvoalueeseen" + +msgid "Compressing word tree..." +msgstr "Tiivistetään sanapuuta..." + +msgid "E756: Spell checking is not enabled" +msgstr "E756: Oikaisuluku ei ole päällä" + +#, c-format +msgid "Warning: Cannot find word list \"%s.%s.spl\" or \"%s.ascii.spl\"" +msgstr "Varoitus: Ei löydetty sanalistaa %s.%s.spl tai %s.ascii.spl" + +#, c-format +msgid "Reading spell file \"%s\"" +msgstr "Luetaan oikaisulukutiedosta %s" + +msgid "E757: This does not look like a spell file" +msgstr "E757: Ei vaikuta oikaisulukutiedostolta" + +msgid "E771: Old spell file, needs to be updated" +msgstr "E771: Vanha oikaisulukutiedosto vaatii päivittämistä" + +msgid "E772: Spell file is for newer version of Vim" +msgstr "E772: Oikaisulukutiedosto on uudemmalle Vimille" + +msgid "E770: Unsupported section in spell file" +msgstr "E770: Tukematon osio oikaisulukutiedostossa" + +#, c-format +msgid "Warning: region %s not supported" +msgstr "Varoitus: osaa %s ei tueta" + +#, c-format +msgid "Reading affix file %s ..." +msgstr "Luetaan affiksitiedostoa %s..." + +#, c-format +msgid "Conversion failure for word in %s line %d: %s" +msgstr "Muunnosvirhe sanalle %s rivillä %d: %s" + +#, c-format +msgid "Conversion in %s not supported: from %s to %s" +msgstr "Muunnosta kohteessa %s ei tueta: kohteesta %s kohteeseen %s" + +#, c-format +msgid "Conversion in %s not supported" +msgstr "Muutosta kohteessa %s ei tueta" + +#, c-format +msgid "Invalid value for FLAG in %s line %d: %s" +msgstr "Tuntematon FLAG kohteessa %s rivillä %d: %s" + +#, c-format +msgid "FLAG after using flags in %s line %d: %s" +msgstr "FLAG kohteessa %s lippujen jälkeen rivillä %d: %s" + +#, c-format +msgid "" +"Defining COMPOUNDFORBIDFLAG after PFX item may give wrong results in %s line " +"%d" +msgstr "" +"COMPOUNDFORBIDFLAG PFX:n jälkeen voi antaa vääriä tuloksia kohteessa %s " +"rivillä %d" + +#, c-format +msgid "" +"Defining COMPOUNDPERMITFLAG after PFX item may give wrong results in %s line " +"%d" +msgstr "" +"COMPOUNDPERMITFLAG PFX:n jälkeen voi antaa vääriä tuloksia kohteessa %s " +"rivillä %d" + +#, c-format +msgid "Wrong COMPOUNDWORDMAX value in %s line %d: %s" +msgstr "Väärä COMPOUNDWORDMAX-arvo kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Wrong COMPOUNDMIN value in %s line %d: %s" +msgstr "Väärä COMPOUNDMIN-arvo kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Wrong COMPOUNDSYLMAX value in %s line %d: %s" +msgstr "Väärä COMPOUNDSYLMAX-arvo kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Wrong CHECKCOMPOUNDPATTERN value in %s line %d: %s" +msgstr "Väärä CHECKCOMPOUNDPATTERN-arvo kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Different combining flag in continued affix block in %s line %d: %s" +msgstr "" +"Eri yhdistelmälippu jatketussa affiksilohkossa kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Duplicate affix in %s line %d: %s" +msgstr "Kaksoiskappale affiksista kohteessa %s rivillä %d: %s" + +#, c-format +msgid "" +"Affix also used for BAD/RARE/KEEPCASE/NEEDAFFIX/NEEDCOMPOUND/NOSUGGEST in %s " +"line %d: %s" +msgstr "" +"Affiksia käytetty myös BAD-, RARE-, KEEPCASE-, NEEDAFFIX-, NEEDCOMPOUND- tai " +"NOSUGGEST-arvossa kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Expected Y or N in %s line %d: %s" +msgstr "Odotettiin Y:tä tai N:ää kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Broken condition in %s line %d: %s" +msgstr "Viallinen ehto kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Expected REP(SAL) count in %s line %d" +msgstr "Odotettiin REP(SAL)-arvoa kohteessa %s rivillä %d" + +#, c-format +msgid "Expected MAP count in %s line %d" +msgstr "Odotettiin MAP-arvoa kohteessa %s rivillä %d" + +#, c-format +msgid "Duplicate character in MAP in %s line %d" +msgstr "Kaksoiskappale merkistä MAP:ssä kohteessa %s rivillä %d" + +#, c-format +msgid "Unrecognized or duplicate item in %s line %d: %s" +msgstr "Tunnistamaton tai kaksoiskappale arvosta kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Missing FOL/LOW/UPP line in %s" +msgstr "Puuttuva FOL, LOW tai UPP rivi kohteessa %s" + +msgid "COMPOUNDSYLMAX used without SYLLABLE" +msgstr "COMPOUNDSYLMAX ilman SYLLABLEa" + +msgid "Too many postponed prefixes" +msgstr "Liikaa jälkikäteistettyjä prefiksejä" + +msgid "Too many compound flags" +msgstr "Liikaa yhdyssanalippuja" + +msgid "Too many posponed prefixes and/or compound flags" +msgstr "Liikaa jälkikäteistettyjä prefiksejä tai yhdyssanalippuja" + +#, c-format +msgid "Missing SOFO%s line in %s" +msgstr "Puuttuva SOFO%s-rivi kohteessa %s" + +#, c-format +msgid "Both SAL and SOFO lines in %s" +msgstr "SAL- ja SOFO-rivit kohteessa %s" + +#, c-format +msgid "Flag is not a number in %s line %d: %s" +msgstr "Lippu ei ole lukuarvo kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Illegal flag in %s line %d: %s" +msgstr "Tuntematon lippu kohteessa %s rivillä %d: %s" + +#, c-format +msgid "%s value differs from what is used in another .aff file" +msgstr "%s-arvo eroaa toisessa .aff-tiedostossa olevasta" + +#, c-format +msgid "Reading dictionary file %s ..." +msgstr "Luetaan sanakirjatiedostoa %s" + +#, c-format +msgid "E760: No word count in %s" +msgstr "E760: Ei sanalaskuria kohteessa %s" + +#, c-format +msgid "line %6d, word %6d - %s" +msgstr "rivi %6d, sana %6d - %s" + +#, c-format +msgid "Duplicate word in %s line %d: %s" +msgstr "Toistettu sana kohteessa %s rivillä %d: %s" + +#, c-format +msgid "First duplicate word in %s line %d: %s" +msgstr "Ensimmäinen kappale kohteessa %s rivillä %d: %s" + +#, c-format +msgid "%d duplicate word(s) in %s" +msgstr "toistettuja sanoja %d kohteessa %s" + +#, c-format +msgid "Ignored %d word(s) with non-ASCII characters in %s" +msgstr "Ei-ASCII-merkkien takia ohitettuja sanoja %d kohteessa %s" + +#, c-format +msgid "Reading word file %s ..." +msgstr "Luetaan sanatiedostoa %s..." + +#, c-format +msgid "Duplicate /encoding= line ignored in %s line %d: %s" +msgstr "Toistettu /encoding= ohitettu kohteessa %s rivillä %d: %s" + +#, c-format +msgid "/encoding= line after word ignored in %s line %d: %s" +msgstr "/encoding= sanojen jälkeen ohitettu kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Duplicate /regions= line ignored in %s line %d: %s" +msgstr "Toistettu /regions= ohitettu kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Too many regions in %s line %d: %s" +msgstr "Liikaa regionseja kohteessa %s rivillä %d: %s" + +#, c-format +msgid "/ line ignored in %s line %d: %s" +msgstr "/ ohitettu kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Invalid region nr in %s line %d: %s" +msgstr "Virheellinen region-luku kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Unrecognized flags in %s line %d: %s" +msgstr "Tunnistamaton lippu kohteessa %s rivillä %d: %s" + +#, c-format +msgid "Ignored %d words with non-ASCII characters" +msgstr "Ei-ASCIIn takia ohitettuja sanoja %d" + +#, c-format +msgid "Compressed %d of %d nodes; %d (%d%%) remaining" +msgstr "Tiivistetty %d/%d noodia. %d (%d %%) jäljellä" + +msgid "Reading back spell file..." +msgstr "Luetaan taas oikaisulukutiedostoa..." #. #. * Go through the trie of good words, soundfold each word and add it to #. * the soundfold trie. #. -#~ msgid "Performing soundfolding..." -#~ msgstr "" - -#, c-format -#~ msgid "Number of words after soundfolding: %ld" -#~ msgstr "" - -#, c-format -#~ msgid "Total number of words: %d" -#~ msgstr "" - -#, c-format -#~ msgid "Writing suggestion file %s ..." -#~ msgstr "" - -#, c-format -#~ msgid "Estimated runtime memory use: %d bytes" -#~ msgstr "" - -#~ msgid "E751: Output file name must not have region name" -#~ msgstr "" - -#~ msgid "E754: Only up to 8 regions supported" -#~ msgstr "" - -#, c-format -#~ msgid "E755: Invalid region in %s" -#~ msgstr "" - -#~ msgid "Warning: both compounding and NOBREAK specified" -#~ msgstr "" - -#, c-format -#~ msgid "Writing spell file %s ..." -#~ msgstr "" - -#~ msgid "Done!" -#~ msgstr "" - -#, c-format -#~ msgid "E765: 'spellfile' does not have %ld entries" -#~ msgstr "" - -#, c-format -#~ msgid "Word removed from %s" -#~ msgstr "" - -#, c-format -#~ msgid "Word added to %s" -#~ msgstr "" - -#~ msgid "E763: Word characters differ between spell files" -#~ msgstr "" - -#~ msgid "Sorry, no suggestions" -#~ msgstr "" - -#, c-format -#~ msgid "Sorry, only %ld suggestions" -#~ msgstr "" +msgid "Performing soundfolding..." +msgstr "Ääntämyksen mukaan yhdistellään..." + +#, c-format +msgid "Number of words after soundfolding: %ld" +msgstr "Sanoja ääntämysyhdistelyn jälkeen: %ld" + +#, c-format +msgid "Total number of words: %d" +msgstr "Sanoja yhteensä: %d" + +#, c-format +msgid "Writing suggestion file %s ..." +msgstr "Kirjoitetaan ehdotustiedostoa %s..." + +#, c-format +msgid "Estimated runtime memory use: %d bytes" +msgstr "Arvioitu käyttömuisti: %d tavua" + +msgid "E751: Output file name must not have region name" +msgstr "E751: Tulostetiedostonimessä ei saa olla alueen nimeä" + +msgid "E754: Only up to 8 regions supported" +msgstr "E754: Enintään 8 aluetta tuetaan" + +#, c-format +msgid "E755: Invalid region in %s" +msgstr "E755: Virheellinen alue kohteelle %s" + +msgid "Warning: both compounding and NOBREAK specified" +msgstr "Varoitus: sekä yhdyssanamuodostus että NOBREAK käytössä" + +#, c-format +msgid "Writing spell file %s ..." +msgstr "Kirjoitetaan oikaisulukutiedostoa %s..." + +msgid "Done!" +msgstr "Valmista." + +#, c-format +msgid "E765: 'spellfile' does not have %ld entries" +msgstr "E765: spellfile ei sisällä %ld kohtaa" + +#, c-format +msgid "Word removed from %s" +msgstr "Sana poistettu kohteesta %s" + +#, c-format +msgid "Word added to %s" +msgstr "Sana lisätty kohteeseen %s" + +msgid "E763: Word characters differ between spell files" +msgstr "E763: Sanan merkit muuttuvat oikaisulukutiedostojen välillä" + +msgid "Sorry, no suggestions" +msgstr "Sori, ei ehdotuksia" + +#, c-format +msgid "Sorry, only %ld suggestions" +msgstr "Sori, vain %ld ehdotusta" #. for when 'cmdheight' > 1 #. avoid more prompt #, c-format -#~ msgid "Change \"%.*s\" to:" -#~ msgstr "" - -#, c-format -#~ msgid " < \"%.*s\"" -#~ msgstr "" - -#~ msgid "E752: No previous spell replacement" -#~ msgstr "" - -#, c-format -#~ msgid "E753: Not found: %s" -#~ msgstr "" - -#, c-format -#~ msgid "E778: This does not look like a .sug file: %s" -#~ msgstr "" - -#, c-format -#~ msgid "E779: Old .sug file, needs to be updated: %s" -#~ msgstr "" - -#, c-format -#~ msgid "E780: .sug file is for newer version of Vim: %s" -#~ msgstr "" - -#, c-format -#~ msgid "E781: .sug file doesn't match .spl file: %s" -#~ msgstr "" - -#, c-format -#~ msgid "E782: error while reading .sug file: %s" -#~ msgstr "" +msgid "Change \"%.*s\" to:" +msgstr "Muuta %.*s:" + +#, c-format +msgid " < \"%.*s\"" +msgstr " < %.*s" + +msgid "E752: No previous spell replacement" +msgstr "E752: Ei edellistä oikaisulukukorjausta" + +#, c-format +msgid "E753: Not found: %s" +msgstr "E753: Ei löytynyt: %s" + +#, c-format +msgid "E778: This does not look like a .sug file: %s" +msgstr "E778: Ei vaikuta .sug-tiedostolta: %s" + +#, c-format +msgid "E779: Old .sug file, needs to be updated: %s" +msgstr "E779: Vanha .sug-tiedosto pitää päivittää: %s" + +#, c-format +msgid "E780: .sug file is for newer version of Vim: %s" +msgstr "E780: .sug-tiedosto on uudemmalle Vimille: %s" + +#, c-format +msgid "E781: .sug file doesn't match .spl file: %s" +msgstr "E781: .sug-tiedosto ei täsmää .spl-tiedostoon: %s" + +#, c-format +msgid "E782: error while reading .sug file: %s" +msgstr "E782: virhe luettaessa .sug-tiedostoa: %s" #. This should have been checked when generating the .spl #. * file. -#~ msgid "E783: duplicate char in MAP entry" -#~ msgstr "" +msgid "E783: duplicate char in MAP entry" +msgstr "E783: kaksoiskappale merkistä MAP-kohdassa" #, c-format msgid "E390: Illegal argument: %s" @@ -5326,8 +5367,8 @@ msgstr "E425: Ei voida mennä ensimmäistä täsmäävää tägiä alummaksi" msgid "E426: tag not found: %s" msgstr "E426: tägi puuttuu: %s" -#~ msgid " # pri kind tag" -#~ msgstr "" +msgid " # pri kind tag" +msgstr " # arvo tyyppi tägi" msgid "file\n" msgstr "tiedosto\n" @@ -5350,8 +5391,8 @@ msgstr "tägi %d/%d%s" msgid " or more" msgstr " tai useammasta" -#~ msgid " Using tag with different case!" -#~ msgstr "" +msgid " Using tag with different case!" +msgstr " Tägissä eri kirjaintaso" #, c-format msgid "E429: File \"%s\" does not exist" @@ -5370,8 +5411,8 @@ msgid "Searching tags file %s" msgstr "Etsitään tägitiedostoa %s" #, c-format -#~ msgid "E430: Tag file path truncated for %s\n" -#~ msgstr "" +msgid "E430: Tag file path truncated for %s\n" +msgstr "E430: Tägitiedoston polku katkaistu kohdassa %s\n" #, c-format msgid "E431: Format error in tags file \"%s\"" @@ -5516,7 +5557,7 @@ msgid "" "MS-Windows 32-bit GUI version" msgstr "" "\n" -"MS-Windows 32-bitars GUI-version" +"MS-Windows 32-bittinen GUI-version" msgid " in Win32s mode" msgstr " Win32s-tilassa" @@ -5526,31 +5567,38 @@ msgstr " OLE-tuella" msgid "" "\n" +"MS-Windows 64-bit console version" +msgstr "" +"\n" +"MS-Windows 32-bittinen konsoliversio" + +msgid "" +"\n" "MS-Windows 32-bit console version" msgstr "" "\n" -"MS-Windows 32-bitars konsollversion" +"MS-Windows 32-bittinen konsoliversio" msgid "" "\n" "MS-Windows 16-bit version" msgstr "" "\n" -"MS-Windows 16-bitars version" +"MS-Windows 16-bittinen versio" msgid "" "\n" "32-bit MS-DOS version" msgstr "" "\n" -"32-bitars MS-DOS-version" +"32-bittinen MS-DOS-versio" msgid "" "\n" "16-bit MS-DOS version" msgstr "" "\n" -"16-bitars MS-DOS-version" +"16-bittinen MS-DOS-versio" msgid "" "\n" @@ -5585,7 +5633,7 @@ msgid "" "Included patches: " msgstr "" "\n" -"Inkluderade patchar: " +"Pätsit: " msgid "Modified by " msgstr "Muokannut " @@ -5605,35 +5653,35 @@ msgid "" "Huge version " msgstr "" "\n" -"Enorm version " +"Huge-versio " msgid "" "\n" "Big version " msgstr "" "\n" -"Stor version " +"Big-version " msgid "" "\n" "Normal version " msgstr "" "\n" -"Normal version " +"Normal-versio " msgid "" "\n" "Small version " msgstr "" "\n" -"Liten version " +"Small-versio " msgid "" "\n" "Tiny version " msgstr "" "\n" -"Jätteliten version " +"Tiny-versio " msgid "without GUI." msgstr "ilman GUIta." @@ -5735,7 +5783,7 @@ msgid "version " msgstr "versio " msgid "by Bram Moolenaar et al." -msgstr "tekijät Bram Molenaar et al." +msgstr "tekijät Bram Moolenaar et al." msgid "Vim is open source and freely distributable" msgstr "Vim on avointa lähdekoodia ja vapaasti jaossa" @@ -5744,28 +5792,28 @@ msgid "Help poor children in Uganda!" msgstr "Auta Ugandan köyhiä lapsia" msgid "type :help iccf for information " -msgstr "kirjoita :help iccf lisätietoa varten" +msgstr "kirjoita :help iccf lisätietoa varten " msgid "type :q to exit " -msgstr "kirjoita :q lopettaaksesi" +msgstr "kirjoita :q lopettaaksesi " msgid "type :help or for on-line help" -msgstr "kirjoita :help tai ohjetta varten" +msgstr "kirjoita :help tai ohjetta varten " msgid "type :help version7 for version info" -msgstr "kirjoita :help version7 versiotietoja varten" +msgstr "kirjoita :help version7 versiotietoja varten " msgid "Running in Vi compatible mode" msgstr "Suoritetaan Vi-yhteensopivuustilaa" msgid "type :set nocp for Vim defaults" -msgstr "kirjoita :set nocp Vimin oletuksiin" +msgstr "kirjoita :set nocp Vimin oletuksiin " msgid "type :help cp-default for info on this" msgstr "kirjoita :help cp-default ohjetta oletuksista varten" msgid "menu Help->Orphans for information " -msgstr "valikko Ohje->Orvot lisätietoja varten" +msgstr "valikko Ohje->Orvot lisätietoja varten " msgid "Running modeless, typed text is inserted" msgstr "Suoritetaan tilattomana, kirjoitettu teksti syötetään" @@ -5887,8 +5935,8 @@ msgstr "E11: Virheellinen komentorivi-ik msgid "E12: Command not allowed from exrc/vimrc in current dir or tag search" msgstr "" -"E12: Kommando inte tillåtet från exrc/vimrc i aktuell katalog eller " -"taggsökning" +"E12: Komentoa ei tueta exrc:ssä tai vimrc:ssä tässä hakemistossa tai" +" tägihaussa" msgid "E171: Missing :endif" msgstr "E171: :endif puuttuu" diff --git a/src/po/fr.po b/src/po/fr.po --- a/src/po/fr.po +++ b/src/po/fr.po @@ -5314,7 +5314,7 @@ msgstr "Trop de préfixes reportés (PFXPOSTPONE)" msgid "Too many compound flags" msgstr "Trop de drapeaux de composition" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "Trop de préfixes reportés et/ou de drapeaux de composition" #, c-format diff --git a/src/po/ga.po b/src/po/ga.po --- a/src/po/ga.po +++ b/src/po/ga.po @@ -4979,7 +4979,7 @@ msgstr "An iomarca réimíreanna curtha siar" msgid "Too many compound flags" msgstr "An iomarca bratach comhfhocail" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "An iomarca réimíreanna curtha siar agus/nó bratacha comhfhocal" #, c-format diff --git a/src/po/it.po b/src/po/it.po --- a/src/po/it.po +++ b/src/po/it.po @@ -12,8 +12,8 @@ msgid "" msgstr "" "Project-Id-Version: vim 7.2\n" -"POT-Creation-Date: 2008-06-25 09:10+0200\n" -"PO-Revision-Date: 2008-06-27 23:00+0200\n" +"POT-Creation-Date: 2008-07-18 23:42+0200\n" +"PO-Revision-Date: 2008-07-18 23:42+0200\n" "Last-Translator: Vlad Sandrini \n" "Language-Team: Italian" " Antonio Colombo " @@ -599,17 +599,17 @@ msgstr "(Non valido)" msgid "E677: Error writing temp file" msgstr "E677: Errore in scrittura su file temporaneo" -msgid "E805: Using a Float as a number" +msgid "E805: Using a Float as a Number" msgstr "E805: Uso di un numero con virgola come intero" -msgid "E703: Using a Funcref as a number" -msgstr "E703: Uso di Funcref come numero" - -msgid "E745: Using a List as a number" -msgstr "E745: Uso di Lista come numero" - -msgid "E728: Using a Dictionary as a number" -msgstr "E728: Uso di Dizionario come numero" +msgid "E703: Using a Funcref as a Number" +msgstr "E703: Uso di Funcref come Numero" + +msgid "E745: Using a List as a Number" +msgstr "E745: Uso di Lista come Numero" + +msgid "E728: Using a Dictionary as a Number" +msgstr "E728: Uso di Dizionario come Numero" msgid "E729: using Funcref as a String" msgstr "E729: uso di Funcref come Stringa" @@ -4768,6 +4768,9 @@ msgstr "E388: Non sono riuscito a trovar msgid "E389: Couldn't find pattern" msgstr "E389: Non sono riuscito a trovare il modello" +msgid "Substitute " +msgstr "Sostituisci " + #, c-format msgid "" "\n" @@ -4938,7 +4941,7 @@ msgstr "Troppi suffissi" msgid "Too many compound flags" msgstr "Troppi flag composti" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "Troppi suffissi e/o flag composti" #, c-format diff --git a/src/po/ja.po b/src/po/ja.po --- a/src/po/ja.po +++ b/src/po/ja.po @@ -4923,7 +4923,7 @@ msgstr "ÃÙ±ä¸åÃÖ»Ò¤¬Â¿¤¹¤®¤Þ¤¹" msgid "Too many compound flags" msgstr "Ê£¹ç¥Õ¥é¥°¤¬Â¿²á¤®¤Þ¤¹" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "ÃÙ±ä¸åÃÖ»Ò ¤È/¤â¤·¤¯¤Ï Ê£¹ç¥Õ¥é¥°¤¬Â¿¤¹¤®¤Þ¤¹" #, c-format diff --git a/src/po/ja.sjis.po b/src/po/ja.sjis.po --- a/src/po/ja.sjis.po +++ b/src/po/ja.sjis.po @@ -4923,7 +4923,7 @@ msgstr "’x‰„Œã’uŽq‚ª‘½‚·‚¬‚Ü‚·" msgid "Too many compound flags" msgstr "•¡‡ƒtƒ‰ƒO‚ª‘½‰ß‚¬‚Ü‚·" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "’x‰„Œã’uŽq ‚Æ/‚à‚µ‚­‚Í •¡‡ƒtƒ‰ƒO‚ª‘½‚·‚¬‚Ü‚·" #, c-format diff --git a/src/po/no.po b/src/po/no.po --- a/src/po/no.po +++ b/src/po/no.po @@ -4894,7 +4894,7 @@ msgstr "For mange utsatte forstavelser" msgid "Too many compound flags" msgstr "For mange sammensatte flagg" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "For mange utsatte forstavelser og/eller sammensatte flagg" #, c-format diff --git a/src/po/pl.UTF-8.po b/src/po/pl.UTF-8.po --- a/src/po/pl.UTF-8.po +++ b/src/po/pl.UTF-8.po @@ -4916,7 +4916,7 @@ msgstr "Zbyt wiele opóźnionych prefiksów" msgid "Too many compound flags" msgstr "Zbyt wiele flag zÅ‚ożeÅ„" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "Zbyt wiele opóźnionych prefiksów i/lub flag zÅ‚ożeÅ„" #, c-format diff --git a/src/po/pl.cp1250.po b/src/po/pl.cp1250.po --- a/src/po/pl.cp1250.po +++ b/src/po/pl.cp1250.po @@ -4916,7 +4916,7 @@ msgstr "Zbyt wiele opóŸnionych prefiksów" msgid "Too many compound flags" msgstr "Zbyt wiele flag z³o¿eñ" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "Zbyt wiele opóŸnionych prefiksów i/lub flag z³o¿eñ" #, c-format diff --git a/src/po/pl.po b/src/po/pl.po --- a/src/po/pl.po +++ b/src/po/pl.po @@ -4916,7 +4916,7 @@ msgstr "Zbyt wiele opó¼nionych prefiksów" msgid "Too many compound flags" msgstr "Zbyt wiele flag z³o¿eñ" -msgid "Too many posponed prefixes and/or compound flags" +msgid "Too many postponed prefixes and/or compound flags" msgstr "Zbyt wiele opó¼nionych prefiksów i/lub flag z³o¿eñ" #, c-format diff --git a/src/po/pt_BR.po b/src/po/pt_BR.po new file mode 100644 --- /dev/null +++ b/src/po/pt_BR.po @@ -0,0 +1,6131 @@ +# Brazilian Portuguese Translation for Vim vim:set foldmethod=marker: +# +msgid "" +msgstr "" +"Project-Id-Version: Vim 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-07-11 19:38-0300\n" +"PO-Revision-Date: 2008-07-13 13:14-0300\n" +"Last-Translator: Eduardo S. Dobay \n" +"Language-Team: Brazilian Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "E82: Cannot allocate any buffer, exiting..." +msgstr "E82: Não foi possível alocar nenhum buffer, saindo do Vim..." + +msgid "E83: Cannot allocate buffer, using other one..." +msgstr "E83: Impossível alocar buffer; tentando usar outro..." + +msgid "E515: No buffers were unloaded" +msgstr "E515: Nenhum buffer foi descarregado" + +msgid "E516: No buffers were deleted" +msgstr "E516: Nenhum buffer foi apagado" + +msgid "E517: No buffers were wiped out" +msgstr "E517: Nenhum buffer foi eliminado" + +msgid "1 buffer unloaded" +msgstr "1 buffer descarregado" + +#, c-format +msgid "%d buffers unloaded" +msgstr "%d buffers descarregados" + +msgid "1 buffer deleted" +msgstr "1 buffer apagado" + +#, c-format +msgid "%d buffers deleted" +msgstr "%d buffers apagados" + +msgid "1 buffer wiped out" +msgstr "1 buffer eliminado" + +#, c-format +msgid "%d buffers wiped out" +msgstr "%d buffers eliminados" + +msgid "E84: No modified buffer found" +msgstr "E84: Não foram encontrados buffers modificados" + +#. back where we started, didn't find anything. +msgid "E85: There is no listed buffer" +msgstr "E85: Não há buffers listados" + +#, c-format +msgid "E86: Buffer %ld does not exist" +msgstr "E86: Buffer %ld não existe" + +msgid "E87: Cannot go beyond last buffer" +msgstr "E87: Não é possível ir além do último buffer" + +msgid "E88: Cannot go before first buffer" +msgstr "E88: Não é possível ir para antes do primeiro buffer" + +#, c-format +msgid "E89: No write since last change for buffer %ld (add ! to override)" +msgstr "E89: Alterações no buffer %ld não foram gravadas (adicione ! para forçar)" + +msgid "E90: Cannot unload last buffer" +msgstr "E90: Impossível descarregar último buffer" + +msgid "W14: Warning: List of file names overflow" +msgstr "W14: Aviso: Estouro da lista de nomes de arquivos" + +#, c-format +msgid "E92: Buffer %ld not found" +msgstr "E92: Buffer %ld não encontrado" + +#, c-format +msgid "E93: More than one match for %s" +msgstr "E93: Mais de uma correspondência com %s" + +#, c-format +msgid "E94: No matching buffer for %s" +msgstr "E94: Nenhum buffer coincide com %s" + +#, c-format +msgid "line %ld" +msgstr "linha %ld" + +msgid "E95: Buffer with this name already exists" +msgstr "E95: Já existe um buffer com esse nome" + +msgid " [Modified]" +msgstr " [Modificado]" + +msgid "[Not edited]" +msgstr "[Não editado]" + +msgid "[New file]" +msgstr "[Novo arquivo]" + +msgid "[Read errors]" +msgstr "[Erros de leitura]" + +msgid "[readonly]" +msgstr "[somente-leitura]" + +#, c-format +msgid "1 line --%d%%--" +msgstr "1 linha --%d%%--" + +#, c-format +msgid "%ld lines --%d%%--" +msgstr "%ld linhas --%d%%--" + +#, c-format +msgid "line %ld of %ld --%d%%-- col " +msgstr "linha %ld de %ld --%d%%-- col " + +msgid "[No Name]" +msgstr "[Sem nome]" + +#. must be a help buffer +msgid "help" +msgstr "ajuda" + +msgid "[Help]" +msgstr "[Ajuda]" + +msgid "[Preview]" +msgstr "[Visualização]" + +msgid "All" +msgstr "Tudo" + +msgid "Bot" +msgstr "Fim" + +msgid "Top" +msgstr "Topo" + +#, c-format +msgid "" +"\n" +"# Buffer list:\n" +msgstr "" +"\n" +"# Lista de buffers:\n" + +msgid "[Location List]" +msgstr "[Lista de locais]" + +msgid "[Quickfix List]" +msgstr "[Lista quickfix]" + +msgid "" +"\n" +"--- Signs ---" +msgstr "" +"\n" +"--- Sinais ---" + +#, c-format +msgid "Signs for %s:" +msgstr "Sinais para %s:" + +#, c-format +msgid " line=%ld id=%d name=%s" +msgstr " linha=%ld id=%d nome=%s" + +#, c-format +msgid "E96: Can not diff more than %ld buffers" +msgstr "E96: Não é possível usar diff com mais de %ld buffers" + +msgid "E97: Cannot create diffs" +msgstr "E97: diff não funcionou" + +msgid "Patch file" +msgstr "Selecionar arquivo de patch" + +msgid "E98: Cannot read diff output" +msgstr "E98: Não foi possível ler o resultado do diff" + +msgid "E99: Current buffer is not in diff mode" +msgstr "E99: O buffer atual não está no modo diff" + +msgid "E793: No other buffer in diff mode is modifiable" +msgstr "E793: Não há nenhum outro buffer modificável em modo diff" + +msgid "E100: No other buffer in diff mode" +msgstr "E100: Não há nenhum outro buffer no modo diff" + +msgid "E101: More than two buffers in diff mode, don't know which one to use" +msgstr "E101: Há mais de dois buffers no modo diff; não sei quais usar" + +#, c-format +msgid "E102: Can't find buffer \"%s\"" +msgstr "E102: Buffer \"%s\" não encontrado" + +#, c-format +msgid "E103: Buffer \"%s\" is not in diff mode" +msgstr "E103: Buffer \"%s\" não está no modo diff" + +msgid "E787: Buffer changed unexpectedly" +msgstr "E787: Buffer foi alterado inesperadamente" + +msgid "E104: Escape not allowed in digraph" +msgstr "E104: Caractere escape não é permitido em dígrafos" + +msgid "E544: Keymap file not found" +msgstr "E544: Arquivo de mapa de teclado não encontrado" + +msgid "E105: Using :loadkeymap not in a sourced file" +msgstr "E105: :loadkeymap usado fora de um script Vim" + +msgid "E791: Empty keymap entry" +msgstr "E791: Entrada vazia no mapa de teclado" + +msgid " Keyword completion (^N^P)" +msgstr " Completar palavra-chave (^N^P)" + +#. ctrl_x_mode == 0, ^P/^N compl. +msgid " ^X mode (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)" +msgstr " modo ^X (^]^D^E^F^I^K^L^N^O^Ps^U^V^Y)" + +msgid " Whole line completion (^L^N^P)" +msgstr " Completar linha inteira (^L^N^P)" + +msgid " File name completion (^F^N^P)" +msgstr " Completar nome de arquivo (^F^N^P)" + +msgid " Tag completion (^]^N^P)" +msgstr " Completar marcador (^]^N^P)" + +msgid " Path pattern completion (^N^P)" +msgstr " Completar padrão de caminho (^N^P)" + +msgid " Definition completion (^D^N^P)" +msgstr " Completar definição (^D^N^P)" + +msgid " Dictionary completion (^K^N^P)" +msgstr " Completar do dicionário (^K^N^P)" + +msgid " Thesaurus completion (^T^N^P)" +msgstr " Completar do dicionário de sinônimos (^T^N^P)" + +msgid " Command-line completion (^V^N^P)" +msgstr " Completar da linha de comando (^V^N^P)" + +msgid " User defined completion (^U^N^P)" +msgstr " Completar definido pelo usuário (^U^N^P)" + +msgid " Omni completion (^O^N^P)" +msgstr " Completação inteligente (^O^N^P)" + +msgid " Spelling suggestion (s^N^P)" +msgstr " Sugestão de ortografia (s^N^P)" + +msgid " Keyword Local completion (^N^P)" +msgstr " Completar palavra-chave local (^N^P)" + +msgid "Hit end of paragraph" +msgstr "Fim do parágrafo atingido" + +msgid "'dictionary' option is empty" +msgstr "opção 'dictionary' vazia" + +msgid "'thesaurus' option is empty" +msgstr "opção 'thesaurus' vazia" + +#, c-format +msgid "Scanning dictionary: %s" +msgstr "Examinando dicionário: %s" + +msgid " (insert) Scroll (^E/^Y)" +msgstr " (inserção) Rolagem (^E/^Y)" + +msgid " (replace) Scroll (^E/^Y)" +msgstr " (substituição) Rolagem (^E/^Y)" + +#, c-format +msgid "Scanning: %s" +msgstr "Examinando: %s" + +#, c-format +msgid "Scanning tags." +msgstr "Examinando tags." + +msgid " Adding" +msgstr " Adicionando" + +#. showmode might reset the internal line pointers, so it must +#. * be called before line = ml_get(), or when this address is no +#. * longer needed. -- Acevedo. +#. +msgid "-- Searching..." +msgstr "-- Procurando..." + +msgid "Back at original" +msgstr "De volta ao original" + +msgid "Word from other line" +msgstr "Palavra de outra linha" + +msgid "The only match" +msgstr "A única correspondência" + +#, c-format +msgid "match %d of %d" +msgstr "correspondência %d de %d" + +#, c-format +msgid "match %d" +msgstr "correspondência %d" + +msgid "E18: Unexpected characters in :let" +msgstr "E18: Caracteres inesperados em :let" + +#, c-format +msgid "E684: list index out of range: %ld" +msgstr "E684: índice da lista fora dos limites: %ld" + +#, c-format +msgid "E121: Undefined variable: %s" +msgstr "E121: Variável indefinida: %s" + +msgid "E111: Missing ']'" +msgstr "E111: ']' faltando" + +#, c-format +msgid "E686: Argument of %s must be a List" +msgstr "E686: Argumento de %s deve ser uma Lista" + +#, c-format +msgid "E712: Argument of %s must be a List or Dictionary" +msgstr "E712: Argumento de %s deve ser uma Lista ou Dicionário" + +msgid "E713: Cannot use empty key for Dictionary" +msgstr "E713: Impossível usar chave vazia num Dicionário" + +msgid "E714: List required" +msgstr "E714: Lista requerida" + +msgid "E715: Dictionary required" +msgstr "E715: Dicionário requerido" + +#, c-format +msgid "E118: Too many arguments for function: %s" +msgstr "E118: Muitos argumentos para a função: %s" + +#, c-format +msgid "E716: Key not present in Dictionary: %s" +msgstr "E716: Chave inexistente no Dicionário: %s" + +#, c-format +msgid "E122: Function %s already exists, add ! to replace it" +msgstr "E122: Função %s já existe, adicione ! para substituí-la" + +msgid "E717: Dictionary entry already exists" +msgstr "E717: Entrada do Dicionário já existente" + +msgid "E718: Funcref required" +msgstr "E718: Referência de função (Funcref) requerida" + +msgid "E719: Cannot use [:] with a Dictionary" +msgstr "E719: Não é possível usar [:] com um Dicionário" + +#, c-format +msgid "E734: Wrong variable type for %s=" +msgstr "E734: Variável de tipo errado para %s=" + +#, c-format +msgid "E130: Unknown function: %s" +msgstr "E130: Função desconhecida: %s" + +#, c-format +msgid "E461: Illegal variable name: %s" +msgstr "E461: Nome ilegal para variável: %s" + +msgid "E687: Less targets than List items" +msgstr "E687: Há menos destinos que itens na Lista" + +msgid "E688: More targets than List items" +msgstr "E688: Há mais destinos que itens na Lista" + +msgid "Double ; in list of variables" +msgstr "; duplo na lista de variáveis" + +#, c-format +msgid "E738: Can't list variables for %s" +msgstr "E738: Impossível listar variáveis %s" + +msgid "E689: Can only index a List or Dictionary" +msgstr "E689: Só Listas ou Dicionários podem ser indexados" + +msgid "E708: [:] must come last" +msgstr "E708: [:] deve vir por último" + +msgid "E709: [:] requires a List value" +msgstr "E709: [:] requer uma Lista" + +msgid "E710: List value has more items than target" +msgstr "E710: a Lista tem mais itens que o destino" + +msgid "E711: List value has not enough items" +msgstr "E711: a Lista não tem itens suficientes" + +msgid "E690: Missing \"in\" after :for" +msgstr "E690: \"in\" faltando após :for" + +#, c-format +msgid "E107: Missing braces: %s" +msgstr "E107: Parênteses faltando: %s" + +#, c-format +msgid "E108: No such variable: \"%s\"" +msgstr "E108: Variável inexistente: \"%s\"" + +msgid "E743: variable nested too deep for (un)lock" +msgstr "E743: variável aninhada demais para ser (des)bloqueada" + +msgid "E109: Missing ':' after '?'" +msgstr "E109: ':' faltando depois de '?'" + +msgid "E691: Can only compare List with List" +msgstr "E691: Uma Lista só pode ser comparada com outra Lista" + +msgid "E692: Invalid operation for Lists" +msgstr "E692: Operação inválida para Listas" + +msgid "E735: Can only compare Dictionary with Dictionary" +msgstr "E735: Um Dicionário só pode ser comparado com outro Dicionário" + +msgid "E736: Invalid operation for Dictionary" +msgstr "E736: Operação inválida para um Dicionário" + +msgid "E693: Can only compare Funcref with Funcref" +msgstr "E693: Funcref só pode ser comparada com outra Funcref" + +msgid "E694: Invalid operation for Funcrefs" +msgstr "E694: Operação inválida para Funcrefs" + +msgid "E110: Missing ')'" +msgstr "E110: ')' faltando" + +msgid "E695: Cannot index a Funcref" +msgstr "E695: Não é possível indexar uma Funcref" + +#, c-format +msgid "E112: Option name missing: %s" +msgstr "E112: Nome de opção faltando: %s" + +#, c-format +msgid "E113: Unknown option: %s" +msgstr "E113: Opção desconhecida: %s" + +#, c-format +msgid "E114: Missing quote: %s" +msgstr "E114: Aspas duplas (\") faltando: %s" + +#, c-format +msgid "E115: Missing quote: %s" +msgstr "E115: Aspas simples (') faltando: %s" + +#, c-format +msgid "E696: Missing comma in List: %s" +msgstr "E696: Falta uma vírgula na Lista: %s" + +#, c-format +msgid "E697: Missing end of List ']': %s" +msgstr "E697: Lista não finalizada com ']': %s" + +#, c-format +msgid "E720: Missing colon in Dictionary: %s" +msgstr "E720: Dois-pontos faltando no Dicionário: %s" + +#, c-format +msgid "E721: Duplicate key in Dictionary: \"%s\"" +msgstr "E721: Chave duplicada no Dicionário: \"%s\"" + +#, c-format +msgid "E722: Missing comma in Dictionary: %s" +msgstr "E722: Vírgula faltando no Dicionário: %s" + +#, c-format +msgid "E723: Missing end of Dictionary '}': %s" +msgstr "E723: Dicionário não finalizado com '}': %s" + +msgid "E724: variable nested too deep for displaying" +msgstr "E724: variável aninhada demais para ser exibida" + +#, c-format +msgid "E117: Unknown function: %s" +msgstr "E117: Função desconhecida: %s" + +#, c-format +msgid "E119: Not enough arguments for function: %s" +msgstr "E119: Argumentos insuficientes para a função: %s" + +#, c-format +msgid "E120: Using not in a script context: %s" +msgstr "E120: usado fora de um script: %s" + +#, c-format +msgid "E725: Calling dict function without Dictionary: %s" +msgstr "E725: Função dict chamada sem um Dicionário: %s" + +msgid "E699: Too many arguments" +msgstr "E699: Argumentos demais" + +msgid "E785: complete() can only be used in Insert mode" +msgstr "E785: complete() só pode ser usado no modo de Inserção" + +#. +#. * Yes this is ugly, I don't particularly like it either. But doing it +#. * this way has the compelling advantage that translations need not to +#. * be touched at all. See below what 'ok' and 'ync' are used for. +#. +msgid "&Ok" +msgstr "&OK" + +#, c-format +msgid "E737: Key already exists: %s" +msgstr "E737: Chave já existe: %s" + +#, c-format +msgid "+-%s%3ld lines: " +msgstr "+-%s%3ld linhas: " + +#, c-format +msgid "E700: Unknown function: %s" +msgstr "E700: Função desconhecida: %s" + +msgid "" +"&OK\n" +"&Cancel" +msgstr "" +"&OK\n" +"&Cancelar" + +msgid "called inputrestore() more often than inputsave()" +msgstr "inputrestore() foi chamado mais vezes que inputsave()" + +msgid "E786: Range not allowed" +msgstr "E786: Intervalos não são permitidos" + +msgid "E701: Invalid type for len()" +msgstr "E701: Tipo inválido para len()" + +msgid "E726: Stride is zero" +msgstr "E726: Incremento nulo" + +msgid "E727: Start past end" +msgstr "E727: O início está depois do fim" + +msgid "" +msgstr "" + +msgid "E240: No connection to Vim server" +msgstr "E240: Nenhuma conexão a um servidor do Vim" + +#, c-format +msgid "E241: Unable to send to %s" +msgstr "E241: Não foi possível enviar para %s" + +msgid "E277: Unable to read a server reply" +msgstr "E277: Não foi possível ler a resposta do servidor" + +msgid "E655: Too many symbolic links (cycle?)" +msgstr "E655: Links simbólicos em excesso (cíclicos?)" + +msgid "E258: Unable to send to client" +msgstr "E258: Não foi possível enviar ao cliente" + +msgid "E702: Sort compare function failed" +msgstr "E702: A função de comparação para a classificação falhou" + +msgid "(Invalid)" +msgstr "(Inválido)" + +msgid "E677: Error writing temp file" +msgstr "E677: Erro ao gravar o arquivo temporário" + +msgid "E703: Using a Funcref as a number" +msgstr "E703: Funcref usada como número" + +msgid "E745: Using a List as a number" +msgstr "E745: Lista usada como número" + +msgid "E728: Using a Dictionary as a number" +msgstr "E728: Dicionário usado como número" + +msgid "E729: using Funcref as a String" +msgstr "E729: Funcref usada como String" + +msgid "E730: using List as a String" +msgstr "E730: Lista usada como String" + +msgid "E731: using Dictionary as a String" +msgstr "E731: Dicionário usado como String" + +#, c-format +msgid "E704: Funcref variable name must start with a capital: %s" +msgstr "E704: Nome de variável Funcref deve começar com letra maiúscula: %s" + +#, c-format +msgid "E705: Variable name conflicts with existing function: %s" +msgstr "E705: Nome da variável em conflito com função já existente: %s" + +#, c-format +msgid "E706: Variable type mismatch for: %s" +msgstr "E706: Tipo de variável incoerente para: %s" + +#, c-format +msgid "E795: Cannot delete variable %s" +msgstr "E795: Impossível excluir variável %s" + +#, c-format +msgid "E741: Value is locked: %s" +msgstr "E741: Valor bloqueado: %s" + +msgid "Unknown" +msgstr "Desconhecido" + +#, c-format +msgid "E742: Cannot change value of %s" +msgstr "E742: Não é possível mudar valor de %s" + +msgid "E698: variable nested too deep for making a copy" +msgstr "E698: variável aninhada demais para fazer uma cópia" + +#, c-format +msgid "E124: Missing '(': %s" +msgstr "E124: '(' faltando: %s" + +#, c-format +msgid "E125: Illegal argument: %s" +msgstr "E125: Argumento inválido: %s" + +msgid "E126: Missing :endfunction" +msgstr "E126: :endfunction faltando" + +#, c-format +msgid "E746: Function name does not match script file name: %s" +msgstr "E746: Nome da função não coincide com o nome de arquivo do script: %s" + +msgid "E129: Function name required" +msgstr "E129: Nome da função requerido" + +#, c-format +msgid "E128: Function name must start with a capital or contain a colon: %s" +msgstr "E128: Nome da função deve começar com letra maiúscula ou conter dois-pontos: %s" + +#, c-format +msgid "E131: Cannot delete function %s: It is in use" +msgstr "E131: Não é possível excluir a função %s: ela está em uso" + +msgid "E132: Function call depth is higher than 'maxfuncdepth'" +msgstr "E132: Profundidade de chamadas de função é maior que 'maxfuncdepth'" + +#, c-format +msgid "calling %s" +msgstr "chamando %s" + +#, c-format +msgid "%s aborted" +msgstr "%s cancelada" + +#, c-format +msgid "%s returning #%ld" +msgstr "%s devolveu #%ld" + +#, c-format +msgid "%s returning %s" +msgstr "%s devolveu %s" + +#, c-format +msgid "continuing in %s" +msgstr "continuando em %s" + +msgid "E133: :return not inside a function" +msgstr "E133: :return fora de uma função" + +#, c-format +msgid "" +"\n" +"# global variables:\n" +msgstr "" +"\n" +"# variáveis globais:\n" + +msgid "" +"\n" +"\tLast set from " +msgstr "" +"\n" +"\tDefinido pela última vez em " + +#, c-format +msgid "<%s>%s%s %d, Hex %02x, Octal %03o" +msgstr "<%s>%s%s %d, Hex %02x, Octal %03o" + +#, c-format +msgid "> %d, Hex %04x, Octal %o" +msgstr "> %d, Hex %04x, Octal %o" + +#, c-format +msgid "> %d, Hex %08x, Octal %o" +msgstr "> %d, Hex %08x, Octal %o" + +msgid "E134: Move lines into themselves" +msgstr "E134: O destino coincide com a origem" + +msgid "1 line moved" +msgstr "1 linha movida" + +#, c-format +msgid "%ld lines moved" +msgstr "%ld linhas movidas" + +#, c-format +msgid "%ld lines filtered" +msgstr "%ld linhas filtradas" + +msgid "E135: *Filter* Autocommands must not change current buffer" +msgstr "E135: Os autocomandos *Filter* não devem modificar o buffer atual" + +msgid "[No write since last change]\n" +msgstr "[Alterações não gravadas]\n" + +#, c-format +msgid "%sviminfo: %s in line: " +msgstr "%sviminfo: %s na linha: " + +msgid "E136: viminfo: Too many errors, skipping rest of file" +msgstr "E136: viminfo: Há erros demais; abandonando a leitura do arquivo" + +#, c-format +msgid "Reading viminfo file \"%s\"%s%s%s" +msgstr "Lendo arquivo viminfo \"%s\"%s%s%s" + +msgid " info" +msgstr " info" + +msgid " marks" +msgstr " marcas" + +msgid " FAILED" +msgstr " FALHOU" + +#. avoid a wait_return for this message, it's annoying +#, c-format +msgid "E137: Viminfo file is not writable: %s" +msgstr "E137: O arquivo viminfo não pode ser escrito: %s" + +#, c-format +msgid "E138: Can't write viminfo file %s!" +msgstr "E138: Não é possível gravar o arquivo viminfo %s!" + +#, c-format +msgid "Writing viminfo file \"%s\"" +msgstr "Gravando arquivo viminfo \"%s\"" + +#. Write the info: +#, c-format +msgid "# This viminfo file was generated by Vim %s.\n" +msgstr "# Este arquivo viminfo foi gerado pelo Vim %s.\n" + +#, c-format +msgid "" +"# You may edit it if you're careful!\n" +"\n" +msgstr "" +"# Você pode editá-lo se for cuidadoso!\n" +"\n" + +#, c-format +msgid "# Value of 'encoding' when this file was written\n" +msgstr "# Valor de 'encoding' quando este arquivo foi escrito\n" + +msgid "Illegal starting char" +msgstr "Caractere inicial inválido" + +msgid "Save As" +msgstr "Salvar como" + +msgid "Write partial file?" +msgstr "Gravar arquivo parcial?" + +msgid "E140: Use ! to write partial buffer" +msgstr "E140: Use ! para gravar o buffer apenas parcialmente" + +#, c-format +msgid "Overwrite existing file \"%s\"?" +msgstr "Sobrescrever arquivo existente \"%s\"?" + +#, c-format +msgid "Swap file \"%s\" exists, overwrite anyway?" +msgstr "O arquivo de troca \"%s\" existe. Sobrescrevê-lo?" + +#, c-format +msgid "E768: Swap file exists: %s (:silent! overrides)" +msgstr "E768: Arquivo de troca existe: %s (:silent! para forçar)" + +#, c-format +msgid "E141: No file name for buffer %ld" +msgstr "E141: Sem nome de arquivo para o buffer %ld" + +msgid "E142: File not written: Writing is disabled by 'write' option" +msgstr "E142: Arquivo não gravado: gravação desativada pela opção 'write'" + +#, c-format +msgid "" +"'readonly' option is set for \"%s\".\n" +"Do you wish to write anyway?" +msgstr "" +"\"%s\" está com a opção 'readonly' (somente-leitura) ativada.\n" +"Você deseja gravar assim mesmo?" + +#, c-format +msgid "" +"File permissions of \"%s\" are read-only.\n" +"It may still be possible to write it.\n" +"Do you wish to try?" +msgstr "" +"As permissões para \"%s\" são somente-leitura.\n" +"Ainda pode ser possível gravar no arquivo.\n" +"Você deseja tentar?" + +#, c-format +msgid "E505: \"%s\" is read-only (add ! to override)" +msgstr "E505: \"%s\" é somente-leitura (adicione ! para forçar)" + +msgid "Edit File" +msgstr "Editar arquivo" + +#, c-format +msgid "E143: Autocommands unexpectedly deleted new buffer %s" +msgstr "E143: Algum autocomando inesperadamente apagou o buffer %s recém-criado" + +msgid "E144: non-numeric argument to :z" +msgstr "E144: argumento não-numérico passado a :z" + +msgid "E145: Shell commands not allowed in rvim" +msgstr "E145: Comandos do shell não são permitidos no rvim" + +msgid "E146: Regular expressions can't be delimited by letters" +msgstr "E146: Expressões regulares não podem ser delimitadas por letras" + +#, c-format +msgid "replace with %s (y/n/a/q/l/^E/^Y)?" +msgstr "substituir por %s (y/n/a/q/l/^E/^Y)?" + +msgid "(Interrupted) " +msgstr "(Interrompido) " + +msgid "1 match" +msgstr "1 correspondência" + +msgid "1 substitution" +msgstr "1 substituição" + +#, c-format +msgid "%ld matches" +msgstr "%ld correspondências" + +#, c-format +msgid "%ld substitutions" +msgstr "%ld substituições" + +msgid " on 1 line" +msgstr " em 1 linha" + +#, c-format +msgid " on %ld lines" +msgstr " em %ld linhas" + +msgid "E147: Cannot do :global recursive" +msgstr "E147: :global não pode ser executado recursivamente" + +msgid "E148: Regular expression missing from global" +msgstr "E148: Expressão regular faltando no comando :global" + +#, c-format +msgid "Pattern found in every line: %s" +msgstr "Padrão encontrado em toda linha: %s" + +#, c-format +msgid "" +"\n" +"# Last Substitute String:\n" +"$" +msgstr "" +"\n" +"# Última string de substituição:\n" +"$" + +msgid "E478: Don't panic!" +msgstr "E478: Não entre em pânico!" + +#, c-format +msgid "E661: Sorry, no '%s' help for %s" +msgstr "E661: Desculpe, nenhuma ajuda para %s em '%s'" + +#, c-format +msgid "E149: Sorry, no help for %s" +msgstr "E149: Desculpe, nenhuma ajuda para %s" + +#, c-format +msgid "Sorry, help file \"%s\" not found" +msgstr "Desculpe, arquivo de ajuda \"%s\" não encontrado" + +#, c-format +msgid "E150: Not a directory: %s" +msgstr "E150: Não é um diretório: %s" + +#, c-format +msgid "E152: Cannot open %s for writing" +msgstr "E152: Não foi possível abrir %s para escrita" + +#, c-format +msgid "E153: Unable to open %s for reading" +msgstr "E153: Não foi possível abrir %s para leitura" + +#, c-format +msgid "E670: Mix of help file encodings within a language: %s" +msgstr "E670: Mistura de codificações nos arquivos de ajuda na língua: %s" + +#, c-format +msgid "E154: Duplicate tag \"%s\" in file %s/%s" +msgstr "E154: Marcador duplicado \"%s\" no arquivo %s/%s" + +#, c-format +msgid "E160: Unknown sign command: %s" +msgstr "E160: Subcomando sign desconhecido: %s" + +msgid "E156: Missing sign name" +msgstr "E156: Nome do sinal faltando" + +msgid "E612: Too many signs defined" +msgstr "E612: Muitos sinais definidos" + +#, c-format +msgid "E239: Invalid sign text: %s" +msgstr "E239: Texto de sinal inválido: %s" + +#, c-format +msgid "E155: Unknown sign: %s" +msgstr "E155: Sinal desconhecido: %s" + +msgid "E159: Missing sign number" +msgstr "E159: Número do sinal faltando" + +#, c-format +msgid "E158: Invalid buffer name: %s" +msgstr "E158: Nome de buffer inválido: %s" + +#, c-format +msgid "E157: Invalid sign ID: %ld" +msgstr "E157: ID de sinal inválido: %ld" + +msgid " (NOT FOUND)" +msgstr " (NÃO ENCONTRADO)" + +msgid " (not supported)" +msgstr " (não suportado)" + +msgid "[Deleted]" +msgstr "[Excluído]" + +msgid "Entering Debug mode. Type \"cont\" to continue." +msgstr "Entrando modo de depuração. Digite \"cont\" para continuar." + +#, c-format +msgid "line %ld: %s" +msgstr "linha %ld: %s" + +#, c-format +msgid "cmd: %s" +msgstr "cmdo: %s" + +#, c-format +msgid "Breakpoint in \"%s%s\" line %ld" +msgstr "Ponto de interrupção em \"%s%s\", linha %ld" + +#, c-format +msgid "E161: Breakpoint not found: %s" +msgstr "E161: Ponto de interrupção não encontrado: %s" + +msgid "No breakpoints defined" +msgstr "Nenhum ponto de interrupção definido" + +#, c-format +msgid "%3d %s %s line %ld" +msgstr "%3d %s %s linha %ld" + +msgid "E750: First use :profile start " +msgstr "E750: Primeiramente digite :profile start " + +#, c-format +msgid "Save changes to \"%s\"?" +msgstr "Salvar as alterações em \"%s\"?" + +msgid "Untitled" +msgstr "(Sem título)" + +#, c-format +msgid "E162: No write since last change for buffer \"%s\"" +msgstr "E162: Alterações no buffer \"%s\" não foram gravadas" + +msgid "Warning: Entered other buffer unexpectedly (check autocommands)" +msgstr "Aviso: Entrada inesperada em outro buffer (verifique os autocomandos)" + +msgid "E163: There is only one file to edit" +msgstr "E163: Só há um arquivo para editar" + +msgid "E164: Cannot go before first file" +msgstr "E164: Impossível ir antes do primeiro arquivo" + +msgid "E165: Cannot go beyond last file" +msgstr "E165: Impossível ir além do último arquivo" + +#, c-format +msgid "E666: compiler not supported: %s" +msgstr "E666: compilador não suportado: %s" + +#, c-format +msgid "Searching for \"%s\" in \"%s\"" +msgstr "Procurando por \"%s\" em \"%s\"" + +#, c-format +msgid "Searching for \"%s\"" +msgstr "Procurando por \"%s\"" + +#, c-format +msgid "not found in 'runtimepath': \"%s\"" +msgstr "não encontrado em 'runtimepath': \"%s\"" + +msgid "Source Vim script" +msgstr "Executar script do Vim" + +#, c-format +msgid "Cannot source a directory: \"%s\"" +msgstr "Impossível executar um diretório: \"%s\"" + +#, c-format +msgid "could not source \"%s\"" +msgstr "não foi possível executar \"%s\"" + +#, c-format +msgid "line %ld: could not source \"%s\"" +msgstr "linha %ld: não foi possível executar \"%s\"" + +#, c-format +msgid "sourcing \"%s\"" +msgstr "executando \"%s\"" + +#, c-format +msgid "line %ld: sourcing \"%s\"" +msgstr "linha %ld: executando \"%s\"" + +#, c-format +msgid "finished sourcing %s" +msgstr "fim da execução de %s" + +msgid "modeline" +msgstr "modeline" + +msgid "--cmd argument" +msgstr "argumento --cmd" + +msgid "-c argument" +msgstr "argumento -c" + +msgid "environment variable" +msgstr "variável de ambiente" + +msgid "error handler" +msgstr "tratador de erro" + +msgid "W15: Warning: Wrong line separator, ^M may be missing" +msgstr "W15: Aviso: Separador de linha incorreto; ^M pode estar faltando" + +msgid "E167: :scriptencoding used outside of a sourced file" +msgstr "E167: :scriptencoding usado fora de um script" + +msgid "E168: :finish used outside of a sourced file" +msgstr "E168: :finish usado fora de um script" + +#, c-format +msgid "Current %slanguage: \"%s\"" +msgstr "Idioma atual para %s: \"%s\"" + +#, c-format +msgid "E197: Cannot set language to \"%s\"" +msgstr "E197: Impossível definir idioma como \"%s\"" + +msgid "Entering Ex mode. Type \"visual\" to go to Normal mode." +msgstr "Entrando no modo Ex. Digite \"visual\" para ir para o modo Normal." + +msgid "E501: At end-of-file" +msgstr "E501: Fim do arquivo" + +msgid "E169: Command too recursive" +msgstr "E169: Comando recursivo demais" + +#, c-format +msgid "E605: Exception not caught: %s" +msgstr "E605: Exceção não interceptada: %s" + +msgid "End of sourced file" +msgstr "Fim do arquivo executado" + +msgid "End of function" +msgstr "Fim da função" + +msgid "E464: Ambiguous use of user-defined command" +msgstr "E464: Uso ambíguo de comando definido pelo usuário" + +msgid "E492: Not an editor command" +msgstr "E492: Não é um comando do editor" + +msgid "E493: Backwards range given" +msgstr "E493: Intervalo com limites invertidos" + +msgid "Backwards range given, OK to swap" +msgstr "O intervalo dado está com os limites invertidos. OK para reverter" + +msgid "E494: Use w or w>>" +msgstr "E494: Use w ou w>>" + +msgid "E319: Sorry, the command is not available in this version" +msgstr "E319: Desculpe, esse comando não está disponível nesta versão" + +msgid "E172: Only one file name allowed" +msgstr "E172: Só é permitido um nome de arquivo" + +msgid "1 more file to edit. Quit anyway?" +msgstr "Ainda há 1 arquivo para editar. Sair mesmo assim?" + +#, c-format +msgid "%d more files to edit. Quit anyway?" +msgstr "Há mais %d arquivos para editar. Sair mesmo assim?" + +msgid "E173: 1 more file to edit" +msgstr "E173: Mais 1 arquivo para editar" + +#, c-format +msgid "E173: %ld more files to edit" +msgstr "E173: Mais %ld arquivos para editar" + +msgid "E174: Command already exists: add ! to replace it" +msgstr "E174: Comando já existe; adicione ! para substituí-lo" + +msgid "" +"\n" +" Name Args Range Complete Definition" +msgstr "" +"\n" +" Nome Args Intrv Complet. Definição" + +msgid "No user-defined commands found" +msgstr "Nenhum comando definido pelo usuário foi encontrado" + +msgid "E175: No attribute specified" +msgstr "E175: Nenhum atributo foi especificado" + +msgid "E176: Invalid number of arguments" +msgstr "E176: Número inválido de argumentos" + +msgid "E177: Count cannot be specified twice" +msgstr "E177: Quantificador não pode ser especificado duas vezes" + +msgid "E178: Invalid default value for count" +msgstr "E178: Valor padrão inválido para o quantificador" + +msgid "E179: argument required for -complete" +msgstr "E179: argumento necessário para -complete" + +#, c-format +msgid "E181: Invalid attribute: %s" +msgstr "E181: Atributo inválido: %s" + +msgid "E182: Invalid command name" +msgstr "E182: Nome de comando inválido" + +msgid "E183: User defined commands must start with an uppercase letter" +msgstr "E183: Comandos definidos pelo usuário devem começar com letra maiúscula" + +#, c-format +msgid "E184: No such user-defined command: %s" +msgstr "E184: Não existe tal comando definido pelo usuário: %s" + +#, c-format +msgid "E180: Invalid complete value: %s" +msgstr "E180: Valor inválido para -complete: %s" + +msgid "E468: Completion argument only allowed for custom completion" +msgstr "E468: Argumento só é permitido para completação personalizada" + +msgid "E467: Custom completion requires a function argument" +msgstr "E467: Completação automática requer função como argumento" + +#, c-format +msgid "E185: Cannot find color scheme %s" +msgstr "E185: Esquema de cores %s não encontrado" + +msgid "Greetings, Vim user!" +msgstr "Saudações, usuário do Vim!" + +msgid "E784: Cannot close last tab page" +msgstr "E784: Não é possível fechar a última aba" + +msgid "Already only one tab page" +msgstr "Já há apenas uma aba" + +msgid "Edit File in new window" +msgstr "Editar arquivo em nova janela" + +#, c-format +msgid "Tab page %d" +msgstr "Aba %d" + +msgid "No swap file" +msgstr "Sem arquivo de troca" + +msgid "Append File" +msgstr "Adicionar arquivo" + +msgid "E747: Cannot change directory, buffer is modified (add ! to override)" +msgstr "E747: Impossível mudar de diretório, o buffer foi alterado (adicione ! para forçar)" + +msgid "E186: No previous directory" +msgstr "E186: Não há diretório anterior" + +msgid "E187: Unknown" +msgstr "E187: Desconhecido" + +msgid "E465: :winsize requires two number arguments" +msgstr "E465: :winsize requer dois argumentos numéricos" + +#, c-format +msgid "Window position: X %d, Y %d" +msgstr "Posição da janela: X %d, Y %d" + +msgid "E188: Obtaining window position not implemented for this platform" +msgstr "E188: A obtenção da posição da janela não foi implementada para esta plataforma" + +msgid "E466: :winpos requires two number arguments" +msgstr "E466: :winpos requer dois argumentos numéricos" + +msgid "Save Redirection" +msgstr "Salvar redirecionamento" + +msgid "Save View" +msgstr "Salvar visão atual" + +msgid "Save Session" +msgstr "Salvar sessão" + +msgid "Save Setup" +msgstr "Salvar configurações" + +#, c-format +msgid "E739: Cannot create directory: %s" +msgstr "E739: Diretório não pode ser criado: %s" + +#, c-format +msgid "E189: \"%s\" exists (add ! to override)" +msgstr "E189: \"%s\" existe (adicione ! para forçar)" + +#, c-format +msgid "E190: Cannot open \"%s\" for writing" +msgstr "E190: \"%s\" não pode ser aberto para escrita" + +#. set mark +msgid "E191: Argument must be a letter or forward/backward quote" +msgstr "E191: Argumento deve ser uma letra ou aspa (` ou ')" + +msgid "E192: Recursive use of :normal too deep" +msgstr "E192: Recursão excessiva de :normal" + +msgid "E194: No alternate file name to substitute for '#'" +msgstr "E194: Sem nome de arquivo alternativo para substituir '#'" + +msgid "E495: no autocommand file name to substitute for \"\"" +msgstr "E495: nenhum nome de arquivo de autocomandos para substituir \"\"" + +msgid "E496: no autocommand buffer number to substitute for \"\"" +msgstr "E496: nenhum número de buffer de autocomandos para substituir \"\"" + +msgid "E497: no autocommand match name to substitute for \"\"" +msgstr "E497: nenhum critério de autocomando para substituir \"\"" + +msgid "E498: no :source file name to substitute for \"\"" +msgstr "E498: nenhum nome de arquivo :source para substituir \"\"" + +#, no-c-format +msgid "E499: Empty file name for '%' or '#', only works with \":p:h\"" +msgstr "E499: Nome de arquivo vazio para '%' ou '#' só funciona com \":p:h\"" + +msgid "E500: Evaluates to an empty string" +msgstr "E500: Expressão resulta em string vazia" + +msgid "E195: Cannot open viminfo file for reading" +msgstr "E195: O arquivo viminfo não pode ser aberto para leitura" + +msgid "E196: No digraphs in this version" +msgstr "E196: Sem suporte a dígrafos nesta versão" + +msgid "E608: Cannot :throw exceptions with 'Vim' prefix" +msgstr "E608: Não é possível lançar exceções com o prefixo 'Vim'" + +#. always scroll up, don't overwrite +#, c-format +msgid "Exception thrown: %s" +msgstr "Exceção lançada: %s" + +#, c-format +msgid "Exception finished: %s" +msgstr "Exceção concluída: %s" + +#, c-format +msgid "Exception discarded: %s" +msgstr "Exceção descartada: %s" + +#, c-format +msgid "%s, line %ld" +msgstr "%s, linha %ld" + +#. always scroll up, don't overwrite +#, c-format +msgid "Exception caught: %s" +msgstr "Exceção interceptada: %s" + +#, c-format +msgid "%s made pending" +msgstr "%s tornado(s) pendente(s)" + +#, c-format +msgid "%s resumed" +msgstr "%s continuado(s)" + +#, c-format +msgid "%s discarded" +msgstr "%s descartado(s)" + +msgid "Exception" +msgstr "Exceção" + +msgid "Error and interrupt" +msgstr "Erro e interrupção" + +msgid "Error" +msgstr "Erro" + +#. if (pending & CSTP_INTERRUPT) +msgid "Interrupt" +msgstr "Interrupção" + +msgid "E579: :if nesting too deep" +msgstr "E579: :if aninhado demais" + +msgid "E580: :endif without :if" +msgstr "E580: :endif sem :if" + +msgid "E581: :else without :if" +msgstr "E581: :else sem :if" + +msgid "E582: :elseif without :if" +msgstr "E582: :elseif sem :if" + +msgid "E583: multiple :else" +msgstr "E583: mais de um :else" + +msgid "E584: :elseif after :else" +msgstr "E584: :elseif depois de :else" + +msgid "E585: :while/:for nesting too deep" +msgstr "E585: :while/:for aninhados demais" + +msgid "E586: :continue without :while or :for" +msgstr "E586: :continue sem :while ou :for" + +msgid "E587: :break without :while or :for" +msgstr "E587: :break sem :while ou :for" + +msgid "E732: Using :endfor with :while" +msgstr "E732: :endfor usado com :while" + +msgid "E733: Using :endwhile with :for" +msgstr "E733: :endwhile usado com :for" + +msgid "E601: :try nesting too deep" +msgstr "E601: :try aninhado demais" + +msgid "E603: :catch without :try" +msgstr "E603: :catch sem :try" + +#. Give up for a ":catch" after ":finally" and ignore it. +#. * Just parse. +msgid "E604: :catch after :finally" +msgstr "E604: :catch depois de :finally" + +msgid "E606: :finally without :try" +msgstr "E606: :finally sem :try" + +#. Give up for a multiple ":finally" and ignore it. +msgid "E607: multiple :finally" +msgstr "E607: mais de um :finally" + +msgid "E602: :endtry without :try" +msgstr "E602: :endtry sem :try" + +msgid "E193: :endfunction not inside a function" +msgstr "E193: :endfunction fora de uma função" + +msgid "E788: Not allowed to edit another buffer now" +msgstr "E788: Não é possível editar outro buffer agora" + +msgid "tagname" +msgstr "marcador" + +msgid " kind file\n" +msgstr " tipo arquivo\n" + +msgid "'history' option is zero" +msgstr "opção 'history' vale zero" + +#, c-format +msgid "" +"\n" +"# %s History (newest to oldest):\n" +msgstr "" +"\n" +"# Histórico de %s (mais recente primeiro):\n" + +msgid "Command Line" +msgstr "Linha de comando" + +msgid "Search String" +msgstr "Expressões de busca" + +msgid "Expression" +msgstr "Expressão" + +msgid "Input Line" +msgstr "Linhas de entrada" + +msgid "E198: cmd_pchar beyond the command length" +msgstr "E198: cmd_pchar além do final do comando" + +msgid "E199: Active window or buffer deleted" +msgstr "E199: A janela ou buffer ativo foi apagado" + +msgid "Illegal file name" +msgstr "Nome de arquivo inválido" + +msgid "is a directory" +msgstr "é um diretório" + +msgid "is not a file" +msgstr "não é um arquivo" + +msgid "is a device (disabled with 'opendevice' option)" +msgstr "é um dispositivo (desativado pela opção 'opendevice')" + +msgid "[New File]" +msgstr "[Novo arquivo]" + +msgid "[New DIRECTORY]" +msgstr "[Novo DIRETÓRIO]" + +msgid "[File too big]" +msgstr "[Arquivo muito grande]" + +msgid "[Permission Denied]" +msgstr "[Permissão negada]" + +msgid "E200: *ReadPre autocommands made the file unreadable" +msgstr "E200: Autocomandos *ReadPre tornaram o arquivo ilegível" + +msgid "E201: *ReadPre autocommands must not change current buffer" +msgstr "E201: Os autocomandos *ReadPre não devem alterar o buffer atual" + +msgid "Vim: Reading from stdin...\n" +msgstr "Vim: Lendo da entrada padrão...\n" + +msgid "Reading from stdin..." +msgstr "Lendo da entrada padrão..." + +#. Re-opening the original file failed! +msgid "E202: Conversion made file unreadable!" +msgstr "E202: A conversão tornou o arquivo ilegível!" + +msgid "[fifo/socket]" +msgstr "[fifo/socket]" + +msgid "[fifo]" +msgstr "[fifo]" + +msgid "[socket]" +msgstr "[socket]" + +msgid "[character special]" +msgstr "[dispositivo de caractere]" + +msgid "[RO]" +msgstr "[S/L]" + +msgid "[CR missing]" +msgstr "[CR faltando]" + +msgid "[NL found]" +msgstr "[NL encontrado]" + +msgid "[long lines split]" +msgstr "[linhas longas divididas]" + +msgid "[NOT converted]" +msgstr "[NÃO convertido]" + +msgid "[converted]" +msgstr "[convertido]" + +msgid "[crypted]" +msgstr "[criptografado]" + +#, c-format +msgid "[CONVERSION ERROR in line %ld]" +msgstr "[ERRO DE CONVERSÃO na linha %ld]" + +#, c-format +msgid "[ILLEGAL BYTE in line %ld]" +msgstr "[BYTE INVÁLIDO na linha %ld]" + +msgid "[READ ERRORS]" +msgstr "[ERROS DE LEITURA]" + +msgid "Can't find temp file for conversion" +msgstr "Não foi possível encontrar um arquivo temporário para a conversão" + +msgid "Conversion with 'charconvert' failed" +msgstr "Conversão com 'charconvert' falhou" + +msgid "can't read output of 'charconvert'" +msgstr "não foi possível ler o resultado de 'charconvert'" + +msgid "E676: No matching autocommands for acwrite buffer" +msgstr "E676: Nenhum comando automático correspondente para acwrite buffer" + +msgid "E203: Autocommands deleted or unloaded buffer to be written" +msgstr "E203: Os autocomandos apagaram ou descarregaram o buffer a ser gravado" + +msgid "E204: Autocommand changed number of lines in unexpected way" +msgstr "E204: Autocomando alterou número de linhas de maneira inesperada" + +msgid "NetBeans dissallows writes of unmodified buffers" +msgstr "NetBeans não permite gravação de buffers não modificados" + +msgid "Partial writes disallowed for NetBeans buffers" +msgstr "Gravação parcial não é permitida em buffers do NetBeans" + +msgid "is not a file or writable device" +msgstr "não é um arquivo ou dispositivo com permissão de escrita" + +msgid "writing to device disabled with 'opendevice' option" +msgstr "escrita em dispositivo desativada pela opção 'opendevice'" + +msgid "is read-only (add ! to override)" +msgstr "é somente-leitura (adicione ! para forçar)" + +msgid "E506: Can't write to backup file (add ! to override)" +msgstr "E506: Impossível gravar arquivo de backup (adicione ! para forçar)" + +msgid "E507: Close error for backup file (add ! to override)" +msgstr "E507: Erro de fechamento no arquivo de backup (adicione ! para forçar)" + +msgid "E508: Can't read file for backup (add ! to override)" +msgstr "E508: Impossível ler o arquivo para backup (adicione ! para forçar)" + +msgid "E509: Cannot create backup file (add ! to override)" +msgstr "E509: Impossível criar arquivo de backup (adicione ! para forçar)" + +msgid "E510: Can't make backup file (add ! to override)" +msgstr "E510: Impossível fazer o backup (adicione ! para forçar)" + +msgid "E460: The resource fork would be lost (add ! to override)" +msgstr "E460: O resource fork seria perdido (adicione ! para forçar)" + +msgid "E214: Can't find temp file for writing" +msgstr "E214: Não foi possível encontrar arquivo temporário para escrita" + +msgid "E213: Cannot convert (add ! to write without conversion)" +msgstr "E213: Impossível converter (adicione ! para gravar sem converter)" + +msgid "E166: Can't open linked file for writing" +msgstr "E166: Impossível abrir ligação para escrita" + +msgid "E212: Can't open file for writing" +msgstr "E212: Impossível abrir arquivo para escrita" + +msgid "E667: Fsync failed" +msgstr "E667: Fsync falhou" + +msgid "E512: Close failed" +msgstr "E512: Falha no fechamento do arquivo" + +msgid "E513: write error, conversion failed (make 'fenc' empty to override)" +msgstr "E513: erro de gravação, conversão falhou (torne 'fenc' vazio para forçar)" + +msgid "E514: write error (file system full?)" +msgstr "E514: erro de gravação (sistema de arquivos cheio?)" + +msgid " CONVERSION ERROR" +msgstr " ERRO DE CONVERSÃO" + +msgid "[Device]" +msgstr "[Dispositivo]" + +msgid "[New]" +msgstr "[Novo]" + +msgid " [a]" +msgstr " [a]" + +msgid " appended" +msgstr " adicionado(s)" + +msgid " [w]" +msgstr " [g]" + +msgid " written" +msgstr " gravado(s)" + +msgid "E205: Patchmode: can't save original file" +msgstr "E205: patchmode: impossível salvar o arquivo original" + +msgid "E206: patchmode: can't touch empty original file" +msgstr "E206: patchmode: impossível criar arquivo original vazio" + +msgid "E207: Can't delete backup file" +msgstr "E207: Impossível excluir arquivo de backup" + +msgid "" +"\n" +"WARNING: Original file may be lost or damaged\n" +msgstr "" +"\n" +"AVISO: O arquivo original pode ter sido perdido ou danificado\n" + +msgid "don't quit the editor until the file is successfully written!" +msgstr "não saia do editor até que o arquivo tenha sido gravado com sucesso!" + +msgid "[dos]" +msgstr "[dos]" + +msgid "[dos format]" +msgstr "[formato dos]" + +msgid "[mac]" +msgstr "[mac]" + +msgid "[mac format]" +msgstr "[formato mac]" + +msgid "[unix]" +msgstr "[unix]" + +msgid "[unix format]" +msgstr "[formato unix]" + +msgid "1 line, " +msgstr "1 linha, " + +#, c-format +msgid "%ld lines, " +msgstr "%ld linhas, " + +msgid "1 character" +msgstr "1 caractere" + +#, c-format +msgid "%ld characters" +msgstr "%ld caracteres" + +msgid "[noeol]" +msgstr "[sem fim de linha]" + +msgid "[Incomplete last line]" +msgstr "[Última linha incompleta]" + +#. don't overwrite messages here +#. must give this prompt +#. don't use emsg() here, don't want to flush the buffers +msgid "WARNING: The file has been changed since reading it!!!" +msgstr "AVISO: O arquivo foi alterado desde que foi carregado!!!" + +msgid "Do you really want to write to it" +msgstr "Você realmente deseja gravá-lo" + +#, c-format +msgid "E208: Error writing to \"%s\"" +msgstr "E208: Erro ao gravar \"%s\"" + +#, c-format +msgid "E209: Error closing \"%s\"" +msgstr "E209: Erro ao fechar \"%s\"" + +#, c-format +msgid "E210: Error reading \"%s\"" +msgstr "E210: Erro ao ler \"%s\"" + +msgid "E246: FileChangedShell autocommand deleted buffer" +msgstr "E246: O autocomando FileChangedShell apagou o buffer" + +#, c-format +msgid "E211: File \"%s\" no longer available" +msgstr "E211: Arquivo \"%s\" não está mais disponível" + +#, c-format +msgid "W12: Warning: File \"%s\" has changed and the buffer was changed in Vim as well" +msgstr "W12: Aviso: O arquivo \"%s\" foi alterado e o buffer também foi alterado no Vim!" + +msgid "See \":help W12\" for more info." +msgstr "Veja \":help W12\" para mais informações." + +#, c-format +msgid "W11: Warning: File \"%s\" has changed since editing started" +msgstr "W11: Aviso: O arquivo \"%s\" foi alterado desde o início da edição!" + +msgid "See \":help W11\" for more info." +msgstr "Veja \":help W11\" para mais informações." + +#, c-format +msgid "W16: Warning: Mode of file \"%s\" has changed since editing started" +msgstr "W16: Aviso: O modo do arquivo \"%s\" foi alterado desde o início da edição!" + +msgid "See \":help W16\" for more info." +msgstr "Veja \":help W16\" para mais informações." + +#, c-format +msgid "W13: Warning: File \"%s\" has been created after editing started" +msgstr "W13: Aviso: O arquivo \"%s\" foi criado após o início da edição!" + +msgid "Warning" +msgstr "Aviso" + +msgid "" +"&OK\n" +"&Load File" +msgstr "" +"&OK\n" +"&Carregar arquivo" + +#, c-format +msgid "E462: Could not prepare for reloading \"%s\"" +msgstr "E462: Não foi possível preparar \"%s\" para ser recarregado" + +#, c-format +msgid "E321: Could not reload \"%s\"" +msgstr "E321: Não foi possível recarregar \"%s\"" + +msgid "--Deleted--" +msgstr "--Excluído--" + +#, c-format +msgid "auto-removing autocommand: %s " +msgstr "removendo automaticamente o autocomando: %s " + +#. the group doesn't exist +#, c-format +msgid "E367: No such group: \"%s\"" +msgstr "E367: Grupo inexistente: \"%s\"" + +#, c-format +msgid "E215: Illegal character after *: %s" +msgstr "E215: Caractere inválido após *: %s" + +#, c-format +msgid "E216: No such event: %s" +msgstr "E216: Evento inexistente: %s" + +#, c-format +msgid "E216: No such group or event: %s" +msgstr "E216: Grupo ou evento inexistente: %s" + +#. Highlight title +msgid "" +"\n" +"--- Auto-Commands ---" +msgstr "" +"\n" +"--- Autocomandos ---" + +#, c-format +msgid "E680: : invalid buffer number " +msgstr "E680: : número inválido de buffer " + +msgid "E217: Can't execute autocommands for ALL events" +msgstr "E217: Não é possível executar autocomandos para TODOS os eventos" + +msgid "No matching autocommands" +msgstr "Nenhum autocomando coincidente" + +msgid "E218: autocommand nesting too deep" +msgstr "E218: autocomandos aninhados demais" + +#, c-format +msgid "%s Auto commands for \"%s\"" +msgstr "Comandos automáticos %s para \"%s\"" + +#, c-format +msgid "Executing %s" +msgstr "Executando %s" + +#, c-format +msgid "autocommand %s" +msgstr "autocomando %s" + +msgid "E219: Missing {." +msgstr "E219: { faltando." + +msgid "E220: Missing }." +msgstr "E220: } faltando." + +msgid "E490: No fold found" +msgstr "E490: Nenhuma dobra encontrada" + +msgid "E350: Cannot create fold with current 'foldmethod'" +msgstr "E350: Impossível criar dobra com a configuração atual de 'foldmethod'" + +msgid "E351: Cannot delete fold with current 'foldmethod'" +msgstr "E351: Impossível excluir dobra com a configuração atual de 'foldmethod'" + +#, c-format +msgid "+--%3ld lines folded " +msgstr "+--%3ld linhas dobradas " + +msgid "E222: Add to read buffer" +msgstr "E222: Adição a um buffer já lido" + +msgid "E223: recursive mapping" +msgstr "E223: associação recursiva" + +#, c-format +msgid "E224: global abbreviation already exists for %s" +msgstr "E224: já existe uma abreviação global para %s" + +#, c-format +msgid "E225: global mapping already exists for %s" +msgstr "E225: já existe uma associação global para %s" + +#, c-format +msgid "E226: abbreviation already exists for %s" +msgstr "E226: já existe uma abreviação para %s" + +#, c-format +msgid "E227: mapping already exists for %s" +msgstr "E227: já existe uma associação para %s" + +msgid "No abbreviation found" +msgstr "Nenhuma abreviação encontrada" + +msgid "No mapping found" +msgstr "Nenhuma associação encontrada" + +msgid "E228: makemap: Illegal mode" +msgstr "E228: makemap: Modo inválido" + +msgid "E229: Cannot start the GUI" +msgstr "E229: Não é possível iniciar a interface gráfica" + +#, c-format +msgid "E230: Cannot read from \"%s\"" +msgstr "E230: Impossível ler de \"%s\"" + +msgid "E665: Cannot start GUI, no valid font found" +msgstr "E665: Impossível iniciar a interface gráfica, nenhuma fonte válida encontrada" + +msgid "E231: 'guifontwide' invalid" +msgstr "E231: Valor inválido para 'guifontwide'" + +msgid "E599: Value of 'imactivatekey' is invalid" +msgstr "E599: Valor inválido para 'imactivatekey'" + +#, c-format +msgid "E254: Cannot allocate color %s" +msgstr "E254: Impossível alocar cor %s" + +msgid "No match at cursor, finding next" +msgstr "Nenhum resultado sob o cursor; procurando próximo" + +msgid " " +msgstr " " + +#, c-format +msgid "E616: vim_SelFile: can't get font %s" +msgstr "E616: vim_SelFile: impossível obter fonte %s" + +msgid "E614: vim_SelFile: can't return to current directory" +msgstr "E614: vim_SelFile: impossível voltar ao diretório atual" + +msgid "Pathname:" +msgstr "Caminho:" + +msgid "E615: vim_SelFile: can't get current directory" +msgstr "E615: vim_SelFile: impossível obter diretório atual" + +msgid "OK" +msgstr "OK" + +msgid "Cancel" +msgstr "Cancelar" + +msgid "Scrollbar Widget: Could not get geometry of thumb pixmap." +msgstr "Widget barra de rolagem: impossível obter geometria do pixmap 'thumb'" + +msgid "Vim dialog" +msgstr "Diálogo do Vim" + +msgid "E232: Cannot create BalloonEval with both message and callback" +msgstr "E232: Impossível criar BalloonEval com mensagem E callback" + +msgid "Vim dialog..." +msgstr "Diálogo do Vim..." + +msgid "" +"&Yes\n" +"&No\n" +"&Cancel" +msgstr "" +"&Sim\n" +"&Não\n" +"&Cancelar" + +msgid "Input _Methods" +msgstr "_Métodos de entrada" + +msgid "VIM - Search and Replace..." +msgstr "VIM - Procurar e substituir..." + +msgid "VIM - Search..." +msgstr "VIM - Procurar..." + +msgid "Find what:" +msgstr "Localizar:" + +msgid "Replace with:" +msgstr "Substituir por:" + +#. whole word only button +msgid "Match whole word only" +msgstr "Coincidir palavra inteira" + +#. match case button +msgid "Match case" +msgstr "Diferenciar maiúsculas/minúsculas" + +msgid "Direction" +msgstr "Direção" + +#. 'Up' and 'Down' buttons +msgid "Up" +msgstr "Acima" + +msgid "Down" +msgstr "Abaixo" + +msgid "Find Next" +msgstr "Localizar próxima" + +msgid "Replace" +msgstr "Substituir" + +msgid "Replace All" +msgstr "Substituir todas" + +msgid "Vim: Received \"die\" request from session manager\n" +msgstr "Vim: Recebido um pedido \"die\" do gerenciador de sessão\n" + +msgid "Close" +msgstr "Fechar" + +msgid "New tab" +msgstr "Nova aba" + +msgid "Open Tab..." +msgstr "Abrir aba..." + +msgid "Vim: Main window unexpectedly destroyed\n" +msgstr "Vim: Janela principal destruída inesperadamente\n" + +msgid "Font Selection" +msgstr "Selecionar fonte" + +msgid "Used CUT_BUFFER0 instead of empty selection" +msgstr "Foi usado CUT_BUFFER0 em vez de uma seleção vazia" + +msgid "&Filter" +msgstr "&Filtrar" + +msgid "&Cancel" +msgstr "&Cancelar" + +msgid "Directories" +msgstr "Diretórios" + +msgid "Filter" +msgstr "Filtro" + +msgid "&Help" +msgstr "A&juda" + +msgid "Files" +msgstr "Arquivos" + +msgid "&OK" +msgstr "&OK" + +msgid "Selection" +msgstr "Seleção" + +msgid "Find &Next" +msgstr "Localizar &próxima" + +msgid "&Replace" +msgstr "&Substituir" + +msgid "Replace &All" +msgstr "Substituir &todas" + +msgid "&Undo" +msgstr "&Desfazer" + +#, c-format +msgid "E610: Can't load Zap font '%s'" +msgstr "E610: Impossível carregar a fonte Zap '%s'" + +#, c-format +msgid "E611: Can't use font %s" +msgstr "E611: Impossível usar a fonte %s" + +msgid "" +"\n" +"Sending message to terminate child process.\n" +msgstr "" +"\n" +"Enviando mensagem para terminar processo-filho.\n" + +#, c-format +msgid "E671: Cannot find window title \"%s\"" +msgstr "E671: Impossível encontrar janela de título \"%s\"" + +#, c-format +msgid "E243: Argument not supported: \"-%s\"; Use the OLE version." +msgstr "E243: Argumento não suportado: \"-%s\"; Use a versão OLE." + +msgid "E672: Unable to open window inside MDI application" +msgstr "E672: Impossível abrir janela dentro de aplicação MDI" + +msgid "Close tab" +msgstr "Fechar aba" + +msgid "Open tab..." +msgstr "Abrir aba..." + +msgid "Find string (use '\\\\' to find a '\\')" +msgstr "Localizar cadeia de caracteres (use '\\\\' para procurar por '\\')" + +msgid "Find & Replace (use '\\\\' to find a '\\')" +msgstr "Localizar e Substituir (use '\\\\' para procurar por '\\')" + +#. We fake this: Use a filter that doesn't select anything and a default +#. * file name that won't be used. +msgid "Not Used" +msgstr "Não usado" + +msgid "Directory\t*.nothing\n" +msgstr "Diretório\t*.nada\n" + +msgid "Vim E458: Cannot allocate colormap entry, some colors may be incorrect" +msgstr "Vim E458: Impossível alocar entrada do mapa de cores; algumas cores podem estar erradas" + +#, c-format +msgid "E250: Fonts for the following charsets are missing in fontset %s:" +msgstr "E250: Faltam fontes para os seguintes conjuntos de caracteres no conjunto de fontes %s:" + +#, c-format +msgid "E252: Fontset name: %s" +msgstr "E252: Nome do conjunto de fontes: %s" + +#, c-format +msgid "Font '%s' is not fixed-width" +msgstr "Fonte '%s' não é de largura fixa" + +#, c-format +msgid "E253: Fontset name: %s\n" +msgstr "E253: Nome do conjunto de fontes: %s\n" + +#, c-format +msgid "Font0: %s\n" +msgstr "Fonte0: %s\n" + +#, c-format +msgid "Font1: %s\n" +msgstr "Fonte1: %s\n" + +#, c-format +msgid "Font%ld width is not twice that of font0\n" +msgstr "O tamanho da Fonte%ld não é o dobro do da Fonte0\n" + +#, c-format +msgid "Font0 width: %ld\n" +msgstr "Tamanho da Fonte0: %ld\n" + +#, c-format +msgid "" +"Font1 width: %ld\n" +"\n" +msgstr "" +"Tamanho da Fonte1: %ld\n" +"\n" + +msgid "Invalid font specification" +msgstr "Especificação de fonte inválida" + +msgid "&Dismiss" +msgstr "&Dispensar" + +msgid "no specific match" +msgstr "nenhuma coincidência exata" + +msgid "Vim - Font Selector" +msgstr "Vim - Seletor de fontes" + +msgid "Name:" +msgstr "Nome:" + +#. create toggle button +msgid "Show size in Points" +msgstr "Mostrar tamanho em pontos" + +msgid "Encoding:" +msgstr "Codificação:" + +msgid "Font:" +msgstr "Fonte:" + +msgid "Style:" +msgstr "Estilo:" + +msgid "Size:" +msgstr "Tamanho:" + +msgid "E256: Hangul automata ERROR" +msgstr "E256: ERRO no autômato Hangul" + +msgid "E550: Missing colon" +msgstr "E550: Dois-pontos faltando" + +msgid "E551: Illegal component" +msgstr "E551: Elemento inválido" + +msgid "E552: digit expected" +msgstr "E552: era esperado um algarismo" + +#, c-format +msgid "Page %d" +msgstr "Página %d" + +msgid "No text to be printed" +msgstr "Sem texto para imprimir" + +#, c-format +msgid "Printing page %d (%d%%)" +msgstr "Imprimindo página %d (%d%%)" + +#, c-format +msgid " Copy %d of %d" +msgstr " Cópia %d de %d" + +#, c-format +msgid "Printed: %s" +msgstr "Impresso: %s" + +msgid "Printing aborted" +msgstr "Impressão cancelada" + +msgid "E455: Error writing to PostScript output file" +msgstr "E455: Erro ao escrever no arquivo PostScript" + +#, c-format +msgid "E624: Can't open file \"%s\"" +msgstr "E624: Impossível abrir arquivo \"%s\"" + +#, c-format +msgid "E457: Can't read PostScript resource file \"%s\"" +msgstr "E457: Impossível ler o arquivo de recursos de PostScript \"%s\"" + +#, c-format +msgid "E618: file \"%s\" is not a PostScript resource file" +msgstr "E618: arquivo \"%s\" não é um arquivo de recursos de PostScript" + +#, c-format +msgid "E619: file \"%s\" is not a supported PostScript resource file" +msgstr "E619: arquivo \"%s\" não é um arquivo de recursos de PostScript suportado" + +#, c-format +msgid "E621: \"%s\" resource file has wrong version" +msgstr "E621: versão errada do arquivo de recursos \"%s\"" + +msgid "E673: Incompatible multi-byte encoding and character set." +msgstr "E673: Codificação multi-byte incompatível com o conjunto de caracteres." + +msgid "E674: printmbcharset cannot be empty with multi-byte encoding." +msgstr "E674: 'printmbcharset' não pode estar vazio com codificações multi-byte." + +msgid "E675: No default font specified for multi-byte printing." +msgstr "E675: Nenhuma fonte padrão especificada para impressão em multi-byte." + +msgid "E324: Can't open PostScript output file" +msgstr "E324: Impossível abrir arquivo PostScript para saída" + +#, c-format +msgid "E456: Can't open file \"%s\"" +msgstr "E456: Impossível abrir arquivo \"%s\"" + +msgid "E456: Can't find PostScript resource file \"prolog.ps\"" +msgstr "E456: Arquivo de recursos de PostScript \"prolog.ps\" não encontrado" + +msgid "E456: Can't find PostScript resource file \"cidfont.ps\"" +msgstr "E456: Arquivo de recursos de PostScript \"cidfont.ps\" não encontrado" + +#, c-format +msgid "E456: Can't find PostScript resource file \"%s.ps\"" +msgstr "E456: Arquivo de recursos de PostScript \"%s.ps\" não encontrado" + +#, c-format +msgid "E620: Unable to convert to print encoding \"%s\"" +msgstr "E620: Impossível converter para a codificação \"%s\" para impressão" + +msgid "Sending to printer..." +msgstr "Enviando à impressora..." + +msgid "E365: Failed to print PostScript file" +msgstr "E365: Não foi possível imprimir o arquivo PostScript" + +msgid "Print job sent." +msgstr "Trabalho de impressão enviado." + +msgid "Add a new database" +msgstr "Adicionar novo banco de dados" + +msgid "Query for a pattern" +msgstr "Procurar por um padrão" + +msgid "Show this message" +msgstr "Mostrar esta mensagem" + +msgid "Kill a connection" +msgstr "Terminar uma conexão" + +msgid "Reinit all connections" +msgstr "Reinicializar todas as conexões" + +msgid "Show connections" +msgstr "Mostrar conexões" + +#, c-format +msgid "E560: Usage: cs[cope] %s" +msgstr "E560: Forma de uso: cs[cope] %s" + +msgid "This cscope command does not support splitting the window.\n" +msgstr "Este comando cscope não suporta a divisão da janela.\n" + +msgid "E562: Usage: cstag " +msgstr "E562: Forma de uso: cstag " + +msgid "E257: cstag: tag not found" +msgstr "E257: cstag: marcador não encontrado" + +#, c-format +msgid "E563: stat(%s) error: %d" +msgstr "E563: erro em stat(%s): %d" + +msgid "E563: stat error" +msgstr "E563: erro em stat" + +#, c-format +msgid "E564: %s is not a directory or a valid cscope database" +msgstr "E564: %s não é um diretório ou um banco de dados válido do cscope" + +#, c-format +msgid "Added cscope database %s" +msgstr "Adicionado banco de dados do cscope %s" + +#, c-format +msgid "E262: error reading cscope connection %ld" +msgstr "E262: erro ao ler a conexão %ld do cscope" + +msgid "E561: unknown cscope search type" +msgstr "E561: tipo desconhecido de busca do cscope" + +msgid "E566: Could not create cscope pipes" +msgstr "E566: Não foi possível criar os pipes para comunicação com o cscope" + +msgid "E622: Could not fork for cscope" +msgstr "E622: Não foi possível fazer a bifurcação de processo para o cscope" + +msgid "cs_create_connection exec failed" +msgstr "a execução do cscope em cs_create_connection falhou" + +msgid "cs_create_connection: fdopen for to_fp failed" +msgstr "cs_create_connection: fdopen para to_fp falhou" + +msgid "cs_create_connection: fdopen for fr_fp failed" +msgstr "cs_create_connection: fdopen para fr_fp falhou" + +msgid "E623: Could not spawn cscope process" +msgstr "E623: Não foi possível invocar o processo do cscope" + +msgid "E567: no cscope connections" +msgstr "E567: não há conexões com o cscope" + +#, c-format +msgid "E259: no matches found for cscope query %s of %s" +msgstr "E259: nenhum resultado para a busca cscope %s de %s" + +#, c-format +msgid "E469: invalid cscopequickfix flag %c for %c" +msgstr "E469: marca %c inválida para %c em 'cscopequickfix'" + +msgid "cscope commands:\n" +msgstr "comandos do cscope:\n" + +#, c-format +msgid "%-5s: %-30s (Usage: %s)" +msgstr "%-5s: %-30s (Forma de uso: %s)" + +#, c-format +msgid "E625: cannot open cscope database: %s" +msgstr "E625: impossível abrir banco de dados do cscope: %s" + +msgid "E626: cannot get cscope database information" +msgstr "E626: impossível obter informações do banco de dados do cscope" + +msgid "E568: duplicate cscope database not added" +msgstr "E568: banco de dados do cscope repetido; não foi adicionado" + +msgid "E569: maximum number of cscope connections reached" +msgstr "E569: atingido o número máximo de conexões com o cscope" + +#, c-format +msgid "E261: cscope connection %s not found" +msgstr "E261: conexão %s com o cscope não encontrada" + +#, c-format +msgid "cscope connection %s closed" +msgstr "conexão %s com o cscope fechada" + +#. should not reach here +msgid "E570: fatal error in cs_manage_matches" +msgstr "E570: erro fatal em cs_manage_matches" + +#, c-format +msgid "Cscope tag: %s" +msgstr "Tag do cscope: %s" + +msgid "" +"\n" +" # line" +msgstr "" +"\n" +" # linha" + +msgid "filename / context / line\n" +msgstr "arquivo / contexto / linha\n" + +#, c-format +msgid "E609: Cscope error: %s" +msgstr "E609: Erro do cscope: %s" + +msgid "All cscope databases reset" +msgstr "Todos os bancos de dados do cscope redefinidos" + +msgid "no cscope connections\n" +msgstr "nenhuma conexão ao cscope\n" + +msgid " # pid database name prepend path\n" +msgstr " # pid nome do banco de dados adicionar caminho\n" + +msgid "???: Sorry, this command is disabled, the MzScheme library could not be loaded." +msgstr "???: Desculpe, este comando está desativado. A biblioteca MzScheme não pôde ser carregada." + +msgid "invalid expression" +msgstr "expressão inválida" + +msgid "expressions disabled at compile time" +msgstr "expressões desativadas na compilação" + +msgid "hidden option" +msgstr "opção oculta" + +msgid "unknown option" +msgstr "opção desconhecida" + +msgid "window index is out of range" +msgstr "número da janela fora dos limites" + +msgid "couldn't open buffer" +msgstr "impossível abrir buffer" + +msgid "cannot save undo information" +msgstr "impossível salvar informações para desfazer" + +msgid "cannot delete line" +msgstr "impossível excluir linha" + +msgid "cannot replace line" +msgstr "impossível substituir linha" + +msgid "cannot insert line" +msgstr "impossível inserir linha" + +msgid "string cannot contain newlines" +msgstr "a cadeia não pode conter quebras de linha" + +msgid "Vim error: ~a" +msgstr "Erro do Vim: ~a" + +msgid "Vim error" +msgstr "Erro do Vim" + +msgid "buffer is invalid" +msgstr "buffer inválido" + +msgid "window is invalid" +msgstr "janela inválida" + +msgid "linenr out of range" +msgstr "número de linha fora dos limites" + +msgid "not allowed in the Vim sandbox" +msgstr "não permitido na caixa de areia do Vim" + +msgid "E263: Sorry, this command is disabled, the Python library could not be loaded." +msgstr "E263: Desculpe, este comando está desativado. A biblioteca do Python não pôde ser carregada." + +msgid "E659: Cannot invoke Python recursively" +msgstr "E659: Não é possível invocar o Python recursivamente" + +msgid "can't delete OutputObject attributes" +msgstr "impossível excluir os atributos do OutputObject" + +msgid "softspace must be an integer" +msgstr "'softspace' deve ser um inteiro" + +msgid "invalid attribute" +msgstr "atributo inválido" + +msgid "writelines() requires list of strings" +msgstr "writelines() requer uma lista de cadeias de caracteres" + +msgid "E264: Python: Error initialising I/O objects" +msgstr "E264: Python: Erro ao inicializar objetos de E/S" + +msgid "attempt to refer to deleted buffer" +msgstr "tentativa de referência a buffer apagado" + +msgid "line number out of range" +msgstr "número de linha fora dos limites" + +#, c-format +msgid "" +msgstr "" + +msgid "invalid mark name" +msgstr "nome de marca inválido" + +msgid "no such buffer" +msgstr "buffer inexistente" + +msgid "attempt to refer to deleted window" +msgstr "tentativa de referência a janela excluída" + +msgid "readonly attribute" +msgstr "atributo somente-leitura" + +msgid "cursor position outside buffer" +msgstr "cursor posicionado fora do buffer" + +#, c-format +msgid "" +msgstr "" + +#, c-format +msgid "" +msgstr "" + +#, c-format +msgid "" +msgstr "" + +msgid "no such window" +msgstr "janela inexistente" + +msgid "E265: $_ must be an instance of String" +msgstr "E265: $_ deve ser uma instância de String" + +msgid "E266: Sorry, this command is disabled, the Ruby library could not be loaded." +msgstr "E266: Desculpe, este comando está desativado. A biblioteca do Ruby não pôde ser carregada." + +msgid "E267: unexpected return" +msgstr "E267: \"return\" inesperado" + +msgid "E268: unexpected next" +msgstr "E268: \"next\" inesperado" + +msgid "E269: unexpected break" +msgstr "E269: \"break\" inesperado" + +msgid "E270: unexpected redo" +msgstr "E270: \"redo\" inesperado" + +msgid "E271: retry outside of rescue clause" +msgstr "E271: \"retry\" fora de bloco \"rescue\"" + +msgid "E272: unhandled exception" +msgstr "E272: exceção não tratada" + +#, c-format +msgid "E273: unknown longjmp status %d" +msgstr "E273: status %d de longjmp desconhecido" + +msgid "Toggle implementation/definition" +msgstr "Alternar implementação/definição" + +msgid "Show base class of" +msgstr "Mostrar classe base de" + +msgid "Show overridden member function" +msgstr "Mostrar função membro sobrescrita" + +msgid "Retrieve from file" +msgstr "Recuperar do arquivo" + +msgid "Retrieve from project" +msgstr "Recuperar do projeto" + +msgid "Retrieve from all projects" +msgstr "Recuperar de todos os projetos" + +msgid "Retrieve" +msgstr "Recuperar" + +msgid "Show source of" +msgstr "Mostrar código de" + +msgid "Find symbol" +msgstr "Procurar símbolo" + +msgid "Browse class" +msgstr "Navegador de classe" + +msgid "Show class in hierarchy" +msgstr "Mostrar classe na hierarquia" + +msgid "Show class in restricted hierarchy" +msgstr "Mostrar classe em hierarquia restrita" + +msgid "Xref refers to" +msgstr "Xref refere-se a" + +msgid "Xref referred by" +msgstr "Xref referido por" + +msgid "Xref has a" +msgstr "Xref tem um" + +msgid "Xref used by" +msgstr "Xref usado por" + +msgid "Show docu of" +msgstr "Mostrar docum. de" + +msgid "Generate docu for" +msgstr "Gerar docum. para" + +msgid "Cannot connect to SNiFF+. Check environment (sniffemacs must be found in $PATH).\n" +msgstr "Não foi possível conectar-se ao SNiFF+. Verifique o ambiente (sniffemacs precisa ser encontrado no $PATH).\n" + +msgid "E274: Sniff: Error during read. Disconnected" +msgstr "E274: Sniff: Erro durante a leitura. Desconectado" + +msgid "SNiFF+ is currently " +msgstr "SNiFF+ está atualmente " + +msgid "not " +msgstr "des" + +msgid "connected" +msgstr "conectado" + +#, c-format +msgid "E275: Unknown SNiFF+ request: %s" +msgstr "E275: Pedido do SNiFF+ desconhecido: %s" + +msgid "E276: Error connecting to SNiFF+" +msgstr "E276: Erro ao conectar-se ao SNiFF+" + +msgid "E278: SNiFF+ not connected" +msgstr "E278: SNiFF+ desconectado" + +msgid "E279: Not a SNiFF+ buffer" +msgstr "E279: Não é um buffer do SNiFF+" + +msgid "Sniff: Error during write. Disconnected" +msgstr "Sniff: Erro durante a gravação. Desconectado" + +msgid "invalid buffer number" +msgstr "número inválido de buffer" + +msgid "not implemented yet" +msgstr "ainda não implementado" + +#. ??? +msgid "cannot set line(s)" +msgstr "não foi possível redefinir a(s) linha(s)" + +msgid "mark not set" +msgstr "marca não definida" + +#, c-format +msgid "row %d column %d" +msgstr "linha %d coluna %d" + +msgid "cannot insert/append line" +msgstr "impossível inserir/adicionar linha" + +msgid "unknown flag: " +msgstr "opção desconhecida: " + +msgid "unknown vimOption" +msgstr "opção do Vim desconhecida" + +msgid "keyboard interrupt" +msgstr "interrompido pelo teclado" + +msgid "vim error" +msgstr "erro do vim" + +msgid "cannot create buffer/window command: object is being deleted" +msgstr "impossível criar comando de buffer/janela: o objeto está sendo excluído" + +msgid "cannot register callback command: buffer/window is already being deleted" +msgstr "não foi possível registrar o comando de callback: o buffer/janela já está sendo excluído" + +#. This should never happen. Famous last word? +msgid "E280: TCL FATAL ERROR: reflist corrupt!? Please report this to vim-dev@vim.org" +msgstr "E280: ERRO FATAL DO TCL: reflist corrompida!? Por favor relate isso para vim-dev@vim.org" + +msgid "cannot register callback command: buffer/window reference not found" +msgstr "não foi possível registrar o comando de callback: referência a buffer/janela não encontrada" + +msgid "E571: Sorry, this command is disabled: the Tcl library could not be loaded." +msgstr "E571: Desculpe, este comando está desativado. A biblioteca do Tcl não pôde ser carregada." + +msgid "E281: TCL ERROR: exit code is not int!? Please report this to vim-dev@vim.org" +msgstr "E281: ERRO DO TCL: código de saída não é int!? Por favor relate isso para vim-dev@vim.org" + +#, c-format +msgid "E572: exit code %d" +msgstr "E572: código de saída %d" + +msgid "cannot get line" +msgstr "não foi possível obter a linha" + +msgid "Unable to register a command server name" +msgstr "Não foi possível registrar um nome para o servidor de comandos" + +msgid "E248: Failed to send command to the destination program" +msgstr "E248: Falha ao enviar comando ao programa de destino" + +#, c-format +msgid "E573: Invalid server id used: %s" +msgstr "E573: Foi usada uma id de servidor inválida: %s" + +msgid "E251: VIM instance registry property is badly formed. Deleted!" +msgstr "E251: Propriedade de registro de instância do VIM malformada encontrada e excluída!" + +msgid "Unknown option argument" +msgstr "Argumento de opção desconhecido" + +msgid "Too many edit arguments" +msgstr "Argumentos de edição em excesso" + +msgid "Argument missing after" +msgstr "Argumento faltando após" + +msgid "Garbage after option argument" +msgstr "Lixo após argumento de opção" + +msgid "Too many \"+command\", \"-c command\" or \"--cmd command\" arguments" +msgstr "Demasiados argumentos \"+comando\", \"-c comando\" ou \"--cmd comando\"" + +msgid "Invalid argument for" +msgstr "Argumento inválido para" + +#, c-format +msgid "%d files to edit\n" +msgstr "%d arquivos para editar\n" + +msgid "This Vim was not compiled with the diff feature." +msgstr "Este Vim não foi compilado com o recurso diff." + +msgid "Attempt to open script file again: \"" +msgstr "Tentando abrir novamente arquivo de script: \"" + +msgid "Cannot open for reading: \"" +msgstr "Impossível abrir para leitura: \"" + +msgid "Cannot open for script output: \"" +msgstr "Impossível abrir para transcrição do script: \"" + +msgid "Vim: Error: Failure to start gvim from NetBeans\n" +msgstr "Vim: Erro: Não foi possível iniciar o gvim a partir do NetBeans\n" + +msgid "Vim: Warning: Output is not to a terminal\n" +msgstr "Vim: Aviso: Saída não é um terminal\n" + +msgid "Vim: Warning: Input is not from a terminal\n" +msgstr "Vim: Aviso: Entrada não é de um terminal\n" + +#. just in case.. +msgid "pre-vimrc command line" +msgstr "linha de comando pré-vimrc" + +#, c-format +msgid "E282: Cannot read from \"%s\"" +msgstr "E282: Impossível ler de \"%s\"" + +msgid "" +"\n" +"More info with: \"vim -h\"\n" +msgstr "" +"\n" +"Mais informações com: \"vim -h\"\n" + +msgid "[file ..] edit specified file(s)" +msgstr "[arquivo ..] abrir o(s) arquivo(s) especificado(s)" + +msgid "- read text from stdin" +msgstr "- ler texto a partir da entrada padrão" + +msgid "-t tag edit file where tag is defined" +msgstr "-t marcador editar arquivo onde o marcador é definido" + +msgid "-q [errorfile] edit file with first error" +msgstr "-q [arq.erro] editar arquivo e abrir no primeiro erro" + +msgid "" +"\n" +"\n" +"usage:" +msgstr "" +"\n" +"\n" +"uso:" + +msgid " vim [arguments] " +msgstr " vim [argumentos] " + +msgid "" +"\n" +" or:" +msgstr "" +"\n" +" ou:" + +msgid "" +"\n" +"Where case is ignored prepend / to make flag upper case" +msgstr "" +"\n" +"Se a caixa é ignorada, insira / antes da opção para torná-la maiúscula" + +msgid "" +"\n" +"\n" +"Arguments:\n" +msgstr "" +"\n" +"\n" +"Argumentos:\n" + +msgid "--\t\t\tOnly file names after this" +msgstr "--\t\t\tApenas nomes de arquivo depois daqui" + +msgid "--literal\t\tDon't expand wildcards" +msgstr "--literal\t\tNão expandir caracteres-curinga" + +msgid "-register\t\tRegister this gvim for OLE" +msgstr "-register\t\tRegistrar o gvim para o OLE" + +msgid "-unregister\t\tUnregister gvim for OLE" +msgstr "-unregister\t\tDesregistrar o gvim para o OLE" + +msgid "-g\t\t\tRun using GUI (like \"gvim\")" +msgstr "-g\t\t\tExecutar a interface gráfica (como \"gvim\")" + +msgid "-f or --nofork\tForeground: Don't fork when starting GUI" +msgstr "-f ou --nofork\tPrimeiro plano: Não separar a interface gráfica do terminal" + +msgid "-v\t\t\tVi mode (like \"vi\")" +msgstr "-v\t\t\tModo Vi (como \"vi\")" + +msgid "-e\t\t\tEx mode (like \"ex\")" +msgstr "-e\t\t\tModo Ex (como \"ex\")" + +msgid "-s\t\t\tSilent (batch) mode (only for \"ex\")" +msgstr "-s\t\t\tModo silencioso ou \"batch\" (apenas para \"ex\")" + +msgid "-d\t\t\tDiff mode (like \"vimdiff\")" +msgstr "-d\t\t\tModo diff (como \"vimdiff\")" + +msgid "-y\t\t\tEasy mode (like \"evim\", modeless)" +msgstr "-y\t\t\tModo fácil (como \"evim\", o Vim não modal)" + +msgid "-R\t\t\tReadonly mode (like \"view\")" +msgstr "-R\t\t\tmodo somente-leitura (como \"view\")" + +msgid "-Z\t\t\tRestricted mode (like \"rvim\")" +msgstr "-Z\t\t\tmodo restrito (como \"rvim\")" + +msgid "-m\t\t\tModifications (writing files) not allowed" +msgstr "-m\t\t\tNão permitir alterações (gravação de arquivos)" + +msgid "-M\t\t\tModifications in text not allowed" +msgstr "-M\t\t\tNão permitir alterações no texto" + +msgid "-b\t\t\tBinary mode" +msgstr "-b\t\t\tModo binário" + +msgid "-l\t\t\tLisp mode" +msgstr "-l\t\t\tModo Lisp" + +msgid "-C\t\t\tCompatible with Vi: 'compatible'" +msgstr "-C\t\t\tCompatível com o Vi: 'compatible'" + +msgid "-N\t\t\tNot fully Vi compatible: 'nocompatible'" +msgstr "-N\t\t\tNão totalmente compatível com o Vi: 'nocompatible'" + +msgid "-V[N][fname]\t\tBe verbose [level N] [log messages to fname]" +msgstr "-V[N][arq]\t\tDetalhado [nível N] [gravar mensagens em 'arq']" + +msgid "-D\t\t\tDebugging mode" +msgstr "-D\t\t\tModo de depuração (debug)" + +msgid "-n\t\t\tNo swap file, use memory only" +msgstr "-n\t\t\tNão usar arquivo de troca, apenas a memória" + +msgid "-r\t\t\tList swap files and exit" +msgstr "-r\t\t\tListar arquivos de troca e sair" + +msgid "-r (with file name)\tRecover crashed session" +msgstr "-r (nome de arquivo)\tRecuperar sessão perdida" + +msgid "-L\t\t\tSame as -r" +msgstr "-L\t\t\tMesmo que -r" + +msgid "-f\t\t\tDon't use newcli to open window" +msgstr "-f\t\t\tNão usar newcli para abrir janela" + +msgid "-dev \t\tUse for I/O" +msgstr "-dev \tUsar para E/S" + +msgid "-A\t\t\tstart in Arabic mode" +msgstr "-A\t\t\tiniciar no modo Árabe" + +msgid "-H\t\t\tStart in Hebrew mode" +msgstr "-H\t\t\tIniciar no modo Hebraico" + +msgid "-F\t\t\tStart in Farsi mode" +msgstr "-F\t\t\tIniciar no modo Farsi (persa)" + +msgid "-T \tSet terminal type to " +msgstr "-T \tDefinir tipo de terminal como " + +msgid "-u \t\tUse instead of any .vimrc" +msgstr "-u \t\tUsar em vez de qualquer outro .vimrc" + +msgid "-U \t\tUse instead of any .gvimrc" +msgstr "-U \t\tUsar em vez de qualquer outro .gvimrc" + +msgid "--noplugin\t\tDon't load plugin scripts" +msgstr "--noplugin\t\tNão carregar scripts de plugins" + +msgid "-p[N]\t\tOpen N tab pages (default: one for each file)" +msgstr "-p[N]\t\tAbrir N abas (padrão: uma para cada arquivo)" + +msgid "-o[N]\t\tOpen N windows (default: one for each file)" +msgstr "-o[N]\t\tAbrir N janelas (padrão: uma para cada arquivo)" + +msgid "-O[N]\t\tLike -o but split vertically" +msgstr "-O[N]\t\tComo -o, mas dividindo verticalmente" + +msgid "+\t\t\tStart at end of file" +msgstr "+\t\t\tAbrir no final do arquivo" + +msgid "+\t\tStart at line " +msgstr "+\t\tComeçar na linha " + +msgid "--cmd \tExecute before loading any vimrc file" +msgstr "--cmd \tExecutar antes de carregar qualquer vimrc" + +msgid "-c \t\tExecute after loading the first file" +msgstr "-c \t\tExecutar depois de carregar o primeiro arquivo" + +msgid "-S \t\tSource file after loading the first file" +msgstr "" +"-S \t\tExecutar o arquivo depois de carregar o\n" +"\t\t\tprimeiro arquivo" + +msgid "-s \tRead Normal mode commands from file " +msgstr "-s