From 2573f9d4824fe8b2428b13a68e98a27117f39514 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Sun, 27 Jul 2008 19:53:00 +0200 Subject: [PATCH] Update runtime files --- runtime/autoload/netrw.vim | 169 +++++------ runtime/autoload/vimball.vim | 61 ++-- runtime/autoload/zip.vim | 12 +- runtime/colors/darkblue.vim | 8 +- runtime/doc/Makefile | 5 +- runtime/doc/change.txt | 4 +- runtime/doc/cmdline.txt | 18 +- runtime/doc/diff.txt | 8 +- runtime/doc/digraph.txt | 6 +- runtime/doc/eval.txt | 24 +- runtime/doc/filetype.txt | 25 +- runtime/doc/help.txt | 4 +- runtime/doc/options.txt | 4 +- runtime/doc/pattern.txt | 4 +- runtime/doc/syntax.txt | 6 +- runtime/doc/tags | 3 + runtime/doc/todo.txt | 51 +++- runtime/doc/version7.txt | 6 +- runtime/doc/vim-fr.1 | 2 +- runtime/doc/vim-fr.UTF-8.1 | 2 +- runtime/doc/vim-it.1 | 2 +- runtime/doc/vim-it.UTF-8.1 | 2 +- runtime/doc/vim-pl.UTF-8.1 | 2 +- runtime/doc/vim-ru.1 | 2 +- runtime/doc/vim-ru.UTF-8.1 | 2 +- runtime/doc/vim.1 | 4 +- runtime/doc/vim.man | 8 +- runtime/doc/vimdiff.1 | 6 +- runtime/doc/vimdiff.man | 14 +- runtime/filetype.vim | 15 +- runtime/ftplugin/a2ps.vim | 8 +- runtime/ftplugin/alsaconf.vim | 8 +- runtime/ftplugin/arch.vim | 8 +- runtime/ftplugin/automake.vim | 8 +- runtime/ftplugin/bdf.vim | 8 +- runtime/ftplugin/calendar.vim | 8 +- runtime/ftplugin/cdrdaoconf.vim | 6 +- runtime/ftplugin/conf.vim | 8 +- runtime/ftplugin/context.vim | 5 +- runtime/ftplugin/crm.vim | 8 +- runtime/ftplugin/css.vim | 8 +- runtime/ftplugin/cvsrc.vim | 8 +- runtime/ftplugin/denyhosts.vim | 6 +- runtime/ftplugin/dictconf.vim | 8 +- runtime/ftplugin/dictdconf.vim | 8 +- runtime/ftplugin/dircolors.vim | 8 +- runtime/ftplugin/dosini.vim | 8 +- runtime/ftplugin/dtd.vim | 10 +- runtime/ftplugin/elinks.vim | 8 +- runtime/ftplugin/eterm.vim | 8 +- runtime/ftplugin/fetchmail.vim | 8 +- runtime/ftplugin/framescript.vim | 30 ++ runtime/ftplugin/gpg.vim | 8 +- runtime/ftplugin/group.vim | 8 +- runtime/ftplugin/grub.vim | 8 +- runtime/ftplugin/haskell.vim | 8 +- runtime/ftplugin/help.vim | 8 +- runtime/ftplugin/hostconf.vim | 6 +- .../ftplugin/{cdrdaoconf.vim => hostsaccess.vim} | 7 +- runtime/ftplugin/html.vim | 10 +- runtime/ftplugin/indent.vim | 8 +- runtime/ftplugin/kconfig.vim | 8 +- runtime/ftplugin/ld.vim | 8 +- runtime/ftplugin/lftp.vim | 8 +- runtime/ftplugin/libao.vim | 8 +- runtime/ftplugin/limits.vim | 8 +- runtime/ftplugin/loginaccess.vim | 8 +- runtime/ftplugin/logindefs.vim | 8 +- runtime/ftplugin/m4.vim | 8 +- runtime/ftplugin/mailaliases.vim | 8 +- runtime/ftplugin/mailcap.vim | 8 +- runtime/ftplugin/manconf.vim | 8 +- runtime/ftplugin/mf.vim | 7 +- runtime/ftplugin/modconf.vim | 8 +- runtime/ftplugin/mp.vim | 8 +- runtime/ftplugin/mplayerconf.vim | 8 +- runtime/ftplugin/muttrc.vim | 6 + runtime/ftplugin/nanorc.vim | 8 +- runtime/ftplugin/netrc.vim | 8 +- runtime/ftplugin/nsis.vim | 22 ++ runtime/ftplugin/ocaml.vim | 39 ++- runtime/ftplugin/pamconf.vim | 8 +- runtime/ftplugin/passwd.vim | 8 +- runtime/ftplugin/perl.vim | 5 +- runtime/ftplugin/pinfo.vim | 8 +- runtime/ftplugin/procmail.vim | 8 +- runtime/ftplugin/prolog.vim | 8 +- runtime/ftplugin/protocols.vim | 8 +- runtime/ftplugin/quake.vim | 8 +- runtime/ftplugin/racc.vim | 8 +- runtime/ftplugin/readline.vim | 8 +- runtime/ftplugin/rnc.vim | 8 +- runtime/ftplugin/rst.vim | 8 +- runtime/ftplugin/screen.vim | 8 +- runtime/ftplugin/sensors.vim | 8 +- runtime/ftplugin/services.vim | 8 +- runtime/ftplugin/setserial.vim | 8 +- runtime/ftplugin/sieve.vim | 8 +- runtime/ftplugin/slpconf.vim | 8 +- runtime/ftplugin/slpreg.vim | 8 +- runtime/ftplugin/slpspi.vim | 8 +- runtime/ftplugin/sshconfig.vim | 8 +- runtime/ftplugin/sudoers.vim | 8 +- runtime/ftplugin/sysctl.vim | 8 +- runtime/ftplugin/terminfo.vim | 8 +- runtime/ftplugin/udevconf.vim | 8 +- runtime/ftplugin/udevperm.vim | 8 +- runtime/ftplugin/udevrules.vim | 8 +- runtime/ftplugin/updatedb.vim | 8 +- runtime/ftplugin/xdefaults.vim | 8 +- runtime/ftplugin/xf86conf.vim | 8 +- runtime/ftplugin/xinetd.vim | 8 +- runtime/ftplugin/xml.vim | 11 +- runtime/ftplugin/xmodmap.vim | 8 +- runtime/ftplugin/yaml.vim | 8 +- runtime/ftplugin/zsh.vim | 8 +- runtime/getdos.aap | 311 ++++++++++---------- runtime/getunix.aap | 303 ++++++++++--------- runtime/indent/dtd.vim | 325 +++++++++++++++++++++ runtime/indent/framescript.vim | 41 +++ runtime/plugin/netrwPlugin.vim | 14 +- runtime/scripts.vim | 3 +- runtime/syntax/2html.vim | 4 +- runtime/syntax/autohotkey.vim | 11 +- runtime/syntax/doxygen.vim | 22 +- runtime/syntax/forth.vim | 112 +++++-- runtime/syntax/mailaliases.vim | 4 +- runtime/syntax/modconf.vim | 4 +- runtime/syntax/racc.vim | 14 +- runtime/syntax/sh.vim | 9 +- runtime/syntax/sieve.vim | 6 +- runtime/syntax/tex.vim | 5 +- runtime/syntax/updatedb.vim | 4 +- runtime/syntax/yaml.vim | 254 ++++++---------- runtime/syntax/zsh.vim | 43 ++- runtime/tools/vimm | 4 +- runtime/tools/vimspell.sh | 3 +- runtime/tutor/tutor.vim | 7 +- 138 files changed, 1863 insertions(+), 865 deletions(-) create mode 100644 runtime/ftplugin/framescript.vim copy runtime/ftplugin/{cdrdaoconf.vim => hostsaccess.vim} (71%) create mode 100644 runtime/ftplugin/nsis.vim create mode 100644 runtime/indent/dtd.vim create mode 100644 runtime/indent/framescript.vim rewrite runtime/syntax/yaml.vim (70%) diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim index 6221294b..abc4fa11 100644 --- 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: Jul 16, 2008, Jul 24, 2008 +" Version: 127 + changes by Bram " 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 = "v127+b3" " sanity checks if v:version < 700 @@ -359,6 +359,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 @@ -713,13 +714,13 @@ fun! netrw#NetRead(mode,...) let netrw_fname= b:netrw_fname call s:SaveBufVars()|new|call s:RestoreBufVars() setlocal ff=unix - 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 - exe "put ='".'get \"'.netrw_fname.'\" '.tmpfile."'" + put ='get \"'.netrw_fname.'\" '.tmpfile " 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." ".g:netrw_port,1)) @@ -770,7 +771,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 @@ -1084,13 +1085,13 @@ fun! netrw#NetWrite(...) range new " call Decho("filter input window#".winnr()) setlocal ff=unix - 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 - exe "put ='".'put \"'.tmpfile.'\" \"'.netrw_fname.'\"'."'" + put ='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)) @@ -1278,8 +1279,8 @@ fun! netrw#NetSource(...) call netrw#NetRead(3,a:{i}) " call Decho("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("exe so ".fnameescape(s:netrw_tmpfile)) + exe "so ".fnameescape(s:netrw_tmpfile) call delete(s:netrw_tmpfile) unlet s:netrw_tmpfile else @@ -1713,15 +1714,16 @@ fun! s:BrowserMaps(islocal) 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.'")' + let curdir = escape(b:netrw_curdir, s:netrw_map_escape) + exe 'nnoremap :call NetrwLocalRm("'.curdir.'")' + exe 'vnoremap :call NetrwLocalRm("'.curdir.'")' + endif + exe 'nnoremap :call NetrwLocalRm("'.curdir.'")' + exe 'vnoremap :call NetrwLocalRm("'.curdir.'")' + exe 'nnoremap D :call NetrwLocalRm("'.curdir.'")' + exe 'vnoremap D :call NetrwLocalRm("'.curdir.'")' + exe 'nnoremap R :call NetrwLocalRename("'.curdir.'")' + exe 'vnoremap R :call NetrwLocalRename("'.curdir.'")' exe 'nnoremap m :call NetrwMakeDir("")' nnoremap :he netrw-quickhelp @@ -1779,16 +1781,18 @@ fun! s:BrowserMaps(islocal) 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.'")' + let path = escape(s:path, s:netrw_map_escape) + let user_machine = escape(s:user.s:machine, s:netrw_map_escape) + exe 'nnoremap :call NetrwRemoteRm("'.user_machine.'","'.path.'")' + exe 'vnoremap :call NetrwRemoteRm("'.user_machine.'","'.path.'")' + endif + exe 'nnoremap :call NetrwRemoteRm("'.user_machine.'","'.path.'")' + exe 'vnoremap :call NetrwRemoteRm("'.user_machine.'","'.path.'")' + exe 'nnoremap d :call NetrwMakeDir("'.user_machine.'")' + exe 'nnoremap D :call NetrwRemoteRm("'.user_machine.'","'.path.'")' + exe 'vnoremap D :call NetrwRemoteRm("'.user_machine.'","'.path.'")' + exe 'nnoremap R :call NetrwRemoteRename("'.user_machine.'","'.path.'")' + exe 'vnoremap R :call NetrwRemoteRename("'.user_machine.'","'.path.'")' nnoremap :he netrw-quickhelp endif call s:SetRexDir(a:islocal,b:netrw_curdir) @@ -1842,7 +1846,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 +2344,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 +3277,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 @@ -3826,7 +3830,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 +3890,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(copy(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)) @@ -3968,13 +3972,13 @@ fun! s:NetrwMarkFileDiff(islocal) endif if cnt == 1 " call Decho("diffthis: ".fname) - exe "e ".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 @@ -3996,15 +4000,10 @@ fun! s:NetrwMarkFileEdit(islocal) 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 + " TODO: use complete paths if its local and keepdir enabled + let flist= join(map(s:netrwmarkfilelist, "fnameescape(v:val)")) else -" let flist= substitute(escape(join(s:netrwmarkfilelist_{curbufnr},"\t"),' '),"\t",' ','g') - let flist= substitute(escape(join(s:netrwmarkfilelist,"\t"),' '),"\t",' ','g') + let flist= join(map(s:netrwmarkfilelist, "fnameescape(v:val)")) endif " unmark markedfile list " call s:NetrwUnmarkList(curbufnr,curdir) @@ -4040,7 +4039,7 @@ fun! s:NetrwMarkFileExe(islocal) let fname= shellescape(s:WinPath(s:ComposePath(curdir,fname))) endif else - let fname= shellescape(s:WinPath(b:netrw_curdir.fname)) + let fname= shellescape(s:WinPath(b:netrw_curdir.fname),1) endif if cmd =~ '%' let xcmd= substitute(cmd,'%',fname,'g') @@ -4138,17 +4137,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(s:netrwmarkfilelist, "fnameescape(v:val)")) call s:NetrwUnmarkAll() " ask user for pattern @@ -4295,7 +4288,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 +4412,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(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 +4430,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 @@ -4812,7 +4795,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 +4805,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 +4863,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 +5036,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) @@ -5076,7 +5057,7 @@ fun! s:NetrwUpload(fname,tgt,...) 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 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 +5078,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 +5147,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 +5191,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 +6008,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 +6267,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 +6301,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 +6650,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 +6841,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 +6872,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 +7551,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/vimball.vim b/runtime/autoload/vimball.vim index d69c6453..61b007a1 100644 --- 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 +" Version: 27 modified by Bram " 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") || v:version < 700 finish endif let s:keepcpo = &cpo -let g:loaded_vimball = "v27" +let g:loaded_vimball = "v27+b" set cpo&vim "DechoTabOn @@ -169,7 +169,8 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range call setline(lastline+1,0) " write the file from the tab - let svfilepath= s:Path(svfile,'') + "let svfilepath= s:Path(svfile,'') + let svfilepath= svfile " call Decho("exe $r ".fnameescape(svfilepath)) exe "$r ".fnameescape(svfilepath) @@ -186,11 +187,13 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range call s:ChgDir(curdir) setlocal ff=unix if a:writelevel - let vbnamepath= s:Path(vbname,'') + " let vbnamepath= s:Path(vbname,'') + let vbnamepath= vbname " call Decho("exe w! ".fnameescape(vbnamepath)) exe "w! ".fnameescape(vbnamepath) else - let vbnamepath= s:Path(vbname,'') + " let vbnamepath= s:Path(vbname,'') + let vbnamepath= vbname " call Decho("exe w ".fnameescape(vbnamepath)) exe "w ".fnameescape(vbnamepath) endif @@ -338,7 +341,8 @@ fun! vimball#Vimball(really,...) " write tab to file if a:really - let fnamepath= s:Path(home."/".fname,'') + " 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 +368,10 @@ 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= s:Path(home."/".didhelp,"") + let htpath= home."/".didhelp " call Decho("exe helptags ".htpath) - exe "helptags ".htpath + exe "helptags ".fnameescape(htpath) echo "did helptags" endif @@ -577,26 +582,26 @@ fun! s:ChgDir(newdir) " call Dret("ChgDir : curdir<".getcwd().">") 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: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 diff --git a/runtime/autoload/zip.vim b/runtime/autoload/zip.vim index b35a411d..a372c148 100644 --- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -99,8 +99,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 +193,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 +286,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 diff --git a/runtime/colors/darkblue.vim b/runtime/colors/darkblue.vim index c1800eac..41171227 100644 --- 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 gui=none cterm=none 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 index 3a289d7b..97dbd0a4 100644 --- a/runtime/doc/Makefile +++ b/runtime/doc/Makefile @@ -296,7 +296,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 +314,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 diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 65af5fc1..dae6438c 100644 --- 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.2b. 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 index 8f577c87..bced718b 100644 --- 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.2b. Last change: 2008 Jul 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -99,19 +99,19 @@ 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. *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 +997,7 @@ other than the one that is executed with are lost. 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 +1044,9 @@ events are not triggered. You can use the Cmdwin events to do settings 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/diff.txt b/runtime/doc/diff.txt index 379f6a6b..0abb82c3 100644 --- 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.2b. 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 for each of the files. This is like 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 index b15651d7..2d335a60 100644 --- 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.2b. 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/eval.txt b/runtime/doc/eval.txt index 20fa361d..04aa959b 100644 --- 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.2b. 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}]) *shellescape()* 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, see |curly-braces-names|. And the 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| that contains these arguments. Note 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/filetype.txt b/runtime/doc/filetype.txt index 4bff42d5..00569a2d 100644 --- 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.2b. 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/help.txt b/runtime/doc/help.txt index e81dd3a4..c1478028 100644 --- 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.2b. 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/options.txt b/runtime/doc/options.txt index 22c04196..016fea41 100644 --- 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.2b. Last change: 2008 Jul 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -4898,7 +4898,7 @@ A jump table for the options with a short description can be found at |Q_op|. 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| diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index ae60b83b..78ebe1d9 100644 --- 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.2b. Last change: 2008 Jul 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1122,7 +1122,7 @@ in the file. {Vi cannot handle characters in the file at all} *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/syntax.txt b/runtime/doc/syntax.txt index 839ab344..c0445ec6 100644 --- 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.2b. Last change: 2008 Jul 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -852,8 +852,8 @@ If this variable is undefined or zero, btm syntax is selected. 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/tags b/runtime/doc/tags index b955aaf0..7e2ef9ae 100644 --- 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/todo.txt b/runtime/doc/todo.txt index 03e49813..34adb8cf 100644 --- 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.2b. Last change: 2008 Jul 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -31,7 +31,7 @@ be worked on, but only if you sponsor Vim development. See |sponsor|. -------------------- 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) @@ -52,6 +52,13 @@ Wildmenu not deleted: "gvim -u NONE", ":set nocp wildmenu cmdheight=3 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 @@ -64,12 +71,17 @@ command is not executed. 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 @@ -125,8 +137,6 @@ Await response to question to make the register writable. 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 +168,10 @@ New PHP syntax file, use it? (Peter Hodge) '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. @@ -321,6 +335,8 @@ use a different dialog: "busy saving, really quit? yes / no". 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 +397,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. @@ -463,9 +486,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) @@ -626,6 +646,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 +1234,6 @@ Macintosh: 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 +1332,7 @@ Macintosh: 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 diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt index 7f450f42..63b8a809 100644 --- 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.2b. Last change: 2008 Jul 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -6847,7 +6847,7 @@ Problem: When a file name has an illegal byte sequence Vim may read 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 +6916,7 @@ Overlapping STRCPY() arguments when using %r item in 'errorformat'. Use 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 diff --git a/runtime/doc/vim-fr.1 b/runtime/doc/vim-fr.1 index 58434406..3b49351b 100644 --- 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 index aa2c3c95..6e7b183b 100644 --- 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 index d712af46..1a8967fd 100755 --- 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 index f41691df..a7ea5f99 100644 --- 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.UTF-8.1 b/runtime/doc/vim-pl.UTF-8.1 index ab19a527..365da5a4 100644 --- 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 index 11e30174..bb2597fe 100644 --- 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 index b4d88edb..78127a1c 100644 --- 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 index 4e90da27..820caa24 100644 --- a/runtime/doc/vim.1 +++ b/runtime/doc/vim.1 @@ -187,7 +187,7 @@ behave mostly like Vi, even though a .vimrc file exists. .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 its name. See ":help 'filetype'". /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 index fa5c5c85..5b9b83cb 100644 --- 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 index 90ed8b80..bed2b328 100644 --- 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 index 41ef47f3..913ac138 100644 --- a/runtime/doc/vimdiff.man +++ b/runtime/doc/vimdiff.man @@ -3,19 +3,19 @@ VIMDIFF(1) 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/filetype.vim b/runtime/filetype.vim index 17f7a80c..03300cb0 100644 --- 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 Jul 25 " Listen very carefully, I will say this only once if exists("did_load_filetypes") @@ -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 index a596fc83..66533519 100644 --- 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 index 0ef6991d..5d763c80 100644 --- 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 index 2da9e40a..71d831e1 100644 --- 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 index c48ea13e..20b06af3 100644 --- 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 index a010c2c5..120c5df9 100644 --- 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 index ca565111..6f117e36 100644 --- 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 index 86796eb8..557fd82c 100644 --- 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 index 8e0b7f8d..1b110e47 100644 --- 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 index c74be071..1c7d6783 100644 --- 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 index d80582e2..43d1edfa 100644 --- 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+=croql 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 index 2a49f8d6..c4105305 100644 --- 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 index 86796eb8..557fd82c 100644 --- 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 index 6ebd94ad..659046c1 100644 --- 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 index bda87821..ee738c50 100644 --- 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 index bdbecc01..3b3d046e 100644 --- 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 index 354b093e..461403ca 100644 --- 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 index 99111877..3b15bda3 100644 --- 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 index c7c11f64..7d925756 100644 --- 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 index df5bf500..e072c638 100644 --- 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 index 174ed448..a0d4650c 100644 --- 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 index 00000000..805401a8 --- /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/gpg.vim b/runtime/ftplugin/gpg.vim index d4bed143..5caa1f69 100644 --- 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 index 447ba183..eef3cd68 100644 --- 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 index 162fcd3e..21c4e360 100644 --- 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 index f5a3a807..144f9f68 100644 --- 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 index 46c844ca..5c6dac82 100644 --- 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 index 86796eb8..557fd82c 100644 --- 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/cdrdaoconf.vim b/runtime/ftplugin/hostsaccess.vim similarity index 71% copy from runtime/ftplugin/cdrdaoconf.vim copy to runtime/ftplugin/hostsaccess.vim index 86796eb8..a2f55acb 100644 --- a/runtime/ftplugin/cdrdaoconf.vim +++ b/runtime/ftplugin/hostsaccess.vim @@ -1,6 +1,7 @@ " Vim filetype plugin file +" Language: hosts_access(5) control file " Maintainer: Nikolai Weibull -" Latest Revision: 2007-09-18 +" Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish @@ -14,5 +15,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/html.vim b/runtime/ftplugin/html.vim index 4797f4b4..6c8607d9 100644 --- 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 commentstring= setlocal matchpairs+=<:> +setlocal commentstring= +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 index 2047b1de..0e195b06 100644 --- 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 index bb932188..1b10c86a 100644 --- 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 index 544fc0d0..31ce5c9f 100644 --- 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 index e81684c2..9e2eeb52 100644 --- 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 index 8845b17f..38bd3de9 100644 --- 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 index 6b18c837..cd5b7b5c 100644 --- 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 index c5cb1b1c..7c44f972 100644 --- 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 index 431755e5..668d08a0 100644 --- 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 index 87025840..0ffe0ac7 100644 --- 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 index f52583fc..1b10c86a 100644 --- 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 index df4e994c..f4c8c232 100644 --- 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 index 69cf6f50..a249a975 100644 --- 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 index e351a136..fd1d3ce6 100644 --- 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 index 97102a1e..f200e9f6 100644 --- 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 index 37097821..316fa9bb 100644 --- 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 index e410667d..65034a81 100644 --- 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 index 18b06d81..a109e5dd 100644 --- 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 index 67a2a48c..be20d125 100644 --- 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 index 0f9417a8..105a1d3a 100644 --- 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 index 00000000..acc26208 --- /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 index 53431c9b..379a1c93 100644 --- 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 = substitute(s:Fnameescape(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 = substitute(s:Fnameescape(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 index cf9707aa..96d96461 100644 --- 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 index 20f2b7f5..5088c433 100644 --- 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 index 3f3e570b..37710056 100644 --- 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 index 7f1ecdfb..6ec1f87b 100644 --- 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 index a8db58eb..cc2ceede 100644 --- 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 index cf191a90..caeb574c 100644 --- 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 index b3679bd5..2486ff93 100644 --- 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 index 25c6e7e5..f62693b1 100644 --- 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 index 72c1e14c..7ff22f89 100644 --- 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 index 9656c575..0a4dbb5c 100644 --- 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 index a5d21fb2..2b8fd50d 100644 --- 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 index 8fc25e9e..b871cf14 100644 --- 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 index 92ce475b..95c38495 100644 --- 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 index e1f66fc0..813d14c0 100644 --- 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 index d670cd90..d34349ee 100644 --- 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 index 4b4796bc..f9d59457 100644 --- 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 index d906e198..9a8759c0 100644 --- 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 index 8c92a55b..0c456896 100644 --- 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 index 07e42c1f..e9d533e2 100644 --- 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 index d6a67517..8d64d476 100644 --- 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 index 3552696a..f940af97 100644 --- 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 index a698f04d..57563021 100644 --- 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 index 6b1ac6c0..fb1098dd 100644 --- 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 index a473bcd0..7ce31d1c 100644 --- 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 index c0a09827..6042e144 100644 --- 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 index 82602b1e..e7ad31d0 100644 --- 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 index 3cb4c334..be8d6469 100644 --- 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 index db35fee1..f4e7bceb 100644 --- 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 index b441dfe7..cd851829 100644 --- 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 index 29e9eac6..ab7569a1 100644 --- 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 index b62dec57..f209af18 100644 --- 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 index 8cff5377..55d9ee6c 100644 --- 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 index a0d913ea..027ae09f 100644 --- 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 index a2893cda..b88803ab 100644 --- 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 index c8f82a56..c6db7817 100644 --- 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/getdos.aap b/runtime/getdos.aap index 8f2ca418..e7b6f467 100644 --- a/runtime/getdos.aap +++ b/runtime/getdos.aap @@ -22,10 +22,10 @@ all fetch: @if get_md5(file) != "fef32b968c90882376f0a31873629923": :fetch {fetch = $fetcha} $file file = doc/change.txt - @if get_md5(file) != "470a322f754cda02dd7a4d5d11a20987": + @if get_md5(file) != "9f0ef4a6f0ff83b914f7a70506172bfe": :fetch {fetch = $fetcha} $file file = doc/cmdline.txt - @if get_md5(file) != "936ba3ea487198e9448284036d15f99e": + @if get_md5(file) != "ba0f7c6657ad6eafc6141a125713d611": :fetch {fetch = $fetcha} $file file = doc/debug.txt @if get_md5(file) != "ff9ef4c6cb1ac26c605bf0920b9b3aab": @@ -37,22 +37,22 @@ all fetch: @if get_md5(file) != "4d83be22ea56c179ed146b0ae47dc257": :fetch {fetch = $fetcha} $file file = doc/diff.txt - @if get_md5(file) != "fc18a23c2fb4697094a80debe8c60e1d": + @if get_md5(file) != "732d9ed5886c5b00f4e6df4b7fbafe47": :fetch {fetch = $fetcha} $file file = doc/digraph.txt - @if get_md5(file) != "44b2bbc1f9b137c933c3f350ac7952d6": + @if get_md5(file) != "0780775d45b2312194ec02d2fad50655": :fetch {fetch = $fetcha} $file file = doc/editing.txt @if get_md5(file) != "5a2807f4334392e29516260334492a53": :fetch {fetch = $fetcha} $file file = doc/eval.txt - @if get_md5(file) != "ea45cc6a9492ffe262c6eae123ddc69b": + @if get_md5(file) != "ea3db41fefa3edb40fc2cd0490c7717b": :fetch {fetch = $fetcha} $file file = doc/farsi.txt @if get_md5(file) != "badd998f01df6d1599a9c543684e4987": :fetch {fetch = $fetcha} $file file = doc/filetype.txt - @if get_md5(file) != "84321f5bceb5fa6890102d1b0943e0c0": + @if get_md5(file) != "1e626cb82200775cee6ed063bd206ead": :fetch {fetch = $fetcha} $file file = doc/fold.txt @if get_md5(file) != "fa5e1fe60d983d3ce340cb4ba408316a": @@ -85,7 +85,7 @@ all fetch: @if get_md5(file) != "de2f677a06134f5fb93809f6052cdcfc": :fetch {fetch = $fetcha} $file file = doc/help.txt - @if get_md5(file) != "4b4f2bbb53fb0510efc9de55b39ae310": + @if get_md5(file) != "7b7a22efe27b022c1e4783642938b292": :fetch {fetch = $fetcha} $file file = doc/howto.txt @if get_md5(file) != "747f00683859396c085c21fd4da258fc": @@ -142,7 +142,7 @@ all fetch: @if get_md5(file) != "6a55a7830e385b6305e61b9fce848b04": :fetch {fetch = $fetcha} $file file = doc/options.txt - @if get_md5(file) != "58c900e2d14ce741bc7c95f97009dc92": + @if get_md5(file) != "364c2fdb9e435534892e7c7c002edaff": :fetch {fetch = $fetcha} $file file = doc/os_390.txt @if get_md5(file) != "f026e056d52aeb436dc0275d314693d2": @@ -184,7 +184,7 @@ all fetch: @if get_md5(file) != "6342fd2752acdb5df9025369a546f8ba": :fetch {fetch = $fetcha} $file file = doc/pattern.txt - @if get_md5(file) != "e940fbcccdc1161e1754df41c9ca3f2e": + @if get_md5(file) != "a3a50769d2a617c1ef6336509a40cae9": :fetch {fetch = $fetcha} $file file = doc/pi_getscript.txt @if get_md5(file) != "052c875b7e56afb8337afb59467c874c": @@ -253,7 +253,7 @@ all fetch: @if get_md5(file) != "55e85ceda8ef9ea9e10e156abfc4b4b0": :fetch {fetch = $fetcha} $file file = doc/syntax.txt - @if get_md5(file) != "4b6bb5173a522f4dbc954178660a1808": + @if get_md5(file) != "20a92020ad9f31641a2f2b7e937a7e88": :fetch {fetch = $fetcha} $file file = doc/tabpage.txt @if get_md5(file) != "ec9b7eacd15bd112958ff8d635563d30": @@ -268,7 +268,7 @@ all fetch: @if get_md5(file) != "ba9aa88c1f0799e8283cec7ea255391a": :fetch {fetch = $fetcha} $file file = doc/todo.txt - @if get_md5(file) != "7cd4716cecc3e5a98c1575588ad2ceae": + @if get_md5(file) != "ed11d883622282de6672e8e978b24afb": :fetch {fetch = $fetcha} $file file = doc/uganda.txt @if get_md5(file) != "f427c16440a3fd3c15a4f74d34954970": @@ -388,7 +388,7 @@ all fetch: @if get_md5(file) != "c8d04bccf1b7530c4c7df406d58819bd": :fetch {fetch = $fetcha} $file file = doc/version7.txt - @if get_md5(file) != "7eb79d5c8c8ccb862b87f0d466cc1a29": + @if get_md5(file) != "87cf5dd23625d3412af6d1b83488b1a6": :fetch {fetch = $fetcha} $file file = doc/vi_diff.txt @if get_md5(file) != "3a8215aef04367e6be104fb2c062bd38": @@ -403,19 +403,19 @@ all fetch: @if get_md5(file) != "91e1520dd50c960952b582384f03440c": :fetch {fetch = $fetcha} $file file = doc/Makefile - @if get_md5(file) != "2dd8615a78128dcccd58f5cc32e772e1": + @if get_md5(file) != "ad1711322a5f1c5637fa84f0b5559120": :fetch {fetch = $fetcha} $file file = doc/doctags.c @if get_md5(file) != "160ebf04c9e837e4dcec5b050e63b4cf": :fetch {fetch = $fetcha} $file file = doc/vim.1 - @if get_md5(file) != "f62781c53077f433a44d160a8924c2e5": + @if get_md5(file) != "bce45a08141cad0488fe944739dd61ed": :fetch {fetch = $fetcha} $file file = doc/evim.1 @if get_md5(file) != "a6d3d55271eecb1a4d5027353bd1675d": :fetch {fetch = $fetcha} $file file = doc/vimdiff.1 - @if get_md5(file) != "61c3fc2c1d3597483e1240731fd52979": + @if get_md5(file) != "32050a02f259acab4f6e85739b9453c6": :fetch {fetch = $fetcha} $file file = doc/vimtutor.1 @if get_md5(file) != "2edaaf8a682d5d8a25af25500c340525": @@ -592,10 +592,10 @@ all fetch: @if get_md5(file) != "f8aab9e47fecc748d83adece47fe7409": :fetch {fetch = $fetcha} $file file = tools/vimm - @if get_md5(file) != "35b8319037bfa4a60a6ef1d2e5714948": + @if get_md5(file) != "b536cae618985b80100d59044b9851cd": :fetch {fetch = $fetcha} $file file = tools/vimspell.sh - @if get_md5(file) != "3be8cfaa53653a7ac3db8059aba07c0c": + @if get_md5(file) != "2d51419731261270d7cbefbcf688b166": :fetch {fetch = $fetcha} $file file = tools/vimspell.txt @if get_md5(file) != "cd06b37cc90c041147c4cec9d727ffe1": @@ -611,16 +611,16 @@ all fetch: @if get_md5(file) != "89dc613b87da92e94ff615f505b73d4b": :fetch {fetch = $fetcha} $file file = tutor/tutor.vim - @if get_md5(file) != "f998db39939db0a51759682caafd6348": + @if get_md5(file) != "c92c18725e118f0cc31a3086bb44b705": :fetch {fetch = $fetcha} $file file = vimrc_example.vim @if get_md5(file) != "ce9bdd4f72052bd07185cd5cf9687de3": :fetch {fetch = $fetcha} $file file = filetype.vim - @if get_md5(file) != "c0251ab52f2ab82864210ba201e4e899": + @if get_md5(file) != "4a80a0b05399bf06795375235c3cfb30": :fetch {fetch = $fetcha} $file file = scripts.vim - @if get_md5(file) != "6bde24f28c722a260efb748d32a4faca": + @if get_md5(file) != "32a4469f46e9a6e182ee7ac56a9ca3d0": :fetch {fetch = $fetcha} $file file = menu.vim @if get_md5(file) != "258eed54fdbd72948a3dc8720cf65a55": @@ -669,7 +669,7 @@ all fetch: @if get_md5(file) != "14433d057f181ccc72a21cbf85347690": :fetch {fetch = $fetcha} $file file = autoload/netrw.vim - @if get_md5(file) != "e81ea21c598f3da91a94c8206b3fb744": + @if get_md5(file) != "4c14aefc696e912ec87c5aacd7a6703b": :fetch {fetch = $fetcha} $file file = autoload/netrwFileHandlers.vim @if get_md5(file) != "3bda9a928d5d5ea2507c9c221ba7902e": @@ -702,13 +702,13 @@ all fetch: @if get_md5(file) != "41eb1951b786add22cd459b69c6fbed4": :fetch {fetch = $fetcha} $file file = autoload/vimball.vim - @if get_md5(file) != "f479109ca8e37a045c6065eade6419f7": + @if get_md5(file) != "2072c58d52a1e7852d55025614c39ab8": :fetch {fetch = $fetcha} $file file = autoload/xmlcomplete.vim @if get_md5(file) != "162431c8ad7e4bd183d460bc9736aef1": :fetch {fetch = $fetcha} $file file = autoload/zip.vim - @if get_md5(file) != "a9e1c38807a3467e35525a70d09d1c35": + @if get_md5(file) != "608eec13103b16b6fe8ee6d811c5bad5": :fetch {fetch = $fetcha} $file file = autoload/README.txt @if get_md5(file) != "05d0473d5a9d9093421cc9532a1187e6": @@ -758,7 +758,7 @@ all fetch: @if get_md5(file) != "8b50188960f595c8291505f567b74b48": :fetch {fetch = $fetcha} $file file = colors/darkblue.vim - @if get_md5(file) != "1acb580b96d623c991f1d32be41808be": + @if get_md5(file) != "fca740d50a1d22d70810455e7905511c": :fetch {fetch = $fetcha} $file file = colors/default.vim @if get_md5(file) != "53120f6b19105e4a8dd3da00512f0ace": @@ -1017,6 +1017,9 @@ all fetch: file = indent/docbk.vim @if get_md5(file) != "80d0444d2a2d20c955cc85b3065d19ce": :fetch {fetch = $fetcha} $file + file = indent/dtd.vim + @if get_md5(file) != "d70e78a3d81e7cd934dcdc2eb1e5cf2d": + :fetch {fetch = $fetcha} $file file = indent/dtrace.vim @if get_md5(file) != "1971d1e2bb7fd8ba27d8d4d35daf9782": :fetch {fetch = $fetcha} $file @@ -1026,9 +1029,6 @@ all fetch: file = indent/eiffel.vim @if get_md5(file) != "2711fe30156ac1886482b5c144213aad": :fetch {fetch = $fetcha} $file - file = indent/jsp.vim - @if get_md5(file) != "0ab5e1664b75012671018354d67e312c": - :fetch {fetch = $fetcha} $file file = indent/erlang.vim @if get_md5(file) != "d9230abb198b261f89efdc3dc8290578": :fetch {fetch = $fetcha} $file @@ -1041,6 +1041,9 @@ all fetch: file = indent/fortran.vim @if get_md5(file) != "bed670801967d4c692132d8e7240d2f9": :fetch {fetch = $fetcha} $file + file = indent/framescript.vim + @if get_md5(file) != "b1edafc42e2fc69b9051ec60f2ed90ab": + :fetch {fetch = $fetcha} $file file = indent/gitconfig.vim @if get_md5(file) != "48ea111c7429071457e777d19834a3bb": :fetch {fetch = $fetcha} $file @@ -1068,6 +1071,9 @@ all fetch: file = indent/javascript.vim @if get_md5(file) != "3de8d18bff8d4f1606ca8e5e86cc9cc1": :fetch {fetch = $fetcha} $file + file = indent/jsp.vim + @if get_md5(file) != "0ab5e1664b75012671018354d67e312c": + :fetch {fetch = $fetcha} $file file = indent/ld.vim @if get_md5(file) != "ab8935de8ec5644b5020a58f8f571501": :fetch {fetch = $fetcha} $file @@ -1098,15 +1104,15 @@ all fetch: file = indent/objc.vim @if get_md5(file) != "7fa4005a2ddf2c34615ed0bb9091fe07": :fetch {fetch = $fetcha} $file + file = indent/php.vim + @if get_md5(file) != "772c2e1031f42db76bee57c5aa65fd63": + :fetch {fetch = $fetcha} $file file = indent/ocaml.vim @if get_md5(file) != "1e08b490d393a828579c606691f9e51c": :fetch {fetch = $fetcha} $file file = indent/occam.vim @if get_md5(file) != "800cba28ebd8b258b3f6f8b90a240a2e": :fetch {fetch = $fetcha} $file - file = indent/php.vim - @if get_md5(file) != "772c2e1031f42db76bee57c5aa65fd63": - :fetch {fetch = $fetcha} $file file = indent/pascal.vim @if get_md5(file) != "10198c84992dc6bb4f0a54f3d70476c7": :fetch {fetch = $fetcha} $file @@ -1217,7 +1223,7 @@ all fetch: @if get_md5(file) != "dabc72b6dd3f72caa5db3acac0c94747": :fetch {fetch = $fetcha} $file file = ftplugin/a2ps.vim - @if get_md5(file) != "d995f9857fa8d3e936a9fbd3bae928db": + @if get_md5(file) != "b556e55b5f38e990cc2c9af4b4510c71": :fetch {fetch = $fetcha} $file file = ftplugin/aap.vim @if get_md5(file) != "bed56cf9c5e783dc09226c954e6fbbe8": @@ -1229,13 +1235,13 @@ all fetch: @if get_md5(file) != "da762fb94997bc2cdca820e564866fb1": :fetch {fetch = $fetcha} $file file = ftplugin/alsaconf.vim - @if get_md5(file) != "1b09f1008dfcc45a812c172bd3e66685": + @if get_md5(file) != "581ee8696d8d4227898b80c4965e5d5e": :fetch {fetch = $fetcha} $file file = ftplugin/ant.vim @if get_md5(file) != "b5da446650e6cb31ebb8c70c2c324b44": :fetch {fetch = $fetcha} $file file = ftplugin/arch.vim - @if get_md5(file) != "ed3db1d056028bf984ab3bf543fe15ff": + @if get_md5(file) != "5c0111bc06da848fe12119a675c1b622": :fetch {fetch = $fetcha} $file file = ftplugin/art.vim @if get_md5(file) != "ff837692222191a301b352ebe0b85068": @@ -1244,10 +1250,10 @@ all fetch: @if get_md5(file) != "d7ac047ec9ea130a4b88c1bee9a78ffd": :fetch {fetch = $fetcha} $file file = ftplugin/automake.vim - @if get_md5(file) != "602434c0344e2912001ffff556744be4": + @if get_md5(file) != "b8edab2026de47313872a47d762ecc2f": :fetch {fetch = $fetcha} $file file = ftplugin/bdf.vim - @if get_md5(file) != "973c38fd38e20188cd2b66aee3b0a66d": + @if get_md5(file) != "5bb6ed8154f60bb25ac9b57d935e39ed": :fetch {fetch = $fetcha} $file file = ftplugin/bst.vim @if get_md5(file) != "128339d16d57c618ccb3f2a6bf36612e": @@ -1259,10 +1265,10 @@ all fetch: @if get_md5(file) != "a98ee6928755b3cb0dcc26025dae17f1": :fetch {fetch = $fetcha} $file file = ftplugin/calendar.vim - @if get_md5(file) != "0981eac4ff97530a4d52474cfb217a9e": + @if get_md5(file) != "92e4ab584fe8ab5759fdf84299f9e27d": :fetch {fetch = $fetcha} $file file = ftplugin/cdrdaoconf.vim - @if get_md5(file) != "39fc1463231036e74b05f718fce7da40": + @if get_md5(file) != "7f38658208e859f6c65697d4e8aa1a22": :fetch {fetch = $fetcha} $file file = ftplugin/ch.vim @if get_md5(file) != "e88175c08feed8ec028dd6a337a73dce": @@ -1274,19 +1280,19 @@ all fetch: @if get_md5(file) != "edac624c9eb25d1611dd0950d80583cb": :fetch {fetch = $fetcha} $file file = ftplugin/conf.vim - @if get_md5(file) != "76d7f242fb33bc46789d6578a5afcf8f": + @if get_md5(file) != "d14e7c8ab46b45a8db23a3a2547e1ff1": :fetch {fetch = $fetcha} $file file = ftplugin/config.vim @if get_md5(file) != "8524298830146e1c1153990f4e0df162": :fetch {fetch = $fetcha} $file file = ftplugin/context.vim - @if get_md5(file) != "2396f26891e538f61113dac4c7fbb62b": + @if get_md5(file) != "f97d9307b4af01dbcdcfda625823c066": :fetch {fetch = $fetcha} $file file = ftplugin/cpp.vim @if get_md5(file) != "0e467a699fd4090b0716cbcd7a00705c": :fetch {fetch = $fetcha} $file file = ftplugin/crm.vim - @if get_md5(file) != "18feceaa73537276d3e61f48de9b08a3": + @if get_md5(file) != "c594795f8554ec18e382f4f61c8b7aac": :fetch {fetch = $fetcha} $file file = ftplugin/cs.vim @if get_md5(file) != "d1c8d36deb49720af9d02cce7bd47b40": @@ -1298,10 +1304,10 @@ all fetch: @if get_md5(file) != "11813a5fcf2a3e4bcb9641d6f0073c7f": :fetch {fetch = $fetcha} $file file = ftplugin/css.vim - @if get_md5(file) != "a36ef298a208d68619a3e6c96fde87cd": + @if get_md5(file) != "22e87fa7c62bb961cc621c14c0a14a51": :fetch {fetch = $fetcha} $file file = ftplugin/cvsrc.vim - @if get_md5(file) != "778c451ff7e3036fcdca2c31e40e0d76": + @if get_md5(file) != "f14d57d01cbe0d0241e07bba85d0280c": :fetch {fetch = $fetcha} $file file = ftplugin/debchangelog.vim @if get_md5(file) != "6ec859b4728a0310f3a526ca51bba73a": @@ -1310,43 +1316,43 @@ all fetch: @if get_md5(file) != "7c4d7dd999a3b5ff0677af6ef3bf4edc": :fetch {fetch = $fetcha} $file file = ftplugin/denyhosts.vim - @if get_md5(file) != "39fc1463231036e74b05f718fce7da40": + @if get_md5(file) != "7f38658208e859f6c65697d4e8aa1a22": :fetch {fetch = $fetcha} $file file = ftplugin/dictconf.vim - @if get_md5(file) != "56d08904d376ba18b4ab93ddcbd49dc9": + @if get_md5(file) != "668d098313f707e31ac6af724546b7e1": :fetch {fetch = $fetcha} $file file = ftplugin/dictdconf.vim - @if get_md5(file) != "35f2dd6ced7d4287d1bd4126be88b65f": + @if get_md5(file) != "facde5f2c36358e3df8b7e957cc10492": :fetch {fetch = $fetcha} $file file = ftplugin/diff.vim @if get_md5(file) != "3fcdc11bc20077f7370f01c3ed3a513e": :fetch {fetch = $fetcha} $file file = ftplugin/dircolors.vim - @if get_md5(file) != "c74006aec0fe1e25df6ecfc720405fa9": + @if get_md5(file) != "96ca1b7b4db198f3d4466ca126c18654": :fetch {fetch = $fetcha} $file file = ftplugin/dosbatch.vim @if get_md5(file) != "72d83afef531ceca4c708f8aecea395d": :fetch {fetch = $fetcha} $file file = ftplugin/dosini.vim - @if get_md5(file) != "619827c93f0250e454d85e4a5516d4de": + @if get_md5(file) != "f0e74bf435b6d5e429c95d6801f1112b": :fetch {fetch = $fetcha} $file file = ftplugin/dtd.vim - @if get_md5(file) != "0155459fe89b9ee719fff7d4acc0750d": + @if get_md5(file) != "87a2ef12bb1c75c270dfba7b1294f2b7": :fetch {fetch = $fetcha} $file file = ftplugin/dtrace.vim @if get_md5(file) != "242bc7bae2d5f0f68897764d79fe6c3a": :fetch {fetch = $fetcha} $file file = ftplugin/elinks.vim - @if get_md5(file) != "89698e3a1650a48e8a8aa4dd7dd50a3c": + @if get_md5(file) != "29279045a35e1a19c231592678eee334": :fetch {fetch = $fetcha} $file file = ftplugin/eruby.vim @if get_md5(file) != "1a691482d43a8c16ad46e2858d0ebf0f": :fetch {fetch = $fetcha} $file file = ftplugin/eterm.vim - @if get_md5(file) != "7a4115cb15c3c7b0614b54ac9fbf4749": + @if get_md5(file) != "c5c2de0da7093d27ad83dc58e80f49d1": :fetch {fetch = $fetcha} $file file = ftplugin/fetchmail.vim - @if get_md5(file) != "33134e5c84ffe315f9e701b4c5b274ee": + @if get_md5(file) != "5801f31e9daa5cf0e897f56b185e4f4d": :fetch {fetch = $fetcha} $file file = ftplugin/flexwiki.vim @if get_md5(file) != "7e79721c027e56718affdecdf9d62b58": @@ -1354,15 +1360,15 @@ all fetch: file = ftplugin/fortran.vim @if get_md5(file) != "34af104e2afe4316b0d0cd14b1aed7cf": :fetch {fetch = $fetcha} $file + file = ftplugin/framescript.vim + @if get_md5(file) != "26b2ab2451024363c354a867de1c55be": + :fetch {fetch = $fetcha} $file file = ftplugin/fvwm.vim @if get_md5(file) != "7e54ab3fbd01f530539e5cc55866c65d": :fetch {fetch = $fetcha} $file file = ftplugin/git.vim @if get_md5(file) != "c77bf63534418e55b31ee27c40a394c0": :fetch {fetch = $fetcha} $file - file = ftplugin/gpg.vim - @if get_md5(file) != "9147dd06409a4d250105be098854e226": - :fetch {fetch = $fetcha} $file file = ftplugin/gitcommit.vim @if get_md5(file) != "53d7d736848d54cd0b9cbff64a3c86d6": :fetch {fetch = $fetcha} $file @@ -1375,11 +1381,14 @@ all fetch: file = ftplugin/gitsendemail.vim @if get_md5(file) != "d3cd51bed43bc986cdf805c93d1867b6": :fetch {fetch = $fetcha} $file + file = ftplugin/gpg.vim + @if get_md5(file) != "5583f0847825691f80bacd975e4776d7": + :fetch {fetch = $fetcha} $file file = ftplugin/group.vim - @if get_md5(file) != "5f2e9b34e32be8d97b97d0b4c2574bff": + @if get_md5(file) != "b00a8cfe64f6185e975a042e962e0f02": :fetch {fetch = $fetcha} $file file = ftplugin/grub.vim - @if get_md5(file) != "5f13af6f845910eb598bcc42ac6d8478": + @if get_md5(file) != "084e7365472554fb5ec7380378a89c10": :fetch {fetch = $fetcha} $file file = ftplugin/haml.vim @if get_md5(file) != "3bd42f0175703ab13257e9078c3283a6": @@ -1388,22 +1397,25 @@ all fetch: @if get_md5(file) != "1e64cacd5d1d524310291f25ad5e013e": :fetch {fetch = $fetcha} $file file = ftplugin/haskell.vim - @if get_md5(file) != "dc05c1afa26d7afb0832aa0f091480bd": + @if get_md5(file) != "03eb91507927f394724bd4bf24afe29d": :fetch {fetch = $fetcha} $file file = ftplugin/help.vim - @if get_md5(file) != "75ed667a0417f4b79788acb067d6850f": + @if get_md5(file) != "b7d7a964b68f0067fd9cf619085ccbf8": :fetch {fetch = $fetcha} $file file = ftplugin/hostconf.vim - @if get_md5(file) != "39fc1463231036e74b05f718fce7da40": + @if get_md5(file) != "7f38658208e859f6c65697d4e8aa1a22": + :fetch {fetch = $fetcha} $file + file = ftplugin/hostsaccess.vim + @if get_md5(file) != "9779c7c04cb4cd0027f2772b364102f6": :fetch {fetch = $fetcha} $file file = ftplugin/html.vim - @if get_md5(file) != "6f765b8d407264eec820fad79aef1833": + @if get_md5(file) != "0d7c0a8628b8e0a4447f8dbdfb671c37": :fetch {fetch = $fetcha} $file file = ftplugin/htmldjango.vim @if get_md5(file) != "28d32a20dc02d61834d154d53baa1286": :fetch {fetch = $fetcha} $file file = ftplugin/indent.vim - @if get_md5(file) != "25e95786a44dfe672a5590a33e1434d4": + @if get_md5(file) != "c99301f2c0a4f25320cc0c4d19497553": :fetch {fetch = $fetcha} $file file = ftplugin/initex.vim @if get_md5(file) != "381a0c0a22769f0eb7906bb54d4ff521": @@ -1421,31 +1433,31 @@ all fetch: @if get_md5(file) != "9308873f18f59da0e92db29bc681bebc": :fetch {fetch = $fetcha} $file file = ftplugin/kconfig.vim - @if get_md5(file) != "1d630bdbe7eca21169689a7e46ed57da": + @if get_md5(file) != "df84678dbbe27507c94aefae29947ae7": :fetch {fetch = $fetcha} $file file = ftplugin/kwt.vim @if get_md5(file) != "2dc4c9c2d767e071748723de93fd0bd6": :fetch {fetch = $fetcha} $file file = ftplugin/ld.vim - @if get_md5(file) != "b2280ae9292d3407ea782bb9a4cc2519": + @if get_md5(file) != "79e36f3ca2695297167cfcddcd34333e": :fetch {fetch = $fetcha} $file file = ftplugin/lftp.vim - @if get_md5(file) != "01452d333f579f2aab9da9606bf34832": + @if get_md5(file) != "5cad0e1afba24d352a4e72b3f370527b": :fetch {fetch = $fetcha} $file file = ftplugin/libao.vim - @if get_md5(file) != "fade3f1e38456e873b1644480f07354d": + @if get_md5(file) != "3b467ea17e23f45e71513ffa682cbbd7": :fetch {fetch = $fetcha} $file file = ftplugin/limits.vim - @if get_md5(file) != "13557ca278442befade0ceb45bf60238": + @if get_md5(file) != "1060e74807dee2245e646a640bcc20f1": :fetch {fetch = $fetcha} $file file = ftplugin/lisp.vim @if get_md5(file) != "1d79694ec87386f8a4b2650a8c78da39": :fetch {fetch = $fetcha} $file file = ftplugin/loginaccess.vim - @if get_md5(file) != "c6522ff76275ccaf55c0c97cedab3b51": + @if get_md5(file) != "8a8aec9595e68a870ba591544d278a90": :fetch {fetch = $fetcha} $file file = ftplugin/logindefs.vim - @if get_md5(file) != "0be08e34021a1880e03d0c16962412aa": + @if get_md5(file) != "ab8f28788c4cbdd5eb4596edc958239e": :fetch {fetch = $fetcha} $file file = ftplugin/logtalk.vim @if get_md5(file) != "05cfac72c734cc2c45ccbf9b8d35e58f": @@ -1457,16 +1469,16 @@ all fetch: @if get_md5(file) != "8bed2a23a456dbbe052cd8fd714cd823": :fetch {fetch = $fetcha} $file file = ftplugin/m4.vim - @if get_md5(file) != "434ff2cfd6e48a2182d0a1a875ed745b": + @if get_md5(file) != "15944efa5bf2df29f694deaaf49ef0d3": :fetch {fetch = $fetcha} $file file = ftplugin/mail.vim @if get_md5(file) != "066d6b92884f1ad1e42137f27eafc1c4": :fetch {fetch = $fetcha} $file file = ftplugin/mailaliases.vim - @if get_md5(file) != "fecf11b3c9c7df71fde161dfc80b5981": + @if get_md5(file) != "df84678dbbe27507c94aefae29947ae7": :fetch {fetch = $fetcha} $file file = ftplugin/mailcap.vim - @if get_md5(file) != "6a20143e8f3ba2a3699964b176c1eb7c": + @if get_md5(file) != "e9e67efea3831a42b9654e168698ee59": :fetch {fetch = $fetcha} $file file = ftplugin/make.vim @if get_md5(file) != "8e71a922ef7683d8b69b2b57235368b6": @@ -1475,22 +1487,22 @@ all fetch: @if get_md5(file) != "cbd7743caf225a204ce8315f447744be": :fetch {fetch = $fetcha} $file file = ftplugin/manconf.vim - @if get_md5(file) != "71a1461fe44947a2d12e488660164152": + @if get_md5(file) != "c9c1ebbba21bb1962399f0819a27415f": :fetch {fetch = $fetcha} $file file = ftplugin/matlab.vim @if get_md5(file) != "be9e0ff4e2901fab73f93d7ab519becd": :fetch {fetch = $fetcha} $file file = ftplugin/mf.vim - @if get_md5(file) != "6dfb12f1cc22c75dd0afe2f6dc46d660": + @if get_md5(file) != "a749d04c05a2169aa14fffd4b81fe9f9": :fetch {fetch = $fetcha} $file file = ftplugin/modconf.vim - @if get_md5(file) != "75081e03c2ae31b36fb69ea1c79e38f0": + @if get_md5(file) != "0e024d4175ded1fea1550f67d080059e": :fetch {fetch = $fetcha} $file file = ftplugin/mp.vim - @if get_md5(file) != "2a90545aae4cfea835c01d4096bc2511": + @if get_md5(file) != "f0c6c7ef2569270f505c9a88e9f70443": :fetch {fetch = $fetcha} $file file = ftplugin/mplayerconf.vim - @if get_md5(file) != "66881cb9309bf7de0f39adc5e0deeece": + @if get_md5(file) != "490e912e0f161644d19a82cdf9674d5a": :fetch {fetch = $fetcha} $file file = ftplugin/mrxvtrc.vim @if get_md5(file) != "7f32c76f334ccdbbe3a45cda1f00685e": @@ -1501,44 +1513,47 @@ all fetch: file = ftplugin/mupad.vim @if get_md5(file) != "3cf70abf934e2460c7853161c8bb6be0": :fetch {fetch = $fetcha} $file + file = ftplugin/pdf.vim + @if get_md5(file) != "0f426f394dd7d6cade89db99f6478254": + :fetch {fetch = $fetcha} $file file = ftplugin/muttrc.vim - @if get_md5(file) != "db7e0176a9d6ae6f463e6dff9388007d": + @if get_md5(file) != "46f1fe9606c2e4d062f3caaacd52289f": :fetch {fetch = $fetcha} $file file = ftplugin/nanorc.vim - @if get_md5(file) != "6d8bdea55e902b7446130ddcf12588cc": + @if get_md5(file) != "18d4c08b0f79ae6bb5a05795864df0bd": :fetch {fetch = $fetcha} $file file = ftplugin/netrc.vim - @if get_md5(file) != "d405b8a061e9ea432481175c538e857d": + @if get_md5(file) != "ab7cb1061fcd5d70c5f7943abd27d383": + :fetch {fetch = $fetcha} $file + file = ftplugin/nsis.vim + @if get_md5(file) != "e2ebfdbfd0b7f1c5b2341c6816058a70": :fetch {fetch = $fetcha} $file file = ftplugin/objc.vim @if get_md5(file) != "e46355059eaf9af28f4101a9002aabe3": :fetch {fetch = $fetcha} $file file = ftplugin/ocaml.vim - @if get_md5(file) != "37078b32faad9042afd4ece490fbe83f": + @if get_md5(file) != "546dad873d9e0d4aef3af4b9a74652b7": :fetch {fetch = $fetcha} $file file = ftplugin/occam.vim @if get_md5(file) != "818ba8701e844c58c587d302f80b6b06": :fetch {fetch = $fetcha} $file file = ftplugin/pamconf.vim - @if get_md5(file) != "ad91b625edd634fd566373294821b569": + @if get_md5(file) != "7cb52e69cca510c2ba3e8be826a58a34": :fetch {fetch = $fetcha} $file file = ftplugin/pascal.vim @if get_md5(file) != "23fc0b89117d66c99c699a0f46b709e3": :fetch {fetch = $fetcha} $file file = ftplugin/passwd.vim - @if get_md5(file) != "7aa8be58108a461b9f90ad119eb1d735": - :fetch {fetch = $fetcha} $file - file = ftplugin/pdf.vim - @if get_md5(file) != "0f426f394dd7d6cade89db99f6478254": + @if get_md5(file) != "8f00b6179656cf50849e43ccd346c5cc": :fetch {fetch = $fetcha} $file file = ftplugin/perl.vim - @if get_md5(file) != "bba3fec57430da97dd54d3940e58715e": + @if get_md5(file) != "fab1c81d08e8e5a6aed74a2780c74376": :fetch {fetch = $fetcha} $file file = ftplugin/php.vim @if get_md5(file) != "3de1b92d97a10f595994158b1fb993cb": :fetch {fetch = $fetcha} $file file = ftplugin/pinfo.vim - @if get_md5(file) != "3deae8adc5082bd18fd1b2847dcfaf2e": + @if get_md5(file) != "8e579c951f8d3a5cd54574b43f3e5e2d": :fetch {fetch = $fetcha} $file file = ftplugin/plaintex.vim @if get_md5(file) != "dc5583a213753b31b5834b19bd3acd63": @@ -1547,13 +1562,13 @@ all fetch: @if get_md5(file) != "81bdaedc1548795f64a46ffe4f1d02d6": :fetch {fetch = $fetcha} $file file = ftplugin/procmail.vim - @if get_md5(file) != "e824ca696f1c0b8cdb900d6ab4392db6": + @if get_md5(file) != "a9a6a2702295593fc4d9800e2fa5a23e": :fetch {fetch = $fetcha} $file file = ftplugin/prolog.vim - @if get_md5(file) != "47ff7ce9b3d53e4489c1128609569ab6": + @if get_md5(file) != "2994699c86bc620f3761ac915813535d": :fetch {fetch = $fetcha} $file file = ftplugin/protocols.vim - @if get_md5(file) != "8d154aed5f727e64ab0d00ffd47fab7d": + @if get_md5(file) != "c3b9e2f3376b971c62df652338b8bf68": :fetch {fetch = $fetcha} $file file = ftplugin/pyrex.vim @if get_md5(file) != "9bda0ca1c0ff5fc4762742fe35739d1c": @@ -1562,32 +1577,29 @@ all fetch: @if get_md5(file) != "917e191bd818a76b137224b9355369aa": :fetch {fetch = $fetcha} $file file = ftplugin/quake.vim - @if get_md5(file) != "2c4b052e95aebe617d5ed38e586d7516": + @if get_md5(file) != "ba890a60d734fb21fff3f099893f58a3": :fetch {fetch = $fetcha} $file file = ftplugin/racc.vim - @if get_md5(file) != "3bc47c99a0021d2c3a9336f9cf5de089": + @if get_md5(file) != "9ae984dcfd74c091a5431df2d0249caa": :fetch {fetch = $fetcha} $file file = ftplugin/readline.vim - @if get_md5(file) != "030578eecd7218b8065ba57139f03c0f": + @if get_md5(file) != "f940a6eff5de55143af1c6f3b194214c": :fetch {fetch = $fetcha} $file file = ftplugin/reva.vim @if get_md5(file) != "662a951e593e31ad11bfbb98cce50387": :fetch {fetch = $fetcha} $file file = ftplugin/rnc.vim - @if get_md5(file) != "02cee74995cfd8ede4be61b7eeb89b1c": + @if get_md5(file) != "27d776dd8faa79ec0d1dad8c6a1d6ebf": :fetch {fetch = $fetcha} $file file = ftplugin/rpl.vim @if get_md5(file) != "6426e5b5743b3ee44f4d514d62fbe2e7": :fetch {fetch = $fetcha} $file file = ftplugin/rst.vim - @if get_md5(file) != "feccfcccb23d50247411df57b5fd4736": + @if get_md5(file) != "146d8dd669183ba5cc4012d51aa9abe7": :fetch {fetch = $fetcha} $file file = ftplugin/ruby.vim @if get_md5(file) != "b1c6b0f5e780a43b7a7cc419eb36fe85": :fetch {fetch = $fetcha} $file - file = ftplugin/sh.vim - @if get_md5(file) != "b5d54eaf716b3309c656f8b93dda9f0a": - :fetch {fetch = $fetcha} $file file = ftplugin/sass.vim @if get_md5(file) != "cd8bfe46144ad4ab9e9a755f92bb4f4e": :fetch {fetch = $fetcha} $file @@ -1595,31 +1607,34 @@ all fetch: @if get_md5(file) != "6f37679ca7a1a313fc3b1ea12eae4b0b": :fetch {fetch = $fetcha} $file file = ftplugin/screen.vim - @if get_md5(file) != "c2f3c233a1dfba0eeed39579e822cd29": + @if get_md5(file) != "62b72f15e982adc4d53eaba403f95861": :fetch {fetch = $fetcha} $file file = ftplugin/sensors.vim - @if get_md5(file) != "ad70e088c5db6136e13dcb560756b7a4": + @if get_md5(file) != "c6d06d415b6c36a37c7a5e675d8c7b34": :fetch {fetch = $fetcha} $file file = ftplugin/services.vim - @if get_md5(file) != "48ecaede9d0876273bbc9267b8cf1cd8": + @if get_md5(file) != "193ed9b27b25456fbe50e6111b8e6770": :fetch {fetch = $fetcha} $file file = ftplugin/setserial.vim - @if get_md5(file) != "235a652c734d8602630013db2f7d59eb": + @if get_md5(file) != "f33c0a4d6ecb2436a1e4e06f50ed188f": :fetch {fetch = $fetcha} $file file = ftplugin/sgml.vim @if get_md5(file) != "b81ffc0ba0f135b813f1ca8d3bed9567": :fetch {fetch = $fetcha} $file + file = ftplugin/sh.vim + @if get_md5(file) != "b5d54eaf716b3309c656f8b93dda9f0a": + :fetch {fetch = $fetcha} $file file = ftplugin/sieve.vim - @if get_md5(file) != "ed111db6a062c537c4b6f9b884a75777": + @if get_md5(file) != "a18b5519e6e3758fd8b40195d3267e9b": :fetch {fetch = $fetcha} $file file = ftplugin/slpconf.vim - @if get_md5(file) != "37794ce8e991f30e0777fbb1393e5e18": + @if get_md5(file) != "99f627b13529e31edc8cd0c50d66a80d": :fetch {fetch = $fetcha} $file file = ftplugin/slpreg.vim - @if get_md5(file) != "b188a9fe0bfe3da5c383e10a248ea325": + @if get_md5(file) != "ed2fe5cb59382a87383c25b712356a64": :fetch {fetch = $fetcha} $file file = ftplugin/slpspi.vim - @if get_md5(file) != "4819909f0edd753c522784da5b100807": + @if get_md5(file) != "377913657567332f7450a86acdc68242": :fetch {fetch = $fetcha} $file file = ftplugin/spec.vim @if get_md5(file) != "9616a034f121f43a60408b52164ae3cb": @@ -1628,40 +1643,40 @@ all fetch: @if get_md5(file) != "a6f2fa81563abc7defbad0c46488db36": :fetch {fetch = $fetcha} $file file = ftplugin/sshconfig.vim - @if get_md5(file) != "9cdca6d0dc2c221d7b6a4fdf52b23ee3": + @if get_md5(file) != "40f3a53778bfa71ba57608c0d3515430": :fetch {fetch = $fetcha} $file file = ftplugin/sudoers.vim - @if get_md5(file) != "a6038109c4e07465666883048f1936c4": + @if get_md5(file) != "c800413e9fe12980f37c61b7eec3e342": :fetch {fetch = $fetcha} $file file = ftplugin/svg.vim @if get_md5(file) != "e262fe50063121998f8e6c299bd58bac": :fetch {fetch = $fetcha} $file file = ftplugin/sysctl.vim - @if get_md5(file) != "55cb0f32fcbf524241a1b06386d76d43": + @if get_md5(file) != "039ba961b07a89c441220d65e1c927eb": :fetch {fetch = $fetcha} $file file = ftplugin/tcsh.vim @if get_md5(file) != "b4252a3a92f597f50fdb3028bed192c5": :fetch {fetch = $fetcha} $file file = ftplugin/terminfo.vim - @if get_md5(file) != "00b3569c3f0015728ff7d253ccaa47ff": + @if get_md5(file) != "eeb2b2ba248e5f4108c815c31a3a05d1": :fetch {fetch = $fetcha} $file file = ftplugin/tex.vim @if get_md5(file) != "8faed6eb27f9549bbf3aa4d6e3b0dead": :fetch {fetch = $fetcha} $file file = ftplugin/udevconf.vim - @if get_md5(file) != "9c8e8e9fd07384a07ea5675227048c08": + @if get_md5(file) != "536bd3d32b8da4b2a9a0e7c07e4a4e84": + :fetch {fetch = $fetcha} $file + file = ftplugin/vb.vim + @if get_md5(file) != "d68a3fc96e325c177d57a82ccc0a9deb": :fetch {fetch = $fetcha} $file file = ftplugin/udevperm.vim - @if get_md5(file) != "9ddbeee18408874f51741210a9a1aa0d": + @if get_md5(file) != "cdda9c8889f79d9ed35eb9f51195bed5": :fetch {fetch = $fetcha} $file file = ftplugin/udevrules.vim - @if get_md5(file) != "b01229bc0d208a6fc70f4229e3c3ed8c": - :fetch {fetch = $fetcha} $file - file = ftplugin/vb.vim - @if get_md5(file) != "d68a3fc96e325c177d57a82ccc0a9deb": + @if get_md5(file) != "9371c37e35c6c2d618db95c7956093bf": :fetch {fetch = $fetcha} $file file = ftplugin/updatedb.vim - @if get_md5(file) != "bef37996385993bb59bfb309c88b2de6": + @if get_md5(file) != "cb6f7a419e131cfb3b3238508897801f": :fetch {fetch = $fetcha} $file file = ftplugin/verilog.vim @if get_md5(file) != "31145bd48789f30613e4769eb84cd046": @@ -1673,22 +1688,22 @@ all fetch: @if get_md5(file) != "844cdf5bd78f24802e5931d1b738a951": :fetch {fetch = $fetcha} $file file = ftplugin/xdefaults.vim - @if get_md5(file) != "c157d45887c074b7a890ef7d95d022a1": + @if get_md5(file) != "adb8a2f1686aaa75c1b3d684c586334f": :fetch {fetch = $fetcha} $file file = ftplugin/xf86conf.vim - @if get_md5(file) != "4b8bf475493983810fdfb77f0984a1ce": + @if get_md5(file) != "79f4c9973394b1e646b72f793b1aaf6e": :fetch {fetch = $fetcha} $file file = ftplugin/xhtml.vim @if get_md5(file) != "d9a8b65b28e8fcf259adaa1af993b87d": :fetch {fetch = $fetcha} $file file = ftplugin/xinetd.vim - @if get_md5(file) != "f98bbce725e27967aa18fde9c7518fe2": + @if get_md5(file) != "748de3b8ba6414d28c56a1ddad2121db": :fetch {fetch = $fetcha} $file file = ftplugin/xml.vim - @if get_md5(file) != "bbd3e0fc1acbff99e32cc6402d2b8c5f": + @if get_md5(file) != "199d5a7d894c45bd73f91ca090f97591": :fetch {fetch = $fetcha} $file file = ftplugin/xmodmap.vim - @if get_md5(file) != "8472e82fe7e379182f5ee551b4659ce6": + @if get_md5(file) != "e7be1d0fadbe2fceef366430b0236916": :fetch {fetch = $fetcha} $file file = ftplugin/xs.vim @if get_md5(file) != "7ad1657aaae0431261dbefb66e9b9602": @@ -1700,10 +1715,10 @@ all fetch: @if get_md5(file) != "43182e4569bcfc045f3dac4c29e6d748": :fetch {fetch = $fetcha} $file file = ftplugin/yaml.vim - @if get_md5(file) != "9c9e352e9fe70c987870f0166881650a": + @if get_md5(file) != "4bba5f4271c9a4b4e9a3dd96eb9da115": :fetch {fetch = $fetcha} $file file = ftplugin/zsh.vim - @if get_md5(file) != "6fdc2133be179a7a7fb3305fe69472d7": + @if get_md5(file) != "e98cad49bc0993bd2989b6f41a5ad675": :fetch {fetch = $fetcha} $file file = ftplugin/logtalk.dict @if get_md5(file) != "357f59100e4edf1ace439023f8b26aea": @@ -1722,7 +1737,7 @@ all fetch: @if get_md5(file) != "f4498a3d49212757d42e03a7855c60b8": :fetch {fetch = $fetcha} $file file = plugin/netrwPlugin.vim - @if get_md5(file) != "489efb301263ae36fcdf488e82c79433": + @if get_md5(file) != "347e84ec7b50aaf9f7569131ef9b4ee9": :fetch {fetch = $fetcha} $file file = plugin/rrhelper.vim @if get_md5(file) != "43cf94ae9c34e18e86ecde61f31f17b0": @@ -1747,7 +1762,7 @@ all fetch: :fetch {fetch = $fetcha} $file :mkdir {f} syntax file = syntax/2html.vim - @if get_md5(file) != "947bbbb3bcde4a514eae6a6f6708babd": + @if get_md5(file) != "1747d44e735d96014d52dd18eda86d9d": :fetch {fetch = $fetcha} $file file = syntax/a2ps.vim @if get_md5(file) != "59e27acdbb1c3966942ecd4afc07f117": @@ -1840,7 +1855,7 @@ all fetch: @if get_md5(file) != "bd980334a81251b6006f327f491bd42c": :fetch {fetch = $fetcha} $file file = syntax/autohotkey.vim - @if get_md5(file) != "9aa81a00aa33b5eebf5a9fb286f99092": + @if get_md5(file) != "f65c086578a9a07ebca7cce42689efe2": :fetch {fetch = $fetcha} $file file = syntax/autoit.vim @if get_md5(file) != "604da3bc4d8516ffbad2687e6385efc8": @@ -2095,7 +2110,7 @@ all fetch: @if get_md5(file) != "99aa150621d9a5906f42a782b048dc0c": :fetch {fetch = $fetcha} $file file = syntax/doxygen.vim - @if get_md5(file) != "94ee553a5bf082837f32e3ae570c3f43": + @if get_md5(file) != "4b48c6208e45dd8730d064fef9f6ce21": :fetch {fetch = $fetcha} $file file = syntax/dracula.vim @if get_md5(file) != "bf11cd5de3797897cd7e52d288e802be": @@ -2191,7 +2206,7 @@ all fetch: @if get_md5(file) != "feb7f3e4fc8ad485e6f036a785421820": :fetch {fetch = $fetcha} $file file = syntax/forth.vim - @if get_md5(file) != "dee34538c145bd9b0e85a72997176695": + @if get_md5(file) != "6072be6767ff62b2b8fda8be3f7bffd8": :fetch {fetch = $fetcha} $file file = syntax/fortran.vim @if get_md5(file) != "8f3f81bfec453a3539a837c70eff659f": @@ -2500,7 +2515,7 @@ all fetch: @if get_md5(file) != "53683626455b42399e77d0cdd42a860d": :fetch {fetch = $fetcha} $file file = syntax/mailaliases.vim - @if get_md5(file) != "2f5135e2eb23acf680a26d70ac8e5412": + @if get_md5(file) != "89432b485c69c6168af84e3862742203": :fetch {fetch = $fetcha} $file file = syntax/mailcap.vim @if get_md5(file) != "0d458347c8d122c7bc9d74a1f14a9841": @@ -2563,7 +2578,7 @@ all fetch: @if get_md5(file) != "2bb1441d94ac53ac8291328671ad6335": :fetch {fetch = $fetcha} $file file = syntax/modconf.vim - @if get_md5(file) != "da521cce30a01ce2d9147bc6e5fea78e": + @if get_md5(file) != "efa69090c3f1f3c3566841f73f0e6904": :fetch {fetch = $fetcha} $file file = syntax/model.vim @if get_md5(file) != "12300103e0bf216741711b66b31f14e7": @@ -2803,7 +2818,7 @@ all fetch: @if get_md5(file) != "19c853f93a95a3e03956f2647173dba9": :fetch {fetch = $fetcha} $file file = syntax/racc.vim - @if get_md5(file) != "83b6ae135f324600b7b7a7d63f75e7d2": + @if get_md5(file) != "442fa0ddb9fd9858a36315972c2ab1e8": :fetch {fetch = $fetcha} $file file = syntax/radiance.vim @if get_md5(file) != "35494dc095bd155b97bebdfa0eb45a7c": @@ -2923,13 +2938,13 @@ all fetch: @if get_md5(file) != "404e12a006c2ed62b52a3aa78ffac628": :fetch {fetch = $fetcha} $file file = syntax/sh.vim - @if get_md5(file) != "2de9fc5f5521226f2138e05f0f08f9ae": + @if get_md5(file) != "9d6c342f219ccc9ede5dc151f8cfdd5b": :fetch {fetch = $fetcha} $file file = syntax/sicad.vim @if get_md5(file) != "a6d1915486833764fcd64622f260d52b": :fetch {fetch = $fetcha} $file file = syntax/sieve.vim - @if get_md5(file) != "33090c7135526d168b351ccc1edc52a2": + @if get_md5(file) != "9bbef18570358c97bb364cd00048f34f": :fetch {fetch = $fetcha} $file file = syntax/simula.vim @if get_md5(file) != "9538c2e373a9fbdc08d8aaadbb275f62": @@ -3112,7 +3127,7 @@ all fetch: @if get_md5(file) != "9a8f9e123e0c1dabd1f884f56c2c05a8": :fetch {fetch = $fetcha} $file file = syntax/tex.vim - @if get_md5(file) != "6b10ccf5b48fa6d7b0925b7c12428b0d": + @if get_md5(file) != "8027ddfec3a59c7ab89311b9c0e89df9": :fetch {fetch = $fetcha} $file file = syntax/texinfo.vim @if get_md5(file) != "7e6043d43c41dd2b27f6e3a5abe82773": @@ -3169,7 +3184,7 @@ all fetch: @if get_md5(file) != "fdc07b254b69e84a666073236d3ea1b7": :fetch {fetch = $fetcha} $file file = syntax/updatedb.vim - @if get_md5(file) != "8e6d9c698dc017ec0deab87b88b3d6f6": + @if get_md5(file) != "49a65cbe74433bd53050ab184e1a3aed": :fetch {fetch = $fetcha} $file file = syntax/valgrind.vim @if get_md5(file) != "4d2e293bae1d8bd6ee71de22e2ef546d": @@ -3295,13 +3310,13 @@ all fetch: @if get_md5(file) != "f108b496f8d85c866f82bb34063601cd": :fetch {fetch = $fetcha} $file file = syntax/yaml.vim - @if get_md5(file) != "c44acd35beb48fb81bee6df05e4a0580": + @if get_md5(file) != "d6160b9170f5302c57c90c52afd01cfc": :fetch {fetch = $fetcha} $file file = syntax/z8a.vim @if get_md5(file) != "5becbc40361c55087d45d023d9781ac4": :fetch {fetch = $fetcha} $file file = syntax/zsh.vim - @if get_md5(file) != "22cfe961220eed30cce7fbf5b2371ce0": + @if get_md5(file) != "9e8999dd9025fcc64a105d7b75009b8d": :fetch {fetch = $fetcha} $file file = syntax/README.txt @if get_md5(file) != "e107c31ae7d353a71d5a6ddccad819e7": @@ -3310,7 +3325,7 @@ all fetch: @if get_md5(file) != "f4556feb594d81ab67236f56d1233fdf": :fetch {fetch = $fetcha} $file file = doc/vim-fr.1 - @if get_md5(file) != "942a22fa241e22377718da1dc1275306": + @if get_md5(file) != "4edfed0a4fa93dd684e284dc23b982d1": :fetch {fetch = $fetcha} $file file = doc/vimdiff-fr.1 @if get_md5(file) != "6e458cbcf1bbe3461e94d976b9e07831": @@ -3325,7 +3340,7 @@ all fetch: @if get_md5(file) != "e8d2926a170b09ea907f549b8ff60395": :fetch {fetch = $fetcha} $file file = doc/vim-fr.UTF-8.1 - @if get_md5(file) != "15cfffff9ee0128468fc85c62e21828e": + @if get_md5(file) != "5276b561e0465170805f6ae0c55dbcd5": :fetch {fetch = $fetcha} $file file = doc/vimdiff-fr.UTF-8.1 @if get_md5(file) != "93d96855a2a8f3d75ab1ba64c222608d": @@ -3340,7 +3355,7 @@ all fetch: @if get_md5(file) != "daed0a35d51e9f393613d96c3d5f0c83": :fetch {fetch = $fetcha} $file file = doc/vim-it.1 - @if get_md5(file) != "101b59387610e0150b3cc633539d3ba5": + @if get_md5(file) != "0901d31bd8103219388b58dc502551ee": :fetch {fetch = $fetcha} $file file = doc/vimdiff-it.1 @if get_md5(file) != "8130d51ebc40072e0d679132b7ef62e0": @@ -3355,7 +3370,7 @@ all fetch: @if get_md5(file) != "9c833558c9d37d33e2a527e4ffd0ca71": :fetch {fetch = $fetcha} $file file = doc/vim-it.UTF-8.1 - @if get_md5(file) != "80d6781d1ae4a95d068289933cd32d8f": + @if get_md5(file) != "661d4dd71f794dac0ca72269c254a523": :fetch {fetch = $fetcha} $file file = doc/vimdiff-it.UTF-8.1 @if get_md5(file) != "10cc52a4fb25c9739445df3494fa5217": @@ -3385,7 +3400,7 @@ all fetch: @if get_md5(file) != "7c050e5d78f6b71c7f082c979a95e884": :fetch {fetch = $fetcha} $file file = doc/vim-pl.UTF-8.1 - @if get_md5(file) != "a0ca9d4aadebf2c48e98b1e3d3d625e0": + @if get_md5(file) != "df99609d0313971de97cffe2d3d1e237": :fetch {fetch = $fetcha} $file file = doc/vimdiff-pl.UTF-8.1 @if get_md5(file) != "8e0ceda2765e4ea388c358b7cb24a3cd": @@ -3400,7 +3415,7 @@ all fetch: @if get_md5(file) != "a48586303147b52609cae9ee2af228cd": :fetch {fetch = $fetcha} $file file = doc/vim-ru.1 - @if get_md5(file) != "a162de37211386fe549a86e49eb0d0ca": + @if get_md5(file) != "eb5e7d77cf1b7d81ed433b99e185c3d0": :fetch {fetch = $fetcha} $file file = doc/vimdiff-ru.1 @if get_md5(file) != "13e09ad36678b1baf4b568a07b2a7f35": @@ -3415,7 +3430,7 @@ all fetch: @if get_md5(file) != "6a56afef874f58d4b9307299913b6a7c": :fetch {fetch = $fetcha} $file file = doc/vim-ru.UTF-8.1 - @if get_md5(file) != "82ece6bae3340df511bab58cbdc7a190": + @if get_md5(file) != "3d498f8d0e7645d4696216ce21f00f1c": :fetch {fetch = $fetcha} $file file = doc/vimdiff-ru.UTF-8.1 @if get_md5(file) != "cc70801d300ec32bcbcf06ec351f1d06": @@ -4201,7 +4216,7 @@ all fetch: @if get_md5(file) != "af0da03b5c998a8f8ed94a66763febd9": :fetch {fetch = $fetcha} $file file = doc/tags - @if get_md5(file) != "15cfdf29d6cd1cbd327c0f2250e6e8d7": + @if get_md5(file) != "1cf61112812b0731a6bdc9c655fb1d21": :fetch {fetch = $fetcha} $file :mkdir {f} print file = print/ascii.ps @@ -4304,10 +4319,10 @@ all fetch: @if get_md5(file) != "6892f86e91b6baf8e93f23d817e87680": :fetch {fetch = $fetcha} $file file = doc/vim.man - @if get_md5(file) != "13d3f7cabada58df508527f2071026cf": + @if get_md5(file) != "aa07bec4cc8f4dfc440daf10082a82f3": :fetch {fetch = $fetcha} $file file = doc/vimdiff.man - @if get_md5(file) != "20e6b7ad112cdf7de9dcae6558d2e5d7": + @if get_md5(file) != "9236fe5b2940365c9be1a47cd2f79940": :fetch {fetch = $fetcha} $file file = doc/vimtutor.man @if get_md5(file) != "d55d0ce62d396def443519989cb79bc6": diff --git a/runtime/getunix.aap b/runtime/getunix.aap index 98493636..f25f9595 100644 --- a/runtime/getunix.aap +++ b/runtime/getunix.aap @@ -19,7 +19,7 @@ all fetch: @if get_md5(file) != "684257ef8b08ff7253f02061481aa426": :fetch {fetch = $fetcha} $file file = doc/digraph.txt - @if get_md5(file) != "d642bcdec35f26fa213956d7a1852e2d": + @if get_md5(file) != "7b282efeadda08b6bf1f4f783ec5cb1a": :fetch {fetch = $fetcha} $file file = doc/farsi.txt @if get_md5(file) != "b5e60ec8f55841b3f71172724932eb21": @@ -64,7 +64,7 @@ all fetch: @if get_md5(file) != "b821e06aaddcfd1c6f453a28a4a227af": :fetch {fetch = $fetcha} $file file = doc/version7.txt - @if get_md5(file) != "eeaf01a6cc7798ac5fdda594b8a638d7": + @if get_md5(file) != "147bea5b311440a2b182f3a79e08d8ac": :fetch {fetch = $fetcha} $file file = doc/starting.txt @if get_md5(file) != "5991ece26553fef7cbc62eaf9ab71b98": @@ -121,7 +121,7 @@ all fetch: @if get_md5(file) != "950db0e4db13d35a3ca66ef1f5748450": :fetch {fetch = $fetcha} $file file = doc/cmdline.txt - @if get_md5(file) != "0f201d4663f177325c01a27dcf612412": + @if get_md5(file) != "1ba781d9a6bc0b1d0629db86b19a5652": :fetch {fetch = $fetcha} $file file = doc/pi_netrw.txt @if get_md5(file) != "2d6f93fc42295ac3a57f474888136888": @@ -156,9 +156,6 @@ all fetch: file = doc/undo.txt @if get_md5(file) != "a06c132b9238a6b8fb7418da4c2b26cc": :fetch {fetch = $fetcha} $file - file = doc/pattern.txt - @if get_md5(file) != "d2f662809a917b5f780f5c66f6f61821": - :fetch {fetch = $fetcha} $file file = doc/various.txt @if get_md5(file) != "fbb06214940cecaef0634545cb9c8b88": :fetch {fetch = $fetcha} $file @@ -177,6 +174,9 @@ all fetch: file = doc/usr_toc.txt @if get_md5(file) != "8aab1ab27688543d545413a5bab1e05b": :fetch {fetch = $fetcha} $file + file = doc/options.txt + @if get_md5(file) != "bec043d33b17488f4472ba3400917937": + :fetch {fetch = $fetcha} $file file = doc/os_mint.txt @if get_md5(file) != "d4e48b0394d2ddcf049721ef8d6c7159": :fetch {fetch = $fetcha} $file @@ -220,7 +220,7 @@ all fetch: @if get_md5(file) != "93193d15ff50405a1432b18df9f4a978": :fetch {fetch = $fetcha} $file file = doc/syntax.txt - @if get_md5(file) != "f24a4d734f9fb6d578b7d041862ac6db": + @if get_md5(file) != "9a639c6097c3ddd638b9a92b40474355": :fetch {fetch = $fetcha} $file file = doc/map.txt @if get_md5(file) != "a5da7f76249435f2c6acb9fb64f4a3ed": @@ -238,19 +238,16 @@ all fetch: @if get_md5(file) != "fdba7d11a2c40ca9879810e400492a76": :fetch {fetch = $fetcha} $file file = doc/todo.txt - @if get_md5(file) != "7430144ae7865f348d71a96ac7f5edeb": + @if get_md5(file) != "5008cac75a2aa8490141102e7239c885": :fetch {fetch = $fetcha} $file file = doc/spell.txt @if get_md5(file) != "e0966abe379ed85c8cad5f875324a2f9": :fetch {fetch = $fetcha} $file - file = doc/options.txt - @if get_md5(file) != "6728dc0b56005ec0a1581bd40ddad054": - :fetch {fetch = $fetcha} $file file = doc/change.txt - @if get_md5(file) != "4228897ebd597b37747d03c6167c0232": + @if get_md5(file) != "f490934e3563c2e461c716de78fd7c7b": :fetch {fetch = $fetcha} $file file = doc/filetype.txt - @if get_md5(file) != "a3a3da2087bd8b69428ac7131596d0a7": + @if get_md5(file) != "a52b513c3a3a575420856b234df8e30f": :fetch {fetch = $fetcha} $file file = doc/pi_gzip.txt @if get_md5(file) != "2751cad2eb223ba2da10715968287ef9": @@ -295,7 +292,7 @@ all fetch: @if get_md5(file) != "053186cacafb22f0454e9e766a222859": :fetch {fetch = $fetcha} $file file = doc/diff.txt - @if get_md5(file) != "d12ec843334d48f7e3b877fa3dd1ec9c": + @if get_md5(file) != "832898c3c9a51b31af24a998b4e86a33": :fetch {fetch = $fetcha} $file file = doc/if_ruby.txt @if get_md5(file) != "0676a7932dccb494c646f1b3ef0741be": @@ -369,6 +366,9 @@ all fetch: file = doc/hebrew.txt @if get_md5(file) != "41a763be94b4d93ecc513c3ff26a080b": :fetch {fetch = $fetcha} $file + file = doc/pattern.txt + @if get_md5(file) != "34ec08938768b74b7ffc16abdc06e2b2": + :fetch {fetch = $fetcha} $file file = doc/debug.txt @if get_md5(file) != "a7d4d9898cf9e06eae10aab23118c51b": :fetch {fetch = $fetcha} $file @@ -379,7 +379,7 @@ all fetch: @if get_md5(file) != "f3a3cf3fb05a3a51df5bc86625b7d024": :fetch {fetch = $fetcha} $file file = doc/help.txt - @if get_md5(file) != "d951f22aca6d546f17b3ec035e47b519": + @if get_md5(file) != "747a2c1019627ae9a4c2f4b500d018c6": :fetch {fetch = $fetcha} $file file = doc/fold.txt @if get_md5(file) != "2021680113e29a589e76b82009e7a004": @@ -397,25 +397,25 @@ all fetch: @if get_md5(file) != "9fc439fa1dbd1aa7a186cff15f7bbaa7": :fetch {fetch = $fetcha} $file file = doc/eval.txt - @if get_md5(file) != "b01fa64a790b8af3c7c901f6db0cfeca": + @if get_md5(file) != "4b89625efff888605127a7c853dc82a6": :fetch {fetch = $fetcha} $file file = doc/ft_sql.txt @if get_md5(file) != "f1a223c1a7ee2f1ed3858be5f253184b": :fetch {fetch = $fetcha} $file file = doc/Makefile - @if get_md5(file) != "e96d0652279f758352b3c9061458e646": + @if get_md5(file) != "7ad2e815af098a9cac209be5f4d7f058": :fetch {fetch = $fetcha} $file file = doc/doctags.c @if get_md5(file) != "8dfd98f1cf5e8a5c7ac222cc671d619c": :fetch {fetch = $fetcha} $file file = doc/vim.1 - @if get_md5(file) != "be8dc7200dcf66abfdc3a6357cd90b32": + @if get_md5(file) != "b8127a855837bf4c709c47c3ba71df63": :fetch {fetch = $fetcha} $file file = doc/evim.1 @if get_md5(file) != "e06dba1283ea4b03e72b3a106db41b92": :fetch {fetch = $fetcha} $file file = doc/vimdiff.1 - @if get_md5(file) != "cd949666cb2b62789fdebcfabc935985": + @if get_md5(file) != "acbd9419aa4fa2c856ce66df43e8c3f5": :fetch {fetch = $fetcha} $file file = doc/vimtutor.1 @if get_md5(file) != "34b2c994b6008be79f20dead43162d96": @@ -586,10 +586,10 @@ all fetch: @if get_md5(file) != "490ab769eaf91fc1306dfc724794e901": :fetch {fetch = $fetcha} $file file = tools/vimm - @if get_md5(file) != "803707049b8c84bda990e92e003d1a2a": + @if get_md5(file) != "39e7540183e8608666c66e36f1e3ab11": :fetch {fetch = $fetcha} $file file = tools/vimspell.sh - @if get_md5(file) != "731c78006ade22d9c5f4c59839cb1cfc": + @if get_md5(file) != "7da7273d075c56763ceb16f5e6ab5108": :fetch {fetch = $fetcha} $file file = tools/vimspell.txt @if get_md5(file) != "de927b7bc390f47063d23d0d9d4e144f": @@ -611,16 +611,16 @@ all fetch: @if get_md5(file) != "ef2c744f92a7fb2d232dfcd5c9dd21e0": :fetch {fetch = $fetcha} $file file = tutor/tutor.vim - @if get_md5(file) != "a508e7a5d44331e2fd25064d384efff2": + @if get_md5(file) != "a3b3254a56c070c63f5190836d5ba8a1": :fetch {fetch = $fetcha} $file file = vimrc_example.vim @if get_md5(file) != "34f97dceb103837465f28390e8ea1c1e": :fetch {fetch = $fetcha} $file file = filetype.vim - @if get_md5(file) != "68ba990195b4dd676383e43c51c07067": + @if get_md5(file) != "f7679f84fbcd266db5a3b13101d26eda": :fetch {fetch = $fetcha} $file file = scripts.vim - @if get_md5(file) != "65814d0ff39b5b8cab67f401e4ecacf8": + @if get_md5(file) != "0de165279d436e7599becadc65a31acc": :fetch {fetch = $fetcha} $file file = menu.vim @if get_md5(file) != "af9ebb2549bad076800debca3e0e0f70": @@ -645,10 +645,10 @@ all fetch: @if get_md5(file) != "051a0c1058e94ac8674dfaf5b600968b": :fetch {fetch = $fetcha} $file file = autoload/zip.vim - @if get_md5(file) != "23f77dfd07bb13b1b4221eddf132d979": + @if get_md5(file) != "88270c844ff21e0a6bd903dd0b970834": :fetch {fetch = $fetcha} $file file = autoload/netrw.vim - @if get_md5(file) != "56debc813d272f7c665f71dfd2101702": + @if get_md5(file) != "7e57ca94fe07156c4af441eb27ccb98d": :fetch {fetch = $fetcha} $file file = autoload/htmlcomplete.vim @if get_md5(file) != "d9d1276818e532f0a6257e6e9ad8d2d6": @@ -678,7 +678,7 @@ all fetch: @if get_md5(file) != "1f1968eab49f4a4639b319c82479506b": :fetch {fetch = $fetcha} $file file = autoload/vimball.vim - @if get_md5(file) != "3e0031d7fa463ebc2d4af5ecb7c5ebd5": + @if get_md5(file) != "1f6b2fd50a7be2dc16904c6513431910": :fetch {fetch = $fetcha} $file file = autoload/netrwSettings.vim @if get_md5(file) != "d21aacd7e2a28bc02f0b324b0f528dc8": @@ -791,7 +791,7 @@ all fetch: @if get_md5(file) != "eae9165de98058a3bf9eabae662681f2": :fetch {fetch = $fetcha} $file file = colors/darkblue.vim - @if get_md5(file) != "201df6afa076c9ba6276683bf77211c8": + @if get_md5(file) != "9b8631389ebd61d934468a2d15183e14": :fetch {fetch = $fetcha} $file file = colors/desert.vim @if get_md5(file) != "269e7ad67496f082a8d5fb36ba833d08": @@ -1209,6 +1209,12 @@ all fetch: file = indent/sass.vim @if get_md5(file) != "81fe467d82c997fbe4545267d58326d6": :fetch {fetch = $fetcha} $file + file = indent/dtd.vim + @if get_md5(file) != "0886587af63562ccede97bc6e1da4cd1": + :fetch {fetch = $fetcha} $file + file = indent/framescript.vim + @if get_md5(file) != "08c68da5470c3f870e067247bb4f2cd1": + :fetch {fetch = $fetcha} $file file = indent/README.txt @if get_md5(file) != "76756a54a88543e7d9385911086c33c3": :fetch {fetch = $fetcha} $file @@ -1259,7 +1265,7 @@ all fetch: @if get_md5(file) != "edf06b678a2bc0e5c6861770bc04556b": :fetch {fetch = $fetcha} $file file = ftplugin/perl.vim - @if get_md5(file) != "19e2eed8a8d7e0bb0cc442e29a85ffcd": + @if get_md5(file) != "91205d9e56746d582baf064c52e3092a": :fetch {fetch = $fetcha} $file file = ftplugin/ishd.vim @if get_md5(file) != "298055057466f2e9ab0baefb27f3a83c": @@ -1283,7 +1289,7 @@ all fetch: @if get_md5(file) != "5bbb2e39c88fcd3b8970bbd801f03cc4": :fetch {fetch = $fetcha} $file file = ftplugin/ocaml.vim - @if get_md5(file) != "984148c95813f330b2fbdfd2753223dd": + @if get_md5(file) != "44a889dd789dd648096b39d0d0366bfd": :fetch {fetch = $fetcha} $file file = ftplugin/xslt.vim @if get_md5(file) != "0a822f3fbea1ada96816299877cdcf7c": @@ -1319,7 +1325,7 @@ all fetch: @if get_md5(file) != "743ab06915088648aaaa6538f67a89b7": :fetch {fetch = $fetcha} $file file = ftplugin/automake.vim - @if get_md5(file) != "b6acf64f5fda57ea87d1057e0ef64c4a": + @if get_md5(file) != "7ad3f8b423e0557e596f4c95f89569e2": :fetch {fetch = $fetcha} $file file = ftplugin/lisp.vim @if get_md5(file) != "a8aee9ce5d8fc371fcac7574b6a07c7b": @@ -1337,13 +1343,13 @@ all fetch: @if get_md5(file) != "6a6ed7b70b254d7e285d9d3e7056fb52": :fetch {fetch = $fetcha} $file file = ftplugin/bdf.vim - @if get_md5(file) != "d1b711bf909160ca6da5dd373211b57a": + @if get_md5(file) != "4dce6b3e7437e1bb96c15f6a30b28e7b": :fetch {fetch = $fetcha} $file file = ftplugin/dtd.vim - @if get_md5(file) != "f70fa3bd35e6af17f0766ffb9f43ac85": + @if get_md5(file) != "adb9ccdc430d146c2593d9a6dc80de9c": :fetch {fetch = $fetcha} $file file = ftplugin/html.vim - @if get_md5(file) != "7823d72d34d4d5dd646d658f569b3fc1": + @if get_md5(file) != "824a96509c31869d38823b311ffe9d65": :fetch {fetch = $fetcha} $file file = ftplugin/jsp.vim @if get_md5(file) != "22d4f4b59da7aaa1b2ff19b99aa8b3d1": @@ -1364,10 +1370,10 @@ all fetch: @if get_md5(file) != "5ea7681f66d7d9dadebe06c1fc73b45f": :fetch {fetch = $fetcha} $file file = ftplugin/dosini.vim - @if get_md5(file) != "f5de316d8df6f96b1ed34e71e6330e42": + @if get_md5(file) != "7180f765b2aa554c689483cc55847726": :fetch {fetch = $fetcha} $file file = ftplugin/xml.vim - @if get_md5(file) != "078f6d44a8b7ebcb8aa6fd51ea22a28a": + @if get_md5(file) != "07037848716fea18d5d3c1862cda3fe5": :fetch {fetch = $fetcha} $file file = ftplugin/xsd.vim @if get_md5(file) != "18dc90d38eabf755006701d6901ad948": @@ -1379,19 +1385,19 @@ all fetch: @if get_md5(file) != "8561a1072aaad48cc04448b5afa203de": :fetch {fetch = $fetcha} $file file = ftplugin/mf.vim - @if get_md5(file) != "43d46230427237c8adaa294b0ff7c020": + @if get_md5(file) != "58dd565160015fe7b05672b45c934cc2": :fetch {fetch = $fetcha} $file file = ftplugin/mp.vim - @if get_md5(file) != "88d868e3ff22548b2fb2fa38444b1088": + @if get_md5(file) != "1a7e0bbbe537a60138ccf5961536bcba": :fetch {fetch = $fetcha} $file file = ftplugin/pyrex.vim @if get_md5(file) != "1a9b8404f609a7f7d910337602e6254a": :fetch {fetch = $fetcha} $file file = ftplugin/rst.vim - @if get_md5(file) != "10c1ce7ad7b0ef237559baa1d8618acb": + @if get_md5(file) != "0db9068ed1582f2d87a2dc555ef51a32": :fetch {fetch = $fetcha} $file file = ftplugin/css.vim - @if get_md5(file) != "d2b6ba684c68f8d968e8aee2f1dce90c": + @if get_md5(file) != "c3c3d260b6e736e1917d59f4b6494bbf": :fetch {fetch = $fetcha} $file file = ftplugin/man.vim @if get_md5(file) != "771dded13c234d0e604644731ab510dc": @@ -1412,202 +1418,202 @@ all fetch: @if get_md5(file) != "a11a20506c3e24769caecbdddad99803": :fetch {fetch = $fetcha} $file file = ftplugin/alsaconf.vim - @if get_md5(file) != "ad7658103fdbef5a4e781ca5dbb17df7": + @if get_md5(file) != "57c703bd683d9f036d7272f69d5c0190": :fetch {fetch = $fetcha} $file file = ftplugin/arch.vim - @if get_md5(file) != "c53cb75e6280c0c0cdf5a92fad74e825": + @if get_md5(file) != "8eb48050460cc8d9030ef10a2506fe18": :fetch {fetch = $fetcha} $file file = ftplugin/calendar.vim - @if get_md5(file) != "fe2a276e49e1a6cebce18fd26453ac18": + @if get_md5(file) != "c13d9aa0b83ecb353bd5643f376cbfc2": :fetch {fetch = $fetcha} $file file = ftplugin/conf.vim - @if get_md5(file) != "f7447c931d47802e80b46e116ef3ed4d": + @if get_md5(file) != "cd4e8da90f676d334612ff26c0940cf7": :fetch {fetch = $fetcha} $file file = ftplugin/context.vim - @if get_md5(file) != "f293b45c6b2da44f6325c87935fb3533": + @if get_md5(file) != "48e8a033ce40f555e282fece38acf98f": :fetch {fetch = $fetcha} $file file = ftplugin/crm.vim - @if get_md5(file) != "849956e5f46a52287d1353adbbe701e4": + @if get_md5(file) != "ec00c4160a318d05932cf10ddeddafd9": :fetch {fetch = $fetcha} $file file = ftplugin/cvsrc.vim - @if get_md5(file) != "699cc258ddf5e8e85e6d12c095ab4c78": + @if get_md5(file) != "49ed1e114de8a205ca7163b3a83baa42": :fetch {fetch = $fetcha} $file file = ftplugin/dircolors.vim - @if get_md5(file) != "a7cdf90e24d5b64a4cafdeb44f094fc8": + @if get_md5(file) != "948efe8bd2b19356bdd5cea58e0fb082": :fetch {fetch = $fetcha} $file file = ftplugin/elinks.vim - @if get_md5(file) != "11ad7acc8af802e784c27f48e21d8aa5": + @if get_md5(file) != "004db00cf3167da750c03f8a44e6278e": :fetch {fetch = $fetcha} $file file = ftplugin/eterm.vim - @if get_md5(file) != "6cd3ae95eb0810873676a61c3e279056": + @if get_md5(file) != "6e271912bc41d51c35ad7e14d9b6a079": :fetch {fetch = $fetcha} $file file = ftplugin/gpg.vim - @if get_md5(file) != "59791428bf1e62c82ae51157663b58ab": + @if get_md5(file) != "f20bda21b401ae984b3fc6456f6e0142": :fetch {fetch = $fetcha} $file file = ftplugin/fetchmail.vim - @if get_md5(file) != "e674b3a7a122fd4a986aa8cec97de877": + @if get_md5(file) != "bd5d5b6c336981400d600a9f3f954932": :fetch {fetch = $fetcha} $file file = ftplugin/grub.vim - @if get_md5(file) != "98523119a8ac5cd61d4c019f4c5edb76": + @if get_md5(file) != "350e3111854acf264d0bfc09cde78dac": :fetch {fetch = $fetcha} $file file = ftplugin/haskell.vim - @if get_md5(file) != "182a437cf44acdfd3769aac8198c6938": + @if get_md5(file) != "92110aa2449f8ea7ecb8b63626b202dd": :fetch {fetch = $fetcha} $file file = ftplugin/help.vim - @if get_md5(file) != "8240dda04df4a219314544bb48c4f665": + @if get_md5(file) != "1b806eb04b7fae37a32f9dfcce876ab4": :fetch {fetch = $fetcha} $file file = ftplugin/indent.vim - @if get_md5(file) != "0206d7f7a76d76a33880fd6eda744bf3": + @if get_md5(file) != "24b4373bad05d7c3b89ace0f4c05478c": :fetch {fetch = $fetcha} $file file = ftplugin/ld.vim - @if get_md5(file) != "2ae0e677ef7df42ae7276a12e4a0b295": + @if get_md5(file) != "c68f0298aa28db588a6298df898f92bd": :fetch {fetch = $fetcha} $file file = ftplugin/lftp.vim - @if get_md5(file) != "e9e22e9e6acad314ae6cdea5eef01dac": + @if get_md5(file) != "fcc6c837cd008ab3231a2a6ed221bf3b": :fetch {fetch = $fetcha} $file file = ftplugin/libao.vim - @if get_md5(file) != "8e4d8749b047b6128ff53daa25de6ed2": + @if get_md5(file) != "0d1f12c41899ef0738b8f8b9414ee0a1": :fetch {fetch = $fetcha} $file file = ftplugin/limits.vim - @if get_md5(file) != "12ae046a887fdc8a4248cc5894bad646": + @if get_md5(file) != "448049157a1aba157dde080e7579697f": :fetch {fetch = $fetcha} $file file = ftplugin/loginaccess.vim - @if get_md5(file) != "0468a8ddacd5fc95c27cb8e0f579837b": + @if get_md5(file) != "670a9cd634a1e62b812f9d48702ac49b": :fetch {fetch = $fetcha} $file file = ftplugin/logindefs.vim - @if get_md5(file) != "326e764e6cb74aa5d94ef43f3e72cd63": + @if get_md5(file) != "0ab396f83a81663a7abc7f8ab0491486": :fetch {fetch = $fetcha} $file file = ftplugin/m4.vim - @if get_md5(file) != "8f8350d1708eff3408594c71dbe52755": + @if get_md5(file) != "00092a06bb07a197042c2a334407eb2f": :fetch {fetch = $fetcha} $file file = ftplugin/mailcap.vim - @if get_md5(file) != "7ae35291eadf3ec154e12f5f578097e4": + @if get_md5(file) != "a431cf1d255efc57a7c589ca9c239b6e": :fetch {fetch = $fetcha} $file file = ftplugin/modconf.vim - @if get_md5(file) != "bc91334cd7a2f9a5dbbe2eb58a9258b0": + @if get_md5(file) != "f523eb02c90fd3c14f033f8beff71f1b": :fetch {fetch = $fetcha} $file file = ftplugin/mplayerconf.vim - @if get_md5(file) != "11d49c7501bcd2e33139959a3c3f8e68": + @if get_md5(file) != "98d0250403ddff0f695fdc66e9889d56": :fetch {fetch = $fetcha} $file file = ftplugin/muttrc.vim - @if get_md5(file) != "d03b2db970a37968a147bd0aa7a2f87a": + @if get_md5(file) != "e8ca8fcc393e3bce7ee26fa8acb1dece": :fetch {fetch = $fetcha} $file file = ftplugin/netrc.vim - @if get_md5(file) != "2c1a311c0bfb3b85632341fc3f2d6efb": + @if get_md5(file) != "7dd57cf1e300c0f1fe760b7af636cfd8": :fetch {fetch = $fetcha} $file file = ftplugin/pamconf.vim - @if get_md5(file) != "f5939e19f958dc022637eb0ecc0dbf2d": + @if get_md5(file) != "c730052aed494a4ed60a69ad0c4a4628": :fetch {fetch = $fetcha} $file file = ftplugin/pinfo.vim - @if get_md5(file) != "3d1d83cd634698bf1cd306c158a01581": + @if get_md5(file) != "257325f669886cd29880bd3e4c8f3f5b": :fetch {fetch = $fetcha} $file file = ftplugin/procmail.vim - @if get_md5(file) != "56f45728b85c6f2ed334f6d5297bb54d": + @if get_md5(file) != "a60a89bfc7ae3f4d32c46de814a4db7c": :fetch {fetch = $fetcha} $file file = ftplugin/prolog.vim - @if get_md5(file) != "d10114b46fca46feb04dfcdbbb302580": + @if get_md5(file) != "e0d7c6202314786eb82af69b339f5c17": :fetch {fetch = $fetcha} $file file = ftplugin/quake.vim - @if get_md5(file) != "41e4daee701fa1c9a9aa9aa115ce18e5": + @if get_md5(file) != "19d1a0a8ecba484b742c1a5ccb6d53e8": :fetch {fetch = $fetcha} $file file = ftplugin/racc.vim - @if get_md5(file) != "e8e8d70c2d17876f513661dbfde365f7": + @if get_md5(file) != "6d9c3f8e041c94d0f8aebfacb5972fb3": :fetch {fetch = $fetcha} $file file = ftplugin/readline.vim - @if get_md5(file) != "26655922314a3510d8f874bf3a958515": + @if get_md5(file) != "1c2a65dbc90eb6369aeb52f7da777447": :fetch {fetch = $fetcha} $file file = ftplugin/rnc.vim - @if get_md5(file) != "716573d10c23c4c105bbc51d247c6451": + @if get_md5(file) != "c2506a447b64a62cd73839c3a0bc96af": :fetch {fetch = $fetcha} $file file = ftplugin/screen.vim - @if get_md5(file) != "5afe041b22a9cd2c93abeb9dc9fedb27": + @if get_md5(file) != "9c3e56e5e464d8c19125fcea1ac247d8": :fetch {fetch = $fetcha} $file file = ftplugin/sieve.vim - @if get_md5(file) != "958a058bda2160372d57e422dc15834e": + @if get_md5(file) != "076268eb826a161a00a37a1acaa3d3eb": :fetch {fetch = $fetcha} $file file = ftplugin/sshconfig.vim - @if get_md5(file) != "00df138111f6679a3df84c939d251499": + @if get_md5(file) != "95ecc0696ca386f7d301af0d99562d92": :fetch {fetch = $fetcha} $file file = ftplugin/sudoers.vim - @if get_md5(file) != "bdd2e2e2a24894ef6d48b5a63d870e53": + @if get_md5(file) != "3fabe63494c7215bb6e03c103603fab2": :fetch {fetch = $fetcha} $file file = ftplugin/sysctl.vim - @if get_md5(file) != "60822b1c40780d1e6123410089d28ab7": + @if get_md5(file) != "dcf801415139048e0775a3b9718ffa69": :fetch {fetch = $fetcha} $file file = ftplugin/terminfo.vim - @if get_md5(file) != "4a49390881372804b4f48565b6572199": + @if get_md5(file) != "8526a7afa67fb877c3448dde314fbae5": :fetch {fetch = $fetcha} $file file = ftplugin/updatedb.vim - @if get_md5(file) != "5b900a6f872286e4471312a033ed246b": + @if get_md5(file) != "77044302ac485d523bd597793a26d800": :fetch {fetch = $fetcha} $file file = ftplugin/xdefaults.vim - @if get_md5(file) != "93c5d5704d63f21af971d60d6bd9c4e0": + @if get_md5(file) != "dea77d4e0c85621a00d5de786f89a1fc": :fetch {fetch = $fetcha} $file file = ftplugin/xf86conf.vim - @if get_md5(file) != "5d3ebc68f92ce880355b1352005d76da": + @if get_md5(file) != "3a2c43fd812525222369e6cd1ca49e37": :fetch {fetch = $fetcha} $file file = ftplugin/xinetd.vim - @if get_md5(file) != "ab69198d61320d7da3b8860d33210e31": + @if get_md5(file) != "816f7cc34b85e8b27f4cca5d166d3f62": :fetch {fetch = $fetcha} $file file = ftplugin/xmodmap.vim - @if get_md5(file) != "cc87515fd22785bbed6e731838bcd65a": + @if get_md5(file) != "311d5acbea5f3f9b79a97d6662f1743f": :fetch {fetch = $fetcha} $file file = ftplugin/yaml.vim - @if get_md5(file) != "78d844d71df333dee1623a4b63e63e82": + @if get_md5(file) != "37be9768ffb7b1002ec7f5ebfaaf68ac": :fetch {fetch = $fetcha} $file file = ftplugin/zsh.vim - @if get_md5(file) != "e0e6ccd0244a2cfcbce2537c97f1bf9e": + @if get_md5(file) != "0e17e688e8967564ee45ef9d23fbf3f5": :fetch {fetch = $fetcha} $file file = ftplugin/a2ps.vim - @if get_md5(file) != "559369d6d8925dd645f904e1383a5e26": + @if get_md5(file) != "ecd060d3e2457190ac923b8ffcff4596": :fetch {fetch = $fetcha} $file file = ftplugin/dictconf.vim - @if get_md5(file) != "895c9205b720ae6a2241d6101533fb1a": + @if get_md5(file) != "0a05ec043a833c102031d8a3d18e0e17": :fetch {fetch = $fetcha} $file file = ftplugin/dictdconf.vim - @if get_md5(file) != "a481a343fe177bb5a00207c0cb4e7b4f": + @if get_md5(file) != "740b40a1b73ba55e2f46b5fb310812d3": :fetch {fetch = $fetcha} $file file = ftplugin/group.vim - @if get_md5(file) != "92d9206b4d2f626eb0539a0b4b892b34": + @if get_md5(file) != "78c0e5d569edc53aa44ce803dc98b6a9": :fetch {fetch = $fetcha} $file file = ftplugin/manconf.vim - @if get_md5(file) != "a27f7331c937964ec05ec7ee6180207b": + @if get_md5(file) != "ed65fd406e6df44fa0731a29f15ae99f": :fetch {fetch = $fetcha} $file file = ftplugin/nanorc.vim - @if get_md5(file) != "81acdd4d873533e906dcd6821552a70d": + @if get_md5(file) != "7abe72062f3bcfcd0f9bd10eefe3df29": :fetch {fetch = $fetcha} $file file = ftplugin/passwd.vim - @if get_md5(file) != "c809417cef6237e9d2bb7aba9cba33d0": + @if get_md5(file) != "342d4adf60370d10d8034893274ff73e": :fetch {fetch = $fetcha} $file file = ftplugin/protocols.vim - @if get_md5(file) != "f4f618cad5bb4c9a728b2c652935c520": + @if get_md5(file) != "c4e9f3b355aa7c7961a0879391611ac0": :fetch {fetch = $fetcha} $file file = ftplugin/sensors.vim - @if get_md5(file) != "24665f0eb8cee3cbcf54642edff2ebe9": + @if get_md5(file) != "098e39e67f9e328276a506003a0bfd0c": :fetch {fetch = $fetcha} $file file = ftplugin/services.vim - @if get_md5(file) != "1eedcc429a8724b3ac7822d9d20770e2": + @if get_md5(file) != "9d401f5efc34c1703dac61b62b104530": :fetch {fetch = $fetcha} $file file = ftplugin/slpconf.vim - @if get_md5(file) != "e86043c9f2a64db39e0f1ba78b36d4c4": + @if get_md5(file) != "b6f8293440c54218cf3165039e5d14e1": :fetch {fetch = $fetcha} $file file = ftplugin/setserial.vim - @if get_md5(file) != "22517f068fc13ec2b270fcda41f10d06": + @if get_md5(file) != "6d3a72b33133949b18c52a5bb9a7e3ce": :fetch {fetch = $fetcha} $file file = ftplugin/slpreg.vim - @if get_md5(file) != "3ecfff9a9f3427d3030d1500a8aacd4d": + @if get_md5(file) != "4bdd24de6b6374fadc308c036dda9eac": :fetch {fetch = $fetcha} $file file = ftplugin/slpspi.vim - @if get_md5(file) != "aa2d30fd47fed48d565960e561206108": + @if get_md5(file) != "bf0032b350af9d2001bffa8cb102d57e": :fetch {fetch = $fetcha} $file file = ftplugin/udevconf.vim - @if get_md5(file) != "5e11ae215cabb175bd49ea51bf382fcf": + @if get_md5(file) != "553caf9691c1615c3c8eb4b44dd6a1c3": :fetch {fetch = $fetcha} $file file = ftplugin/udevperm.vim - @if get_md5(file) != "689ba8daa8f86790ec88a92d43104049": + @if get_md5(file) != "7de5ad6167f27cf6282b320827367318": :fetch {fetch = $fetcha} $file file = ftplugin/udevrules.vim - @if get_md5(file) != "4f0041796ff92f546e24a3763a25aa8f": + @if get_md5(file) != "d58098940c316bbc76662aecd8ee88c3": :fetch {fetch = $fetcha} $file file = ftplugin/diff.vim @if get_md5(file) != "07422deff3a7cf6e538648e75e1bae02": @@ -1625,13 +1631,13 @@ all fetch: @if get_md5(file) != "c035f3c412751170669435450708b225": :fetch {fetch = $fetcha} $file file = ftplugin/kconfig.vim - @if get_md5(file) != "f42bc21c3bcd575f9237a180d3b89668": + @if get_md5(file) != "0764a0025bbb212e053e7c2883c3f5b3": :fetch {fetch = $fetcha} $file file = ftplugin/initex.vim @if get_md5(file) != "3c9467ea73302a4960a25d60ace76457": :fetch {fetch = $fetcha} $file file = ftplugin/mailaliases.vim - @if get_md5(file) != "d895d5ecaee6c1e1d49cfd145de2b7f5": + @if get_md5(file) != "0764a0025bbb212e053e7c2883c3f5b3": :fetch {fetch = $fetcha} $file file = ftplugin/flexwiki.vim @if get_md5(file) != "f5232b03bbda26aaf1fce7d1d4f1ab78": @@ -1655,7 +1661,7 @@ all fetch: @if get_md5(file) != "938fc0f4679d6cd929b6c49b44de3aa6": :fetch {fetch = $fetcha} $file file = ftplugin/hostconf.vim - @if get_md5(file) != "f39746a4d4bd370b97700cdf394db145": + @if get_md5(file) != "930d544861adc0c3b9ffa681e7a051a7": :fetch {fetch = $fetcha} $file file = ftplugin/php.vim @if get_md5(file) != "b0cf4866214506f94fcb389e2a7be0be": @@ -1664,10 +1670,10 @@ all fetch: @if get_md5(file) != "f0e92b87799aa330809c2bd2cbb23d29": :fetch {fetch = $fetcha} $file file = ftplugin/denyhosts.vim - @if get_md5(file) != "f39746a4d4bd370b97700cdf394db145": + @if get_md5(file) != "930d544861adc0c3b9ffa681e7a051a7": :fetch {fetch = $fetcha} $file file = ftplugin/cdrdaoconf.vim - @if get_md5(file) != "f39746a4d4bd370b97700cdf394db145": + @if get_md5(file) != "930d544861adc0c3b9ffa681e7a051a7": :fetch {fetch = $fetcha} $file file = ftplugin/gitcommit.vim @if get_md5(file) != "f514c0b9fc40f58842619287772ffd8a": @@ -1705,6 +1711,15 @@ all fetch: file = ftplugin/sass.vim @if get_md5(file) != "8b629fa4c4f786aa4f1069d258f9e220": :fetch {fetch = $fetcha} $file + file = ftplugin/nsis.vim + @if get_md5(file) != "09ef20a11f3f4cde95164a944806209d": + :fetch {fetch = $fetcha} $file + file = ftplugin/hostsaccess.vim + @if get_md5(file) != "cb16cfd6d1059a03123b1c27e3b420ee": + :fetch {fetch = $fetcha} $file + file = ftplugin/framescript.vim + @if get_md5(file) != "184ae501e0858ead4d744caa31069b0c": + :fetch {fetch = $fetcha} $file file = ftplugin/logtalk.dict @if get_md5(file) != "32b8bf9947acbc2a106bb2ed81c94424": :fetch {fetch = $fetcha} $file @@ -1713,7 +1728,7 @@ all fetch: :fetch {fetch = $fetcha} $file :mkdir {f} plugin file = plugin/netrwPlugin.vim - @if get_md5(file) != "8d821ad3d6dcc3091dde92a47e1a6e4c": + @if get_md5(file) != "5e3d0d59d0ccdc042bc2ec6f479cc9e9": :fetch {fetch = $fetcha} $file file = plugin/gzip.vim @if get_md5(file) != "88a9ecef58f00ddc5775c242c3be525a": @@ -1747,7 +1762,7 @@ all fetch: :fetch {fetch = $fetcha} $file :mkdir {f} syntax file = syntax/2html.vim - @if get_md5(file) != "7a48aa0b2989cd59b36c4ca554302c49": + @if get_md5(file) != "d8d8c3b75d0b9c6aa90e782414ed86aa": :fetch {fetch = $fetcha} $file file = syntax/prolog.vim @if get_md5(file) != "73977dccf7bc49a5a4dcf10c9a719c64": @@ -1855,7 +1870,7 @@ all fetch: @if get_md5(file) != "6646a216735b5e139b2162790b3652aa": :fetch {fetch = $fetcha} $file file = syntax/autohotkey.vim - @if get_md5(file) != "35b011de4b7911db51bb46a9ec8adf96": + @if get_md5(file) != "98e8723484e674305be15ca003fc4e70": :fetch {fetch = $fetcha} $file file = syntax/autoit.vim @if get_md5(file) != "84dd0907f02514ebbdf05ac5f5f75c69": @@ -2115,9 +2130,6 @@ all fetch: file = syntax/dot.vim @if get_md5(file) != "b3f3436cde32b9e0d7523da59876a70e": :fetch {fetch = $fetcha} $file - file = syntax/doxygen.vim - @if get_md5(file) != "b70ac073e48f63401fe63639defba76c": - :fetch {fetch = $fetcha} $file file = syntax/haste.vim @if get_md5(file) != "d5b915d92507fa29f50f60476503997a": :fetch {fetch = $fetcha} $file @@ -2218,7 +2230,7 @@ all fetch: @if get_md5(file) != "546041788d1f041ec585cbb5480f881a": :fetch {fetch = $fetcha} $file file = syntax/forth.vim - @if get_md5(file) != "71d364f13fc61c41d1e5bcead9d43c1a": + @if get_md5(file) != "daaddfa98940d4abcef726e8ecff42d1": :fetch {fetch = $fetcha} $file file = syntax/fortran.vim @if get_md5(file) != "4062b8d1074e61bda108ab1f15c6f8f1": @@ -2500,11 +2512,14 @@ all fetch: @if get_md5(file) != "6a76c5afa8d3cc092866b13ff63b4df5": :fetch {fetch = $fetcha} $file file = syntax/mailaliases.vim - @if get_md5(file) != "7e0d05c2308a88ae8e5e9bbe2a52102b": + @if get_md5(file) != "ad66baf4b04a175620c98a5e38311f98": :fetch {fetch = $fetcha} $file file = syntax/dtrace.vim @if get_md5(file) != "0f36a33a3c0bd84363f3576727aa1e03": :fetch {fetch = $fetcha} $file + file = syntax/racc.vim + @if get_md5(file) != "1586b9df4be975393ce2157269a843ad": + :fetch {fetch = $fetcha} $file file = syntax/mailcap.vim @if get_md5(file) != "1447398a60d9a9e11558f7a82a97c3c0": :fetch {fetch = $fetcha} $file @@ -2563,7 +2578,7 @@ all fetch: @if get_md5(file) != "bb599f7ab82024d426f7a6839b0b314a": :fetch {fetch = $fetcha} $file file = syntax/modconf.vim - @if get_md5(file) != "c7b3359a36ce32dcf30205dcc563424a": + @if get_md5(file) != "d58f03467bb042c5ae3d05bd3217c994": :fetch {fetch = $fetcha} $file file = syntax/model.vim @if get_md5(file) != "078b77c605874d9d820c84313411f815": @@ -2572,7 +2587,7 @@ all fetch: @if get_md5(file) != "3ea3c43a0101fd2c303afceb471e964e": :fetch {fetch = $fetcha} $file file = syntax/sh.vim - @if get_md5(file) != "8580966ae923921b96ca2d5f950dc21e": + @if get_md5(file) != "8ca85721209fd2b892e9e44ed93e3a18": :fetch {fetch = $fetcha} $file file = syntax/netrw.vim @if get_md5(file) != "4360df8913f086dcdde1b70dec852e9e": @@ -2799,8 +2814,8 @@ all fetch: file = syntax/r.vim @if get_md5(file) != "784563315f94c05082067f7b7d9badb6": :fetch {fetch = $fetcha} $file - file = syntax/racc.vim - @if get_md5(file) != "1972068060b62b315cd107f560515edf": + file = syntax/yaml.vim + @if get_md5(file) != "bc94f2ceb288fbcb7a57ced4c196cd6c": :fetch {fetch = $fetcha} $file file = syntax/radiance.vim @if get_md5(file) != "22748970139f2f252afa406ca88a40fb": @@ -2841,8 +2856,8 @@ all fetch: file = syntax/xpm2.vim @if get_md5(file) != "8d435ef8323924ac2acc8d388aeeea25": :fetch {fetch = $fetcha} $file - file = syntax/yaml.vim - @if get_md5(file) != "2761ea48d0c985d620b682d1c3a1b8e4": + file = syntax/zsh.vim + @if get_md5(file) != "fbd2d1468c16aec46c69b817b0fc612a": :fetch {fetch = $fetcha} $file file = syntax/rib.vim @if get_md5(file) != "1232278f1ae2257ff3d8753e3f2db574": @@ -2868,6 +2883,9 @@ all fetch: file = syntax/rtf.vim @if get_md5(file) != "df1969891699e4dcb9f36402f981acd9": :fetch {fetch = $fetcha} $file + file = syntax/doxygen.vim + @if get_md5(file) != "f0ff17227b41290ea3d903824521abb6": + :fetch {fetch = $fetcha} $file file = syntax/samba.vim @if get_md5(file) != "d2841433fde5a1b85b51db1275090d74": :fetch {fetch = $fetcha} $file @@ -2920,7 +2938,7 @@ all fetch: @if get_md5(file) != "b019fe9a009c1279c9580dfa5990aa73": :fetch {fetch = $fetcha} $file file = syntax/sieve.vim - @if get_md5(file) != "8e2fbd044808aeb361273c424ef2788d": + @if get_md5(file) != "f8a66d41def3e68ec44afa8c43145e4c": :fetch {fetch = $fetcha} $file file = syntax/simula.vim @if get_md5(file) != "0249c4ab253ac2f63ee500c74669da2d": @@ -3115,7 +3133,7 @@ all fetch: @if get_md5(file) != "62e0d9824d9bf5d7bb389059552754f9": :fetch {fetch = $fetcha} $file file = syntax/tex.vim - @if get_md5(file) != "1f98ed58ee88c102edcb6c9bcab8a8ac": + @if get_md5(file) != "db234269c8afba8db00739f715db5dcc": :fetch {fetch = $fetcha} $file file = syntax/texinfo.vim @if get_md5(file) != "32778e16b58546ea481a9f06da7b897c": @@ -3178,7 +3196,7 @@ all fetch: @if get_md5(file) != "7e791985f17c4a1f0be66c903834057e": :fetch {fetch = $fetcha} $file file = syntax/updatedb.vim - @if get_md5(file) != "88e472eab94b422fcb8a22df70bdb2ef": + @if get_md5(file) != "9aa5eb871228c00384fe5b69d7fb7c6e": :fetch {fetch = $fetcha} $file file = syntax/valgrind.vim @if get_md5(file) != "80aab61919ca529753a994c12bf866db": @@ -3300,9 +3318,6 @@ all fetch: file = syntax/z8a.vim @if get_md5(file) != "1029db9305b69b832ebc25e1f137ebf5": :fetch {fetch = $fetcha} $file - file = syntax/zsh.vim - @if get_md5(file) != "3255ac8383137a6ed51e2dd5c921055e": - :fetch {fetch = $fetcha} $file file = syntax/README.txt @if get_md5(file) != "4299d25a1f615ca9f3f269916dd0e911": :fetch {fetch = $fetcha} $file @@ -3310,7 +3325,7 @@ all fetch: @if get_md5(file) != "c04efbc158d2702b73d6b9fa341d7a26": :fetch {fetch = $fetcha} $file file = doc/vim-fr.1 - @if get_md5(file) != "fe0b6a28b953d4095adf3c49a614f85f": + @if get_md5(file) != "5b0f209adea01043e09ca7f6d93d92bb": :fetch {fetch = $fetcha} $file file = doc/vimdiff-fr.1 @if get_md5(file) != "447a900a7eecebe13f0c3d78a233e945": @@ -3322,7 +3337,7 @@ all fetch: @if get_md5(file) != "805a52815ecb149fec60aaa4199119bd": :fetch {fetch = $fetcha} $file file = doc/vim-fr.UTF-8.1 - @if get_md5(file) != "2111f5c758881cd66863a93466722488": + @if get_md5(file) != "7d07dfb454d870021370221b8b273d01": :fetch {fetch = $fetcha} $file file = doc/vimtutor-fr.UTF-8.1 @if get_md5(file) != "1a107e73cf8a3c42a6884b41291e068e": @@ -3346,13 +3361,13 @@ all fetch: @if get_md5(file) != "1f046c0f8f5df14d91df936da047c95b": :fetch {fetch = $fetcha} $file file = doc/vim-it.1 - @if get_md5(file) != "0754d8bf06a468d90092d58d15fc86b6": + @if get_md5(file) != "f33a6406b78eed5b9e381b36591b0c7b": :fetch {fetch = $fetcha} $file file = doc/vimtutor-it.1 @if get_md5(file) != "19171d2d86534837176f0c69cd3f7c2c": :fetch {fetch = $fetcha} $file file = doc/vim-it.UTF-8.1 - @if get_md5(file) != "f0b087c8a23afb0e2cab5a86ca17fc1d": + @if get_md5(file) != "e4db522e67a336694cea1f9216da2cad": :fetch {fetch = $fetcha} $file file = doc/evim-it.UTF-8.1 @if get_md5(file) != "7c0bd85b27d54c6588eb65b499e34f8a": @@ -3388,7 +3403,7 @@ all fetch: @if get_md5(file) != "76817d258800a791b59034b4d55cccff": :fetch {fetch = $fetcha} $file file = doc/vim-pl.UTF-8.1 - @if get_md5(file) != "66442f60f05ca229b5c995cd8e884d87": + @if get_md5(file) != "7b078ce32b06b0796eec2902e70c39f8": :fetch {fetch = $fetcha} $file file = doc/vimtutor-pl.UTF-8.1 @if get_md5(file) != "c3896cfb02a1831cbda2d66d03d9b96a": @@ -3403,7 +3418,7 @@ all fetch: @if get_md5(file) != "92408c9623fcfa72e7780a4b0d365eb5": :fetch {fetch = $fetcha} $file file = doc/vim-ru.1 - @if get_md5(file) != "38d7b8b8f2ef8dc14e23638a474b19ad": + @if get_md5(file) != "d64e8b5b57570f78f293fb9acd0d232b": :fetch {fetch = $fetcha} $file file = doc/vimdiff-ru.1 @if get_md5(file) != "2d6e60290ac67c03db64f038a44e8b06": @@ -3412,7 +3427,7 @@ all fetch: @if get_md5(file) != "3c7eed91e0a47c531c1d7bef3cb316f0": :fetch {fetch = $fetcha} $file file = doc/vim-ru.UTF-8.1 - @if get_md5(file) != "2a3a9465e94368328bd7c76c37c72815": + @if get_md5(file) != "30890d66f563386626982b0ac8f6545c": :fetch {fetch = $fetcha} $file file = doc/evim-ru.UTF-8.1 @if get_md5(file) != "3a0b8470aec9b06dc941ee4e6a00b5ad": @@ -4348,10 +4363,10 @@ all fetch: :fetch {fetch = $fetcha} $file :mkdir {f} spell/pt file = spell/pt/pt_PT.diff - @if get_md5(file) != "7aa392cd384cd42871a8bb320c9e718a": + @if get_md5(file) != "0e3dbb1df2a3889606dfb70f96dee4a5": :fetch {fetch = $fetcha} $file file = spell/pt/pt_BR.diff - @if get_md5(file) != "88ea562c18c3ae0b9bb900dc82a44fa6": + @if get_md5(file) != "a4475cd400e30235395dfc1c44752d7d": :fetch {fetch = $fetcha} $file :mkdir {f} spell/ro file = spell/ro/ro_RO.diff @@ -4504,7 +4519,7 @@ all fetch: @if get_md5(file) != "2b135a5c2ed2ffb33d5783ab4bf85df2": :fetch {fetch = $fetcha} $file file = spell/pt/main.aap - @if get_md5(file) != "f6ce0c8c8862a152644b2093e30a2f20": + @if get_md5(file) != "8687263bb6ededa153938e55448497b7": :fetch {fetch = $fetcha} $file file = spell/ro/main.aap @if get_md5(file) != "874e0a46ceec5553f0e968233d40924a": @@ -4576,7 +4591,7 @@ all fetch: @if get_md5(file) != "af0da03b5c998a8f8ed94a66763febd9": :fetch {fetch = $fetcha} $file file = doc/tags - @if get_md5(file) != "15cfdf29d6cd1cbd327c0f2250e6e8d7": + @if get_md5(file) != "1cf61112812b0731a6bdc9c655fb1d21": :fetch {fetch = $fetcha} $file :mkdir {f} print file = print/cp1253.ps @@ -4679,10 +4694,10 @@ all fetch: @if get_md5(file) != "0dbf52c5d2064517a4a56a0c702c5e57": :fetch {fetch = $fetcha} $file file = doc/vim.man - @if get_md5(file) != "9ca72b1f8a8c422a3a02e8a6f875cf7f": + @if get_md5(file) != "f6467ed5a8f5f924119fbcf3299c667c": :fetch {fetch = $fetcha} $file file = doc/vimdiff.man - @if get_md5(file) != "dd9cd36a701786308d61521b8f2aa3c5": + @if get_md5(file) != "98dc227304ebf90dc9fd62d22b25136c": :fetch {fetch = $fetcha} $file file = doc/vimtutor.man @if get_md5(file) != "5f9dcd753fae3fbe9ccd3bb876357a72": diff --git a/runtime/indent/dtd.vim b/runtime/indent/dtd.vim new file mode 100644 index 00000000..3c35116a --- /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 index 00000000..49ff92a8 --- /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 index f84aadcf..d2e23663 100644 --- a/runtime/plugin/netrwPlugin.vim +++ b/runtime/plugin/netrwPlugin.vim @@ -47,15 +47,15 @@ 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 "'.expand("").'"'|exe "silent doau BufReadPost ".fnameescape(expand("")) + au FileReadCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau FileReadPre ".expand("")|exe 'Nread "' .expand("").'"'|exe "silent doau FileReadPost ".fnameescape(expand("")) + au BufWriteCmd ftp://*,rcp://*,scp://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite "' .expand("").'"'|exe "silent doau BufWritePost ".fnameescape(expand("")) + au FileWriteCmd ftp://*,rcp://*,scp://*,dav://*,davs://*,rsync://*,sftp://* exe "silent doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite "' .expand("").'"'|exe "silent doau FileWritePost ".fnameescape(expand("")) try au SourceCmd ftp://*,rcp://*,scp://*,http://*,dav://*,davs://*,rsync://*,sftp://* exe 'Nsource "'.expand("").'"' catch /^Vim\%((\a\+)\)\=:E216/ diff --git a/runtime/scripts.vim b/runtime/scripts.vim index 201c3756..a5869204 100644 --- 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/syntax/2html.vim b/runtime/syntax/2html.vim index bd401661..ee66bf64 100644 --- 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/doxygen.vim b/runtime/syntax/doxygen.vim index 4916b4d3..fb4d3cca 100644 --- 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 index d2884e7f..e0e8b774 100644 --- a/runtime/syntax/forth.vim +++ b/runtime/syntax/forth.vim @@ -1,18 +1,26 @@ " 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 -" $Id: forth.vim,v 1.10 2007/07/14 21:40:17 bruessow Exp $ +" $Id: forth.vim,v 1.11 2008/02/09 13:17:01 bruessow Exp $ " 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 FIXME XXX 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 U+DO -DO U-DO DO +LOOP -LOOP 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='\*/' contains=forthTodo,forthSpaceError " 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_syn_inits") 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 index de85a174..743068f6 100644 --- 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 display '^' \ 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/modconf.vim b/runtime/syntax/modconf.vim index d4e8827b..54b6593b 100644 --- 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 elseif endif 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/racc.vim b/runtime/syntax/racc.vim index 795b6524..d412227c 100644 --- 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 nonassoc left right \ 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=raccPrecString start=+'+ 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 contained matchgroup=raccKeyword \ 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 matchgroup=raccKeyword start='\' \ 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/sh.vim b/runtime/syntax/sh.vim index cb92bbda..5fa8d938 100644 --- 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("b:is_bash") 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 index f651cbd4..4bb4417f 100644 --- 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 allof anyof envelope exists false header \ 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/tex.vim b/runtime/syntax/tex.vim index 1393a582..f1b0c1a2 100644 --- a/runtime/syntax/tex.vim +++ b/runtime/syntax/tex.vim @@ -1,8 +1,8 @@ " Vim syntax file " Language: TeX " Maintainer: Dr. Charles E. Campbell, Jr. -" Last Change: Jun 03, 2008 -" Version: 41 +" Last Change: July 13, 2008 +" Version: 42 " URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax " " Notes: {{{1 @@ -507,6 +507,7 @@ if did_tex_syntax_inits == 1 HiLink texMathDelimSet2 texMathDelim HiLink texMathDelimKey texMathDelim HiLink texMathMatcher texMath + HiLink texMathZoneV texMath HiLink texMathZoneW texMath HiLink texMathZoneX texMath HiLink texMathZoneY texMath diff --git a/runtime/syntax/updatedb.vim b/runtime/syntax/updatedb.vim index dd8e6f7a..4f912d4d 100644 --- 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 oneline start='^\s*#' end='$' 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/yaml.vim b/runtime/syntax/yaml.vim dissimilarity index 70% index abda3f8b..9ebab706 100644 --- a/runtime/syntax/yaml.vim +++ b/runtime/syntax/yaml.vim @@ -1,171 +1,83 @@ -" Vim syntax file -" Language: YAML (YAML Ain't Markup Language) -" Maintainer: Nikolai Weibull -" Latest Revision: 2007-06-27 - -if exists("b:current_syntax") - finish -endif - -let s:cpo_save = &cpo -set cpo&vim - -syn keyword yamlTodo - \ contained - \ TODO - \ FIXME - \ XXX - \ NOTE - -syn region yamlComment - \ display - \ oneline - \ start='%(^|s)#' - \ end='$' - \ contains=yamlTodo,@Spell - -syn match yamlNodeProperty - \ '!\%(![^\\^% \t]\+\|[^!][^:/ \t]*\)' - -syn match yamlAnchor - \ '&.+' - -syn match yamlAlias - \ '*.+' - -syn match yamlDelimiter - \ '[-,:]' -syn match yamlBlock - \ '[[]{}>|]' -syn match yamlOperator - \ '[?+-]' -syn match yamlKey - \ 'w+(s+w+)*zes*:' - -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}' - -" 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 - \ +''+ - -" 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 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 yamlDirective - \ contained - \ '%[^:]+:.+' - -syn match yamlIndentation - \ '^s*' - \ contains=yamlIndentationError - -syn match yamlIndentationError - \ 't' - -hi def link yamlTodo Todo -hi def link yamlComment Comment -hi def link yamlDocumentHeader PreProc -hi def link yamlDocumentEnd PreProc -hi def link yamlDirective Keyword -hi def link yamlNodeProperty Type -hi def link yamlAnchor Type -hi def link yamlAlias Type -hi def link yamlDelimiter Delimiter -hi def link yamlBlock Operator -hi def link yamlOperator Operator -hi def link yamlKey Identifier -hi def link yamlString String -hi def link yamlEscape SpecialChar -hi def link yamlSingleEscape SpecialChar -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" - -let &cpo = s:cpo_save -unlet s:cpo_save +" Vim syntax file +" Language: YAML (YAML Ain't Markup Language) +" Maintainer: Nikolai Weibull +" Latest Revision: 2006-04-19 + +if exists("b:current_syntax") + finish +endif + +let s:cpo_save = &cpo +set cpo&vim + +syn keyword yamlTodo contained TODO FIXME XXX NOTE + +syn region yamlComment display oneline start='\%(^\|\s\)#' end='$' + \ contains=yamlTodo,@Spell + +syn match yamlNodeProperty '!\%(![^\\^% ]\+\|[^!][^:/ ]*\)' + +syn match yamlAnchor '&.\+' + +syn match yamlAlias '\*.\+' + +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? +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 '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 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 yamlDirective contained '%[^:]\+:.\+' + +hi def link yamlTodo Todo +hi def link yamlComment Comment +hi def link yamlDocumentHeader PreProc +hi def link yamlDocumentEnd PreProc +hi def link yamlDirective Keyword +hi def link yamlNodeProperty Type +hi def link yamlAnchor Type +hi def link yamlAlias Type +hi def link yamlDelimiter Delimiter +hi def link yamlBlock Operator +hi def link yamlOperator Operator +hi def link yamlKey Identifier +hi def link yamlString String +hi def link yamlEscape SpecialChar +hi def link yamlSingleEscape SpecialChar +hi def link yamlNumber Number +hi def link yamlConstant Constant +hi def link yamlTimestamp Number + +let b:current_syntax = "yaml" + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/syntax/zsh.vim b/runtime/syntax/zsh.vim index eb19eba5..ecd6f058 100644 --- 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\=\(<\|<>\|<<<\|<&\s*[0-9p-]\=\)' 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=+<<\s*\(["']\)\z(\S*\)\1+ end='^\z1\>' + \ start='<\@' + \ contains=@zshSubst +syn region zshHereDoc matchgroup=zshRedir + \ start='<\@' + \ contains=@zshSubst +syn region zshHereDoc matchgroup=zshRedir + \ start='<\@' + \ contains=@zshSubst +syn region zshHereDoc matchgroup=zshRedir + \ start=+<\@' syn region zshHereDoc matchgroup=zshRedir - \ start=+<<-\s*\(["']\)\z(\S*\)\1+ + \ 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 '[+-]\=\<0\o\+\>' 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 matchgroup=zshSubstDelim transparent 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 index 042c4a02..7b84cb25 100755 --- 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 index b405b7ad..d336fe6c 100755 --- 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 || tempfile -p vimspell || echo none` # 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 index 81e5a191..11584d5b 100644 --- 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: -- 2.11.4.GIT