0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

updated for version 7.0e05

This commit is contained in:
Bram Moolenaar 2006-04-21 22:12:41 +00:00
parent fc1421eb53
commit 57657d85c6
201 changed files with 3115 additions and 2797 deletions

View File

@ -1,7 +1,7 @@
" netrw.vim: Handles file transfer and remote directory listing across a network " netrw.vim: Handles file transfer and remote directory listing across a network
" AUTOLOAD PORTION " AUTOLOAD PORTION
" Date: Apr 14, 2006 " Date: Apr 21, 2006
" Version: 88 " Version: 91
" Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz> " Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz>
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
" Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1 " Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1
@ -23,7 +23,7 @@
if &cp || exists("g:loaded_netrw") if &cp || exists("g:loaded_netrw")
finish finish
endif endif
let g:loaded_netrw = "v88" let g:loaded_netrw = "v91"
if v:version < 700 if v:version < 700
echohl WarningMsg | echo "***netrw*** you need vim version 7.0 or later for version ".g:loaded_netrw." of netrw" | echohl None echohl WarningMsg | echo "***netrw*** you need vim version 7.0 or later for version ".g:loaded_netrw." of netrw" | echohl None
finish finish
@ -396,7 +396,7 @@ fun! netrw#NetRead(mode,...)
let choice = substitute(choice,'\\','/','ge') let choice = substitute(choice,'\\','/','ge')
" call Decho("fixing up windows url to <".choice."> tmpfile<".tmpfile) " call Decho("fixing up windows url to <".choice."> tmpfile<".tmpfile)
exe 'lcd ' . fnamemodify(tmpfile,':h') exe 'cd ' . fnamemodify(tmpfile,':h')
let tmpfile = fnamemodify(tmpfile,':t') let tmpfile = fnamemodify(tmpfile,':t')
endif endif
@ -890,7 +890,7 @@ fun! netrw#NetWrite(...) range
if has("win32") || has("win95") || has("win64") || has("win16") if has("win32") || has("win95") || has("win64") || has("win16")
let choice= substitute(choice,'\\','/','ge') let choice= substitute(choice,'\\','/','ge')
"ER: see NetRead() "ER: see NetRead()
exe 'lcd ' . fnamemodify(tmpfile,':h') exe 'cd ' . fnamemodify(tmpfile,':h')
let tmpfile = fnamemodify(tmpfile,':t') let tmpfile = fnamemodify(tmpfile,':t')
endif endif
@ -1233,6 +1233,7 @@ fun! s:NetBrowse(dirname)
" call Decho("new path<".path.">") " call Decho("new path<".path.">")
" remote-read the requested file into current buffer " remote-read the requested file into current buffer
mark '
keepjumps keepalt enew! keepjumps keepalt enew!
set ma set ma
" call Decho("exe file ".method."://".user.machine."/".escape(path,s:netrw_cd_escape)) " call Decho("exe file ".method."://".user.machine."/".escape(path,s:netrw_cd_escape))
@ -1257,6 +1258,7 @@ fun! s:NetBrowse(dirname)
let bufname = method.'://'.user.machine.'/'.path let bufname = method.'://'.user.machine.'/'.path
let bufnamenr = bufnr(bufname.'$') let bufnamenr = bufnr(bufname.'$')
" call Decho("bufname<".bufname."> bufnamenr=".bufnamenr) " call Decho("bufname<".bufname."> bufnamenr=".bufnamenr)
mark '
if bufnamenr != -1 if bufnamenr != -1
" buffer already exists, switch to it! " buffer already exists, switch to it!
" call Decho("buffer already exists, switching to it") " call Decho("buffer already exists, switching to it")
@ -1324,7 +1326,7 @@ fun! s:NetBrowse(dirname)
setlocal ma nonu nowrap setlocal ma nonu nowrap
" Set up the banner " Set up the banner
" call Decho("set up the banner: sortby<".g:netrw_sort_by."> method<".method.">") " call Decho("set up the banner: sortby<".g:netrw_sort_by."> method<".method."> direction<".g:netrw_sort_direction.">")
keepjumps put ='\" ===========================================================================' keepjumps put ='\" ==========================================================================='
keepjumps put ='\" Netrw Remote Directory Listing (netrw '.g:loaded_netrw.')' keepjumps put ='\" Netrw Remote Directory Listing (netrw '.g:loaded_netrw.')'
keepjumps put ='\" '.bufname keepjumps put ='\" '.bufname
@ -2163,7 +2165,7 @@ fun! s:NetrwWideListing()
" call Decho("fpl= ".winwidth(0)."/[b:netrw_cpf=".b:netrw_cpf.']='.w:netrw_fpl) " call Decho("fpl= ".winwidth(0)."/[b:netrw_cpf=".b:netrw_cpf.']='.w:netrw_fpl)
" make wide display " make wide display
exe 'silent keepjumps '.w:netrw_bannercnt.',$s/^.*$/\=printf("%-'.b:netrw_cpf.'s",submatch(0))/' exe 'silent keepjumps '.w:netrw_bannercnt.',$s/^.*$/\=printf("%-'.b:netrw_cpf.'s",escape(submatch(0),"\\"))/'
let fpc = (line("$") - w:netrw_bannercnt + w:netrw_fpl)/w:netrw_fpl let fpc = (line("$") - w:netrw_bannercnt + w:netrw_fpl)/w:netrw_fpl
let newcolstart = w:netrw_bannercnt + fpc let newcolstart = w:netrw_bannercnt + fpc
let newcolend = newcolstart + fpc - 1 let newcolend = newcolstart + fpc - 1
@ -2252,11 +2254,15 @@ fun! s:NetMakeDir(usrhost)
call mkdir(fullnewdir,"p") call mkdir(fullnewdir,"p")
else else
let netrw_origdir= s:NetGetcwd(1) let netrw_origdir= s:NetGetcwd(1)
exe 'cd '.b:netrw_curdir exe 'keepjumps cd '.b:netrw_curdir
" call Decho("netrw_origdir<".netrw_origdir."> b:netrw_curdir<".b:netrw_curdir.">") " call Decho("netrw_origdir<".netrw_origdir.">: cd b:netrw_curdir<".b:netrw_curdir.">")
" call Decho("exe silent! !".g:netrw_local_mkdir.' "'.newdirname.'"') " call Decho("exe silent! !".g:netrw_local_mkdir.' "'.newdirname.'"')
exe "silent! !".g:netrw_local_mkdir.' "'.newdirname.'"' exe "silent! !".g:netrw_local_mkdir.' "'.newdirname.'"'
if !g:netrw_keepdir | exe 'keepjumps cd '.netrw_origdir | endif if !g:netrw_keepdir | exe 'keepjumps cd '.netrw_origdir | endif
if !g:netrw_keepdir
exe 'keepjumps cd '.netrw_origdir
" call Decho("netrw_keepdir=".g:netrw_keepdir.": cd ".netrw_origdir)
endif
endif endif
if v:shell_error == 0 if v:shell_error == 0
@ -2770,6 +2776,11 @@ fun! netrw#DirBrowse(dirname)
endif endif
call s:NetOptionSave() call s:NetOptionSave()
if w:acdkeep
exe 'cd '.escape(a:dirname,s:netrw_cd_escape)
" call Decho("cd ".escape(a:dirname,s:netrw_cd_escape))
" call Decho("getcwd<".getcwd().">")
endif
if v:version < 603 if v:version < 603
if !exists("g:netrw_quiet") if !exists("g:netrw_quiet")
@ -2807,6 +2818,7 @@ fun! netrw#DirBrowse(dirname)
endif endif
" get cleared buffer " get cleared buffer
mark '
if bufnum < 0 || !bufexists(bufnum) if bufnum < 0 || !bufexists(bufnum)
keepjumps keepalt enew! keepjumps keepalt enew!
" call Decho("enew buffer") " call Decho("enew buffer")
@ -2815,8 +2827,8 @@ fun! netrw#DirBrowse(dirname)
if exists("s:last_sort_by") && g:netrw_sort_by == s:last_sort_by if exists("s:last_sort_by") && g:netrw_sort_by == s:last_sort_by
if getline(2) =~ '^" Netrw Directory Listing ' if getline(2) =~ '^" Netrw Directory Listing '
if !g:netrw_keepdir if !g:netrw_keepdir
" call Decho("change directory: cd ".b:netrw_curdir)
exe 'cd '.escape(b:netrw_curdir,s:netrw_cd_escape) exe 'cd '.escape(b:netrw_curdir,s:netrw_cd_escape)
" call Decho("netrw_keepdir=".g:netrw_keepdir.": cd ".escape(b:netrw_curdir,s:netrw_cd_escape))
endif endif
call s:NetOptionRestore() call s:NetOptionRestore()
" call Dret("DirBrowse : reusing buffer#".bufnum."<".a:dirname.">") " call Dret("DirBrowse : reusing buffer#".bufnum."<".a:dirname.">")
@ -2847,7 +2859,7 @@ fun! netrw#DirBrowse(dirname)
" make netrw's idea of the current directory vim's if the user wishes " make netrw's idea of the current directory vim's if the user wishes
if !g:netrw_keepdir if !g:netrw_keepdir
" call Decho("change directory: cd ".b:netrw_curdir) " call Decho("netrw_keepdir=".g:netrw_keepdir.": cd ".escape(b:netrw_curdir,s:netrw_cd_escape))
try try
exe 'cd '.escape(b:netrw_curdir,s:netrw_cd_escape) exe 'cd '.escape(b:netrw_curdir,s:netrw_cd_escape)
catch /^Vim\%((\a\+)\)\=:E472/ catch /^Vim\%((\a\+)\)\=:E472/
@ -2916,8 +2928,12 @@ fun! netrw#DirBrowse(dirname)
nnoremap <buffer> <silent> v :call <SID>NetSplit(3)<cr> nnoremap <buffer> <silent> v :call <SID>NetSplit(3)<cr>
nnoremap <buffer> <silent> x :call netrw#NetBrowseX(<SID>LocalBrowseChgDir(b:netrw_curdir,<SID>NetGetWord(),0),0)"<cr> nnoremap <buffer> <silent> x :call netrw#NetBrowseX(<SID>LocalBrowseChgDir(b:netrw_curdir,<SID>NetGetWord(),0),0)"<cr>
nnoremap <buffer> <silent> <2-leftmouse> :call <SID>LocalBrowse(<SID>LocalBrowseChgDir(b:netrw_curdir,<SID>NetGetWord()))<cr> nnoremap <buffer> <silent> <2-leftmouse> :call <SID>LocalBrowse(<SID>LocalBrowseChgDir(b:netrw_curdir,<SID>NetGetWord()))<cr>
nnoremap <buffer> <silent> <s-up> :Pexplore<cr> if s:didstarstar || !mapcheck("<s-down>","n")
nnoremap <buffer> <silent> <s-down> :Nexplore<cr> nnoremap <buffer> <silent> <s-down> :Nexplore<cr>
endif
if s:didstarstar || !mapcheck("<s-up>","n")
nnoremap <buffer> <silent> <s-up> :Pexplore<cr>
endif
exe 'nnoremap <buffer> <silent> <del> :call <SID>LocalBrowseRm("'.b:netrw_curdir.'")<cr>' exe 'nnoremap <buffer> <silent> <del> :call <SID>LocalBrowseRm("'.b:netrw_curdir.'")<cr>'
exe 'vnoremap <buffer> <silent> <del> :call <SID>LocalBrowseRm("'.b:netrw_curdir.'")<cr>' exe 'vnoremap <buffer> <silent> <del> :call <SID>LocalBrowseRm("'.b:netrw_curdir.'")<cr>'
exe 'nnoremap <buffer> <silent> D :call <SID>LocalBrowseRm("'.b:netrw_curdir.'")<cr>' exe 'nnoremap <buffer> <silent> D :call <SID>LocalBrowseRm("'.b:netrw_curdir.'")<cr>'
@ -3040,7 +3056,7 @@ endfun
" --------------------------------------------------------------------- " ---------------------------------------------------------------------
" LocalBrowseList: does the job of "ls" for local directories {{{2 " LocalBrowseList: does the job of "ls" for local directories {{{2
fun! s:LocalBrowseList() fun! s:LocalBrowseList()
" call Dfunc("LocalBrowseList() b:netrw_curdir<".b:netrw_curdir.">") " call Dfunc("LocalBrowseList() b:netrw_curdir<".b:netrw_curdir."> sortby<".g:netrw_sort_by.">")
" get the list of files contained in the current directory " get the list of files contained in the current directory
let dirname = escape(b:netrw_curdir,s:netrw_glob_escape) let dirname = escape(b:netrw_curdir,s:netrw_glob_escape)
@ -3070,7 +3086,11 @@ fun! s:LocalBrowseList()
" call Decho("filelist<".filelist.">") " call Decho("filelist<".filelist.">")
endif endif
let filelist= substitute(filelist,'\n\{2,}','\n','ge') let filelist= substitute(filelist,'\n\{2,}','\n','ge')
if (has("win32") || has("win95") || has("win64") || has("win16"))
let filelist= substitute(filelist,'\','/','ge') let filelist= substitute(filelist,'\','/','ge')
else
let filelist= substitute(filelist,'\','\\','ge')
endif
" call Decho("dirname<".dirname.">") " call Decho("dirname<".dirname.">")
" call Decho("dirnamelen<".dirnamelen.">") " call Decho("dirnamelen<".dirnamelen.">")
@ -3503,6 +3523,12 @@ fun! netrw#Explore(indx,dosplit,style,...)
endif endif
norm! 0 norm! 0
if a:1 =~ '\*/'
" Explore */pattern
let pattern= substitute(a:1,'^\*/\(.*\)$','\1','')
" call Decho("Explore */".pattern)
endif
if a:1 == "" && a:indx >= 0 if a:1 == "" && a:indx >= 0
" Explore Hexplore Vexplore Sexplore " Explore Hexplore Vexplore Sexplore
" call Decho("Explore Hexplore Vexplore Sexplore") " call Decho("Explore Hexplore Vexplore Sexplore")
@ -3516,26 +3542,61 @@ fun! netrw#Explore(indx,dosplit,style,...)
call s:LocalBrowse(newdir) call s:LocalBrowse(newdir)
endif endif
elseif a:1 =~ '\*\*/' || a:indx < 0 elseif a:1 =~ '^\*\*/' || a:indx < 0 || a:1 =~ '^\*/'
" Nexplore Pexplore -or- Explore **/... " Nexplore, Pexplore, Explore **/... , or Explore */pattern
" call Decho("Nexplore Pexplore -or- Explore **/...") " call Decho("Nexplore, Pexplore, <s-down>, <s-up>, Explore ".a:1)
let s:didstarstar= 1
if exists("b:netrw_curdir")
nnoremap <buffer> <silent> <s-up> :Pexplore<cr>
nnoremap <buffer> <silent> <s-down> :Nexplore<cr>
endif
if has("path_extra") if has("path_extra")
if !exists("w:netrw_explore_indx") if !exists("w:netrw_explore_indx")
let w:netrw_explore_indx= 0 let w:netrw_explore_indx= 0
endif endif
let indx = a:indx let indx = a:indx
" call Decho("input indx=".indx)
"
if indx == -1 if indx == -1
if !exists("w:netrw_explore_list") " sanity check
echohl WarningMsg | echo "***netrw*** using Nexplore or <s-down> improperly; see help for netrw-starstar" | echohl None
call inputsave()|call input("Press <cr> to continue")|call inputrestore()
" call Dret("Explore")
return
endif
let indx= w:netrw_explore_indx + 1 let indx= w:netrw_explore_indx + 1
" call Decho("indx= [w:netrw_explore_indx=".w:netrw_explore_indx."]=".indx)
elseif indx == -2 elseif indx == -2
if !exists("w:netrw_explore_list") " sanity check
echohl WarningMsg | echo "***netrw*** using Pexplore or <s-up> improperly; see help for netrw-starstar" | echohl None
call inputsave()|call input("Press <cr> to continue")|call inputrestore()
" call Dret("Explore")
return
endif
let indx= w:netrw_explore_indx - 1 let indx= w:netrw_explore_indx - 1
" call Decho("indx= [w:netrw_explore_indx=".w:netrw_explore_indx."]=".indx)
else else
" build list of files to Explore with Nexplore/Pexplore
let w:netrw_explore_indx = 0 let w:netrw_explore_indx = 0
if !exists("b:netrw_curdir") if !exists("b:netrw_curdir")
let b:netrw_curdir= getcwd() let b:netrw_curdir= getcwd()
endif endif
" call Decho("b:netrw_curdir<".b:netrw_curdir.">")
if exists("pattern")
" call Decho("building list based on pattern<".pattern."> cwd<".getcwd().">")
exe "vimgrep /".pattern."/gj ".b:netrw_curdir."/*"
let w:netrw_explore_list = map(getqflist(),'b:netrw_curdir.bufname(v:val.bufnr)')
else
" call Decho("building list based on ".b:netrw_curdir."/".a:1)
let w:netrw_explore_list= split(expand(b:netrw_curdir."/".a:1),'\n') let w:netrw_explore_list= split(expand(b:netrw_curdir."/".a:1),'\n')
endif
let w:netrw_explore_listlen = len(w:netrw_explore_list) let w:netrw_explore_listlen = len(w:netrw_explore_list)
" call Decho("w:netrw_explore_list<".string(w:netrw_explore_list)."> listlen=".w:netrw_explore_listlen)
if w:netrw_explore_listlen == 1 && w:netrw_explore_list[0] =~ '\*\*\/' if w:netrw_explore_listlen == 1 && w:netrw_explore_list[0] =~ '\*\*\/'
echohl WarningMsg | echo "***netrw*** no files matched" | echohl None echohl WarningMsg | echo "***netrw*** no files matched" | echohl None
call inputsave()|call input("Press <cr> to continue")|call inputrestore() call inputsave()|call input("Press <cr> to continue")|call inputrestore()
@ -3928,14 +3989,9 @@ fun! s:NetOptionSave()
endif endif
" Get Temporary Filename " Get Temporary Filename
let w:acdkeep = &acd
let w:aikeep = &ai let w:aikeep = &ai
" " netrw and the acd option do not work together properly
" if &acd && (has("netbeans_intg") || has("sun_workshop"))
" set noacd
" echohl Warning | echomsg "***warning*** directory browsing and the acd setting are incompatible" |echohl None
" endif
let w:fokeep = &fo let w:fokeep = &fo
let w:aikeep = &ai
let w:cikeep = &ci let w:cikeep = &ci
let w:cinkeep = &cin let w:cinkeep = &cin
let w:cinokeep = &cino let w:cinokeep = &cino
@ -3943,9 +3999,6 @@ fun! s:NetOptionSave()
let w:cpokeep = &cpo let w:cpokeep = &cpo
let w:hidkeep = &hidden let w:hidkeep = &hidden
let w:magickeep = &magic let w:magickeep = &magic
if !g:netrw_keepdir
let w:dirkeep = getcwd()
endif
let w:gdkeep = &gd let w:gdkeep = &gd
let w:repkeep = &report let w:repkeep = &report
let w:spellkeep = &spell let w:spellkeep = &spell
@ -3953,7 +4006,7 @@ fun! s:NetOptionSave()
setlocal cino = setlocal cino =
setlocal com = setlocal com =
setlocal cpo -=aA setlocal cpo -=aA
setlocal nocin noai noci magic nospell fo=nroql2 nohid setlocal noacd nocin noai noci magic nospell fo=nroql2 nohid
setlocal tw =0 setlocal tw =0
setlocal report=10000 setlocal report=10000
if has("win32") && !has("win95") if has("win32") && !has("win95")
@ -3975,14 +4028,13 @@ fun! s:NetOptionRestore()
endif endif
unlet w:netoptionsave unlet w:netoptionsave
if exists("w:aikeep")| let &ai= w:aikeep|endif if exists("w:acdkeep") |let &acd = w:acdkeep |unlet w:acdkeep |endif
if exists("w:aikeep") |let &ai = w:aikeep |unlet w:aikeep |endif if exists("w:aikeep") |let &ai = w:aikeep |unlet w:aikeep |endif
if exists("w:cikeep") |let &ci = w:cikeep |unlet w:cikeep |endif if exists("w:cikeep") |let &ci = w:cikeep |unlet w:cikeep |endif
if exists("w:cinkeep") |let &cin = w:cinkeep |unlet w:cinkeep |endif if exists("w:cinkeep") |let &cin = w:cinkeep |unlet w:cinkeep |endif
if exists("w:cinokeep") |let &cino = w:cinokeep |unlet w:cinokeep |endif if exists("w:cinokeep") |let &cino = w:cinokeep |unlet w:cinokeep |endif
if exists("w:comkeep") |let &com = w:comkeep |unlet w:comkeep |endif if exists("w:comkeep") |let &com = w:comkeep |unlet w:comkeep |endif
if exists("w:cpokeep") |let &cpo = w:cpokeep |unlet w:cpokeep |endif if exists("w:cpokeep") |let &cpo = w:cpokeep |unlet w:cpokeep |endif
if exists("w:dirkeep") |exe "lcd ".w:dirkeep |unlet w:dirkeep |endif
if exists("w:fokeep") |let &fo = w:fokeep |unlet w:fokeep |endif if exists("w:fokeep") |let &fo = w:fokeep |unlet w:fokeep |endif
if exists("w:gdkeep") |let &gd = w:gdkeep |unlet w:gdkeep |endif if exists("w:gdkeep") |let &gd = w:gdkeep |unlet w:gdkeep |endif
if exists("w:hidkeep") |let &hidden = w:hidkeep |unlet w:hidkeep |endif if exists("w:hidkeep") |let &hidden = w:hidkeep |unlet w:hidkeep |endif

View File

@ -1,6 +1,6 @@
" Vim support file to help with paste mappings and menus " Vim support file to help with paste mappings and menus
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2006 Mar 09 " Last Change: 2006 Apr 21
" Define the string to use for items that are present both in Edit, Popup and " Define the string to use for items that are present both in Edit, Popup and
" Toolbar menu. Also used in mswin.vim and macmap.vim. " Toolbar menu. Also used in mswin.vim and macmap.vim.
@ -33,7 +33,3 @@ else
let paste#paste_cmd['v'] = '"-c<Esc>gix<Esc>' . paste#paste_cmd['n'] . '"_x' let paste#paste_cmd['v'] = '"-c<Esc>gix<Esc>' . paste#paste_cmd['n'] . '"_x'
let paste#paste_cmd['i'] = 'x<Esc>' . paste#paste_cmd['n'] . '"_s' let paste#paste_cmd['i'] = 'x<Esc>' . paste#paste_cmd['n'] . '"_s'
endif endif
if has("virtualedit")
else
endif

View File

@ -1,6 +1,6 @@
" Vim color file " Vim color file
" Maintainer: Bohdan Vlasyuk <bohdan@vstu.edu.ua> " Maintainer: Bohdan Vlasyuk <bohdan@vstu.edu.ua>
" Last Change: 2005 Mar 28 " Last Change: 2006 Apr 21
" darkblue -- for those who prefer dark background " darkblue -- for those who prefer dark background
" [note: looks bit uglier with come terminal palettes, " [note: looks bit uglier with come terminal palettes,
@ -58,5 +58,3 @@ hi PreProc ctermfg=magenta guifg=#ff80ff gui=none cterm=none
hi type ctermfg=green guifg=#60ff60 gui=none cterm=none hi type ctermfg=green guifg=#60ff60 gui=none cterm=none
hi Underlined cterm=underline term=underline hi Underlined cterm=underline term=underline
hi Ignore guifg=bg ctermfg=bg hi Ignore guifg=bg ctermfg=bg

View File

@ -1,7 +1,7 @@
" Vim compiler file " Vim compiler file
" Compiler: BDF to PCF Conversion " Compiler: BDF to PCF Conversion
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2006-04-19
if exists("current_compiler") if exists("current_compiler")
finish finish
@ -11,9 +11,9 @@ let current_compiler = "bdf"
let s:cpo_save = &cpo let s:cpo_save = &cpo
set cpo-=C set cpo-=C
CompilerSet makeprg=bdftopcf\ $* setlocal makeprg=bdftopcf\ $*
CompilerSet errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m, setlocal errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m,
\%-Z%p^, \%-Z%p^,
\%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt, \%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt,
\%-G%.%# \%-G%.%#

View File

@ -1,7 +1,7 @@
" Vim compiler file " Vim compiler file
" Compiler: GNU C Compiler " Compiler: GNU C Compiler
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2006-04-19
if exists("current_compiler") if exists("current_compiler")
finish finish

View File

@ -1,7 +1,7 @@
" Vim compiler file " Vim compiler file
" Compiler: reStructuredText Documentation Format " Compiler: reStructuredText Documentation Format
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2006-04-19
if exists("current_compiler") if exists("current_compiler")
finish finish
@ -11,7 +11,7 @@ let current_compiler = "rst"
let s:cpo_save = &cpo let s:cpo_save = &cpo
set cpo-=C set cpo-=C
CompilerSet errorformat= setlocal errorformat=
\%f:%l:\ (%tEBUG/0)\ %m, \%f:%l:\ (%tEBUG/0)\ %m,
\%f:%l:\ (%tNFO/1)\ %m, \%f:%l:\ (%tNFO/1)\ %m,
\%f:%l:\ (%tARNING/2)\ %m, \%f:%l:\ (%tARNING/2)\ %m,

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.0e. Last change: 2006 Apr 15 *eval.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -1369,9 +1369,9 @@ v:lc_time The current locale setting for time messages of the runtime
*v:lnum* *lnum-variable* *v:lnum* *lnum-variable*
v:lnum Line number for the 'foldexpr' |fold-expr| and 'indentexpr' v:lnum Line number for the 'foldexpr' |fold-expr| and 'indentexpr'
expressions, tab page number for 'guitablabel'. Only valid expressions, tab page number for 'guitablabel' and
while one of these expressions is being evaluated. Read-only 'guitabtooltip'. Only valid while one of these expressions is
when in the |sandbox|. being evaluated. Read-only when in the |sandbox|.
*v:prevcount* *prevcount-variable* *v:prevcount* *prevcount-variable*
v:prevcount The count given for the last but one Normal mode command. v:prevcount The count given for the last but one Normal mode command.

View File

@ -552,6 +552,9 @@ tag command action in Normal mode ~
|CTRL-W_g}| CTRL-W g } do a |:ptjump| to the tag under the cursor |CTRL-W_g}| CTRL-W g } do a |:ptjump| to the tag under the cursor
|CTRL-W_gf| CTRL-W g f edit file name under the cursor in a new |CTRL-W_gf| CTRL-W g f edit file name under the cursor in a new
tab page tab page
|CTRL-W_gF| CTRL-W g F edit file name under the cursor in a new
tab page and jump to the line number
following the file name.
|CTRL-W_h| CTRL-W h go to Nth left window (stop at first window) |CTRL-W_h| CTRL-W h go to Nth left window (stop at first window)
|CTRL-W_i| CTRL-W i split window and jump to declaration of |CTRL-W_i| CTRL-W i split window and jump to declaration of
identifier under the cursor identifier under the cursor

View File

@ -1,4 +1,4 @@
*mbyte.txt* For Vim version 7.0e. Last change: 2006 Apr 02 *mbyte.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar et al. VIM REFERENCE MANUAL by Bram Moolenaar et al.
@ -1035,7 +1035,7 @@ use a brightly colored cursor: >
:highlight Cursor guifg=NONE guibg=Green :highlight Cursor guifg=NONE guibg=Green
:highlight lCursor guifg=NONE guibg=Cyan :highlight lCursor guifg=NONE guibg=Cyan
< <
*keymap-file-format* *:loadk* *:loadkeymap* *E105* *keymap-file-format* *:loadk* *:loadkeymap* *E105* *E791*
The keymap file looks something like this: > The keymap file looks something like this: >
" Maintainer: name <email@address> " Maintainer: name <email@address>

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 7.0e. Last change: 2006 Apr 20 *options.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -2092,12 +2092,16 @@ A jump table for the options with a short description can be found at |Q_op|.
'debug' string (default "") 'debug' string (default "")
global global
{not in Vi} {not in Vi}
When set to "msg", error messages that would otherwise be omitted will These values can be used:
be given anyway. This is useful when debugging 'foldexpr', msg Error messages that would otherwise be omitted will be given
'formatexpr' or 'indentexpr'. anyway.
When set to "beep", a message will be given when otherwise only a beep throw Error messages that would otherwise be omitted will be given
would be produced. anyway and also throw an exception and set |v:errmsg|.
beep A message will be given when otherwise only a beep would be
produced.
The values can be combined, separated by a comma. The values can be combined, separated by a comma.
"msg" and "throw" are useful for debugging 'foldexpr', 'formatexpr' or
'indentexpr'.
*'define'* *'def'* *'define'* *'def'*
'define' 'def' string (default "^\s*#\s*define") 'define' 'def' string (default "^\s*#\s*define")
@ -3407,11 +3411,25 @@ A jump table for the options with a short description can be found at |Q_op|.
|setting-guitablabel| for more info. |setting-guitablabel| for more info.
The format of this option is like that of 'statusline'. The format of this option is like that of 'statusline'.
'guitabtooltip' is used for the tooltip, see below.
Only used when the GUI tab pages line is displayed. 'e' must be Only used when the GUI tab pages line is displayed. 'e' must be
present in 'guioptions'. For the non-GUI tab pages line 'tabline' is present in 'guioptions'. For the non-GUI tab pages line 'tabline' is
used. used.
*'guitabtooltip'* *'gtt'*
'guitabtooltip' 'gtt' string (default empty)
global
{not in Vi}
{only available when compiled with GUI enabled and
with the +windows feature}
When nonempty describes the text to use in a tooltip for the GUI tab
pages line. When empty Vim will use a default tooltip.
This option is otherwise just like 'guitablabel' above.
The tooltip only works for some systems.
*'helpfile'* *'hf'* *'helpfile'* *'hf'*
'helpfile' 'hf' string (default (MSDOS) "$VIMRUNTIME\doc\help.txt" 'helpfile' 'hf' string (default (MSDOS) "$VIMRUNTIME\doc\help.txt"
(others) "$VIMRUNTIME/doc/help.txt") (others) "$VIMRUNTIME/doc/help.txt")

View File

@ -1,4 +1,4 @@
*pi_netrw.txt* For Vim version 7.0e. Last change: Apr 12, 2006 *pi_netrw.txt* For Vim version 7.0e. Last change: Apr 21, 2006
VIM REFERENCE MANUAL by Charles E. Campbell, Jr. VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
@ -782,7 +782,7 @@ NETRW BROWSER VARIABLES *netrw-browse-var*
=0 keep the current directory the same as the =0 keep the current directory the same as the
browsing directory. browsing directory.
The current browsing directory is contained in The current browsing directory is contained in
b:netrw_curdir b:netrw_curdir (also see |netrw-c|)
*g:netrw_list_cmd* command for listing remote directories *g:netrw_list_cmd* command for listing remote directories
default: (if ssh is executable) default: (if ssh is executable)
@ -919,15 +919,16 @@ DIRECTORY EXPLORING COMMANDS *netrw-nexplore* *netrw-vexplore*
By default, these commands use the current file's directory. However, one By default, these commands use the current file's directory. However, one
may explicitly provide a directory (path) to use. may explicitly provide a directory (path) to use.
(Following needs v7.0 or later) *netrw-starstar* *netrw-starstar*
When Explore, Sexplore, Hexplore, or Vexplore are used with a **, When Explore, Sexplore, Hexplore, or Vexplore are used with a **/filepat,
such as: such as:
> >
:Explore **/filename_pattern :Explore **/filename_pattern
< <
netrw will attempt to find a (sub)directory which matches the filename netrw will attempt to find a file in the current directory or any subdirectory
pattern. Internally, it produces a list of files which match the pattern which matches the filename pattern. Internally, it produces a list of files
and their paths; to that extent it resembles the Unix operation: which match the pattern and their paths; to that extent it resembles the Unix
operation:
> >
find $(pwd) -name "$1" -exec "echo" "{}" ";" 2> /dev/null find $(pwd) -name "$1" -exec "echo" "{}" ";" 2> /dev/null
< <
@ -951,6 +952,18 @@ As an example, consider
The status line will show, on the right hand side of the status line, a The status line will show, on the right hand side of the status line, a
message like "Match 3 of 20". message like "Match 3 of 20".
*netrw-starpat*
When Explore, Sexplore, Hexplore, or Vexplore are used with a */pattern,
such as:
>
:Explore */pattern
<
netrw will use |:vimgrep| to find files which contain the given pattern.
Like what happens with |netrw-starstar|, a list of files which contain
matches to the given pattern is generated. The cursor will then jump
to the first file with the given pattern; |:Nexplore|, |:Pexplore|, and
the shifted-down and -up arrows work with the list to move to the next
or previous files in that list.
REFRESHING THE LISTING *netrw-ctrl-l* REFRESHING THE LISTING *netrw-ctrl-l*
@ -1261,14 +1274,16 @@ to forward a copy to me for future inclusion in the distribution.
MAKING THE BROWSING DIRECTORY THE CURRENT DIRECTORY *netrw-c* *netrw-curdir* MAKING THE BROWSING DIRECTORY THE CURRENT DIRECTORY *netrw-c* *netrw-curdir*
By default, g:netrw_keepdir is 1. This setting means that the current By default, |g:netrw_keepdir| is 1. This setting means that the current
directory will not track the browsing directory. However, setting directory will not track the browsing directory. However, setting
g:netrw_keepdir to 0 (say, in your <.vimrc>) will tell netrw to have the g:netrw_keepdir to 0 (say, in your <.vimrc>) will tell netrw to make the
currently browsed directory be the current directory. currently browsed directory also be the current directory.
With the default setting for g:netrw_keepdir, in order to make the two However, with the default setting for g:netrw_keepdir of 1 where netrw
directories the same, use the "c" map (just type c). That map will set the maintains its own separate notion of the current directory, in order to make
current directory to the current browsing directory. the two directories the same, use the "c" map (just type c). That map will
set Vim's notion of the current directory to the netrw's current browsing
directory.
BOOKMARKING A DIRECTORY *netrw-b* *netrw-bookmark* *netrw-bookmarks* BOOKMARKING A DIRECTORY *netrw-b* *netrw-bookmark* *netrw-bookmarks*
@ -1447,6 +1462,17 @@ which is loaded automatically at startup (assuming :set nocp).
============================================================================== ==============================================================================
11. History *netrw-history* {{{1 11. History *netrw-history* {{{1
v91: * :Explore */pattern implemented
* |'acd'| option bypassed
v90: * mark ', as suggested by Yegappan Lakshmanan, used to help
guarantee entry into the jump list when appropriate.
* <s-down> and <s-up> are no longer defined until a
:Explore **/pattern is used (if the user already has a map
for them). They will be defined for new browser windows
from that point forward.
v89: * A <s-down>, <s-up>, :Nexplore, or a :Pexplore without having
first done an :Explore **/pattern (see |netrw-starstar|) caused
a lot of unhelpful error messages to appear
v88: * moved DrChip.Netrw menu to Netrw. Now has priority 80 by v88: * moved DrChip.Netrw menu to Netrw. Now has priority 80 by
default. g:NetrwTopLvlMenu == "Netrw" and can be changed default. g:NetrwTopLvlMenu == "Netrw" and can be changed
by the user to suit. The priority is g:NetrwMenuPriority. by the user to suit. The priority is g:NetrwMenuPriority.

View File

@ -1,4 +1,4 @@
*print.txt* For Vim version 7.0e. Last change: 2005 Apr 01 *print.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -287,7 +287,7 @@ another font will be used as follows:
if b: is missing, then use r: if b: is missing, then use r:
if i: is missing, then use r: if i: is missing, then use r:
if o: is missing, then use i: if o: is missing, then use b:
Some CJK fonts do not contain characters for codes in the ASCII code range. Some CJK fonts do not contain characters for codes in the ASCII code range.
Also, some characters in the CJK ASCII code ranges differ in a few code points Also, some characters in the CJK ASCII code ranges differ in a few code points

View File

@ -1,4 +1,4 @@
*quickref.txt* For Vim version 7.0e. Last change: 2006 Mar 23 *quickref.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -707,6 +707,7 @@ Short explanation of each option: *option-list*
'guioptions' 'go' GUI: Which components and options are used 'guioptions' 'go' GUI: Which components and options are used
'guipty' GUI: try to use a pseudo-tty for ":!" commands 'guipty' GUI: try to use a pseudo-tty for ":!" commands
'guitablabel' 'gtl' GUI: custom label for a tab page 'guitablabel' 'gtl' GUI: custom label for a tab page
'guitabtooltip' 'gtt' GUI: custom tooltip for a tab page
'helpfile' 'hf' full path name of the main help file 'helpfile' 'hf' full path name of the main help file
'helpheight' 'hh' minimum height of a new help window 'helpheight' 'hh' minimum height of a new help window
'helplang' 'hlg' preferred help languages 'helplang' 'hlg' preferred help languages

View File

@ -1,4 +1,4 @@
*sponsor.txt* For Vim version 7.0e. Last change: 2006 Mar 29 *sponsor.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -202,8 +202,8 @@ Are the donations tax deductible?
That depends on your country. The donations to help the children in |Uganda| That depends on your country. The donations to help the children in |Uganda|
are tax deductible in Holland, Germany, Canada and in the USA. See the ICCF are tax deductible in Holland, Germany, Canada and in the USA. See the ICCF
website http://www.iccf.nl/donate.html. You must send an e-mail to Bram to website http://iccf-holland.org/donate.html. You must send an e-mail to Bram
let him know that the donation is done because of the use of Vim. to let him know that the donation is done because of the use of Vim.
Can you send me a bill? Can you send me a bill?

View File

@ -1,4 +1,4 @@
*tabpage.txt* For Vim version 7.0e. Last change: 2006 Apr 13 *tabpage.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -82,6 +82,9 @@ In the GUI tab pages line you can use the right mouse button to open menu.
CTRL-W gf Open a new tab page and edit the file name under the cursor. CTRL-W gf Open a new tab page and edit the file name under the cursor.
See |CTRL-W_gf|. See |CTRL-W_gf|.
CTRL-W gF Open a new tab page and edit the file name under the cursor
and jump to the line number following the file name.
See |CTRL-W_gF|.
CLOSING A TAB PAGE: CLOSING A TAB PAGE:
@ -306,21 +309,25 @@ specify the label to display for each tab page. Unlike 'tabline', which
specifies the whole tab pages line at once, 'guitablabel' is used for each specifies the whole tab pages line at once, 'guitablabel' is used for each
label separately. label separately.
'guitabtooltip' is very similar and is used for the tooltip of the same label.
This only appears when the mouse pointer hovers over the label, thus it
usually is longer. Only supported on some systems though.
See the 'statusline' option for the format of the value. See the 'statusline' option for the format of the value.
The "%N" item can be used for the current tab page number. The |v:lnum| The "%N" item can be used for the current tab page number. The |v:lnum|
variable is also set to this number when 'guitablabel' is evaluated. variable is also set to this number when the option is evaluated.
The items that use a file name refer to the current window of the tab page. The items that use a file name refer to the current window of the tab page.
Note that syntax highlighting is not used for 'guitablabel'. The %T and %X Note that syntax highlighting is not used for the option. The %T and %X
items are also ignored. items are also ignored.
A simple example that puts the tab page number and the buffer name in the A simple example that puts the tab page number and the buffer name in the
label: > label: >
:set guitablabel=%N\ %f :set guitablabel=%N\ %f
An example that resembles the default: Show the number of windows in the tab An example that resembles the default 'guitablabel': Show the number of
page and a '+' if there is a modifed buffer: > windows in the tab page and a '+' if there is a modifed buffer: >
function GuiTabLabel() function GuiTabLabel()
let label = '' let label = ''

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0e. Last change: 2006 Apr 20 *todo.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -30,7 +30,7 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
For a tooltip of at GUI tab label we need a new field. Also 'guitabtip'? Win32: Crash when adding many menu entries. (Karl Waedt)
Crash in "z=" when the change triggers checking out the file, FileChangedRO Crash in "z=" when the change triggers checking out the file, FileChangedRO
event. Problem in move_lines()? FileChangedShell also involved? (Neil Bird) event. Problem in move_lines()? FileChangedShell also involved? (Neil Bird)
@ -39,6 +39,7 @@ Added a few checks for valid buffer, did that help?
Fix coverity false positives? Fix coverity false positives?
Add more tests for all new functionality in Vim 7. Especially new functions. Add more tests for all new functionality in Vim 7. Especially new functions.
:undojoin
Win32: Describe how to do debugging. (George Reilly) Win32: Describe how to do debugging. (George Reilly)

View File

@ -1,4 +1,4 @@
*undo.txt* For Vim version 7.0e. Last change: 2006 Apr 12 *undo.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -87,10 +87,11 @@ undone together.
If you want to write a function or script that doesn't create a new undoable If you want to write a function or script that doesn't create a new undoable
change but joins in with the previous change use this command: change but joins in with the previous change use this command:
*:undoj* *:undojoin* *:undoj* *:undojoin* *E790*
:undoj[oin] Join further changes with the previous undo block. :undoj[oin] Join further changes with the previous undo block.
Warning: Use with care, it may prevent the user from Warning: Use with care, it may prevent the user from
properly undoing changes. properly undoing changes. Don't use this after undo
or redo.
{not in Vi} {not in Vi}
This is most useful when you need to prompt the user halfway a change. For This is most useful when you need to prompt the user halfway a change. For

View File

@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.0e. Last change: 2006 Apr 20 *version7.txt* For Vim version 7.0e. Last change: 2006 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -280,9 +280,9 @@ argument. The maximum number of pages can be set with 'tabpagemax'.
The line with tab labels is either made with plain text an highlighting or The line with tab labels is either made with plain text an highlighting or
with a GUI mechanism. The GUI labels look better but are only available on a with a GUI mechanism. The GUI labels look better but are only available on a
few systems. The line can be customized with 'tabline' and 'guitablabel'. few systems. The line can be customized with 'tabline', 'guitablabel' and
Whether it is displayed is set with 'showtabline'. Whether to use the GUI 'guitabtooltip'. Whether it is displayed is set with 'showtabline'. Whether
labels is set with the "e" flag in 'guioptions'. to use the GUI labels is set with the "e" flag in 'guioptions'.
The |:tab| command modifier can be used to have most commands that open a new The |:tab| command modifier can be used to have most commands that open a new
window open a new tab instead. window open a new tab instead.
@ -895,6 +895,7 @@ BibTeX indent file. (Dorai Sitaram)
BTM ftplugin file. (Bram Moolenaar) BTM ftplugin file. (Bram Moolenaar)
calendar ftplugin file. (Nikolai Weibull) calendar ftplugin file. (Nikolai Weibull)
Changelog indent file. (Nikolai Weibull) Changelog indent file. (Nikolai Weibull)
ChordPro syntax file. (Niels Bo Andersen)
Cmake indent and syntax file. (Andy Cedilnik) Cmake indent and syntax file. (Andy Cedilnik)
conf ftplugin file. (Nikolai Weibull) conf ftplugin file. (Nikolai Weibull)
context syntax and ftplugin file. (Nikolai Weibull) context syntax and ftplugin file. (Nikolai Weibull)
@ -2569,5 +2570,17 @@ It was possible to switch to another tab page when the cmdline window is open.
Completion could hang when 'lines' is 6 and a preview window was opened. Completion could hang when 'lines' is 6 and a preview window was opened.
Added CTRL-W gF: open file under cursor in new tab page and jump to the line
number following the file name.
Added 'guitabtooltip', but it's not implemented anywhere yet.
Added "throw" to 'debug' option: thow an exception for error messages even
whey they would otherwise be ignored.
When 'keymap' is set and a line contains an invalid entry could get a "No
mapping found" warning instead of a proper error message.
Motif: default to using XpmAttributes instead of XpmAttributes_21.
vim:tw=78:ts=8:ft=help:norl: vim:tw=78:ts=8:ft=help:norl:

View File

@ -729,6 +729,8 @@ CTRL-W F *CTRL-W_F*
Split current window in two. Edit file name under cursor and Split current window in two. Edit file name under cursor and
jump to the line number following the file name. See |gF| for jump to the line number following the file name. See |gF| for
details on how the line number is obtained. details on how the line number is obtained.
{not available when the |+file_in_path| feature was disabled
at compile time}
CTRL-W gf *CTRL-W_gf* CTRL-W gf *CTRL-W_gf*
Open a new tab page and edit the file name under the cursor. Open a new tab page and edit the file name under the cursor.
@ -737,6 +739,14 @@ CTRL-W gf *CTRL-W_gf*
{not available when the |+file_in_path| feature was disabled {not available when the |+file_in_path| feature was disabled
at compile time} at compile time}
CTRL-W gF *CTRL-W_gF*
Open a new tab page and edit the file name under the cursor
and jump to the line number following the file name. Like
"tab split" and "gF", but the new tab page isn't created if
the file does not exist.
{not available when the |+file_in_path| feature was disabled
at compile time}
Also see |CTRL-W_CTRL-I|: open window for an included file that includes Also see |CTRL-W_CTRL-I|: open window for an included file that includes
the keyword under the cursor. the keyword under the cursor.

View File

@ -1,7 +1,7 @@
" Vim support file to detect file types " Vim support file to detect file types
" "
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2006 Apr 19 " Last Change: 2006 Apr 21
" Listen very carefully, I will say this only once " Listen very carefully, I will say this only once
if exists("did_load_filetypes") if exists("did_load_filetypes")
@ -390,6 +390,9 @@ fun! s:FTchange()
setf chill setf chill
endfun endfun
" ChordPro
au BufNewFile,BufRead *.chopro,*.crd,*.cho,*.crdpro,*.chordpro setf chordpro
" Clean " Clean
au BufNewFile,BufRead *.dcl,*.icl setf clean au BufNewFile,BufRead *.dcl,*.icl setf clean

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: a2ps(1) configuration file " Language: a2ps(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim Ada plugin file " Vim Ada plugin file
" Language: Ada " Language: Ada
" Maintainer: Neil Bird <neil@fnxweb.com> " Maintainer: Neil Bird <neil@fnxweb.com>
" Last Change: 2003 May 11 " Last Change: 2006 Apr 21
" Version: $Id$ " Version: $Id$
" Look for the latest version at http://vim.sourceforge.net/ " Look for the latest version at http://vim.sourceforge.net/
" "
@ -14,7 +14,6 @@
" Exports 'AdaWord()' function to return full name of Ada entity under the " Exports 'AdaWord()' function to return full name of Ada entity under the
" cursor( or at given line/column), stripping whitespace/newlines as necessary. " cursor( or at given line/column), stripping whitespace/newlines as necessary.
" Only do this when not done yet for this buffer " Only do this when not done yet for this buffer
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
@ -27,11 +26,9 @@ let b:did_ftplugin = 1
let s:cpoptions = &cpoptions let s:cpoptions = &cpoptions
set cpo-=C set cpo-=C
" Ada comments " Ada comments
setlocal comments+=O:-- setlocal comments+=O:--
" Make local tag mappings for this buffer (if not already set) " Make local tag mappings for this buffer (if not already set)
if mapcheck('<C-]>','n') == '' if mapcheck('<C-]>','n') == ''
nnoremap <unique> <buffer> <C-]> :call JumpToTag_ada('')<cr> nnoremap <unique> <buffer> <C-]> :call JumpToTag_ada('')<cr>

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: alsaconf(8) configuration file " Language: alsaconf(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: GNU Arch inventory file " Language: GNU Arch inventory file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Automake " Language: Automake
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-22 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: BDF font definition " Language: BDF font definition
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: calendar(1) input file " Language: calendar(1) input file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,11 +1,14 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: generic Changelog file " Language: generic Changelog file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2006-04-19
" Variables: " Variables:
" g:changelog_timeformat - " g:changelog_timeformat (deprecated: use g:changelog_dateformat instead) -
" description: the timeformat used in ChangeLog entries. " description: the timeformat used in ChangeLog entries.
" default: "%Y-%m-%d". " default: "%Y-%m-%d".
" g:changelog_dateformat -
" description: the format sent to strftime() to generate a date string.
" default: "%Y-%m-%d".
" g:changelog_username - " g:changelog_username -
" description: the username to use in ChangeLog entries " description: the username to use in ChangeLog entries
" default: try to deduce it from environment variables and system files. " default: try to deduce it from environment variables and system files.
@ -25,8 +28,8 @@
" Problem is that you might end up with ChangeLog files all over the place. " Problem is that you might end up with ChangeLog files all over the place.
" If 'filetype' isn't "changelog", we must have been to add ChangeLog opener " If 'filetype' isn't "changelog", we must have been to add ChangeLog opener
if &filetype == "changelog" if &filetype == 'changelog'
if exists("b:did_ftplugin") if exists('b:did_ftplugin')
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
@ -34,20 +37,25 @@ if &filetype == "changelog"
let s:cpo_save = &cpo let s:cpo_save = &cpo
set cpo&vim set cpo&vim
" The format of the date-time field (should have been called dateformat) " Set up the format used for dates.
if !exists("g:changelog_timeformat") if !exists('g:changelog_dateformat')
let g:changelog_timeformat = "%Y-%m-%d" if exists('g:changelog_timeformat')
let g:changelog_dateformat = g:changelog_timeformat
else
let g:changelog_dateformat = "%Y-%m-%d"
endif
endif endif
" Try to figure out a reasonable username of the form: " Try to figure out a reasonable username of the form:
" Full Name <user@host> " Full Name <user@host>.
if !exists("g:changelog_username") if !exists('g:changelog_username')
if exists("$EMAIL_ADDRESS") if exists('$EMAIL') && $EMAIL != ''
let g:changelog_username = $EMAIL_ADDRESS
elseif exists("$EMAIL")
let g:changelog_username = $EMAIL let g:changelog_username = $EMAIL
elseif exists('$EMAIL_ADDRESS') && $EMAIL_ADDRESS != ''
" This is some Debian junk if I remember correctly.
let g:changelog_username = $EMAIL_ADDRESS
else else
" Get the users login name " Get the users login name.
let login = system('whoami') let login = system('whoami')
if v:shell_error if v:shell_error
let login = 'unknown' let login = 'unknown'
@ -58,43 +66,42 @@ if &filetype == "changelog"
endif endif
endif endif
" Try to full name from gecos field in /etc/passwd " Try to get the full name from gecos field in /etc/passwd.
if filereadable('/etc/passwd') if filereadable('/etc/passwd')
let name = substitute( for line in readfile('/etc/passwd')
\system('cat /etc/passwd | grep ^`whoami`'), if line =~ '^' . login
\'^\%([^:]*:\)\{4}\([^:]*\):.*$', '\1', '') let name = substitute(line,'^\%([^:]*:\)\{4}\([^:]*\):.*$','\1','')
endif " Only keep stuff before the first comma.
" If there is no such file, or there was some other problem try
" others
if !filereadable('/etc/passwd') || v:shell_error
" Maybe the environment has something of interest
if exists("$NAME")
let name = $NAME
else
" No? well, use the login name and capitalize first
" character
let name = toupper(login[0]) . strpart(login, 1)
endif
endif
" Only keep stuff before the first comma
let comma = stridx(name, ',') let comma = stridx(name, ',')
if comma != -1 if comma != -1
let name = strpart(name, 0, comma) let name = strpart(name, 0, comma)
endif endif
" And substitute & in the real name with the login of our user.
" And substitute & in the real name with the login of our user
let amp = stridx(name, '&') let amp = stridx(name, '&')
if amp != -1 if amp != -1
let name = strpart(name, 0, amp) . toupper(login[0]) . let name = strpart(name, 0, amp) . toupper(login[0]) .
\ strpart(login, 1) . strpart(name, amp + 1) \ strpart(login, 1) . strpart(name, amp + 1)
endif endif
endif
endfor
endif
" Get our hostname " If we haven't found a name, try to gather it from other places.
let hostname = system("hostname") if !exists('name')
" Maybe the environment has something of interest.
if exists("$NAME")
let name = $NAME
else
" No? well, use the login name and capitalize first
" character.
let name = toupper(login[0]) . strpart(login, 1)
endif
endif
" Get our hostname.
let hostname = system('hostname')
if v:shell_error if v:shell_error
let hostname = 'unknownhost' let hostname = 'localhost'
else else
let newline = stridx(hostname, "\n") let newline = stridx(hostname, "\n")
if newline != -1 if newline != -1
@ -102,102 +109,99 @@ if &filetype == "changelog"
endif endif
endif endif
" And finally set the username " And finally set the username.
let g:changelog_username = name . ' <' . login . '@' . hostname . '>' let g:changelog_username = name . ' <' . login . '@' . hostname . '>'
endif endif
endif endif
" Format used for new date-entries " Format used for new date entries.
if !exists("g:changelog_new_date_format") if !exists('g:changelog_new_date_format')
let g:changelog_new_date_format = "%d %u\n\n\t* %c\n\n" let g:changelog_new_date_format = "%d %u\n\n\t* %c\n\n"
endif endif
" Format used for new entries to current date-entry " Format used for new entries to current date entry.
if !exists("g:changelog_new_entry_format") if !exists('g:changelog_new_entry_format')
let g:changelog_new_entry_format = "\t* %c" let g:changelog_new_entry_format = "\t* %c"
endif endif
if !exists("g:changelog_date_entry_search") " Regular expression used to find a given date entry.
if !exists('g:changelog_date_entry_search')
let g:changelog_date_entry_search = '^\s*%d\_s*%u' let g:changelog_date_entry_search = '^\s*%d\_s*%u'
endif endif
" Substitutes specific items in new date-entry formats and search strings " Substitutes specific items in new date-entry formats and search strings.
" Can be done with substitute of course, but unclean, and need \@! then " Can be done with substitute of course, but unclean, and need \@! then.
function! s:substitute_items(str, date, user) function! s:substitute_items(str, date, user)
let str = a:str let str = a:str
let middles = {'%': '%', 'd': a:date, 'u': a:user, 'c': '{cursor}'}
let i = stridx(str, '%') let i = stridx(str, '%')
while i != -1 while i != -1
let char = str[i + 1] let inc = 0
if char == '%' if has_key(middles, str[i + 1])
let middle = '%' let mid = middles[str[i + 1]]
elseif char == 'd' let str = strpart(str, 0, i) . mid . strpart(str, i + 2)
let middle = a:date let inc = strlen(mid)
elseif char == 'u'
let middle = a:user
elseif char == 'c'
let middle = '{cursor}'
else
let middle = char
endif endif
let str = strpart(str, 0, i) . middle . strpart(str, i + 2) let i = stridx(str, '%', i + 1 + inc)
let i = stridx(str, '%')
endwhile endwhile
return str return str
endfunction endfunction
" Position the cursor once we've done all the funky substitution.
function! s:position_cursor() function! s:position_cursor()
if search('{cursor}') > 0 if search('{cursor}') > 0
let pos = line('.') let lnum = line('.')
let line = getline(pos) let line = getline(lnum)
let cursor = stridx(line, '{cursor}') let cursor = stridx(line, '{cursor}')
call setline(pos, substitute(line, '{cursor}', '', '')) call setline(lnum, substitute(line, '{cursor}', '', ''))
endif endif
startinsert! startinsert!
endfunction endfunction
" Internal function to create a new entry in the ChangeLog " Internal function to create a new entry in the ChangeLog.
function! s:new_changelog_entry() function! s:new_changelog_entry()
" Deal with 'paste' option " Deal with 'paste' option.
let save_paste = &paste let save_paste = &paste
let &paste = 1 let &paste = 1
1 call cursor(1, 1)
" Look for an entry for today by our user " Look for an entry for today by our user.
let date = strftime(g:changelog_timeformat) let date = strftime(g:changelog_dateformat)
let search = s:substitute_items(g:changelog_date_entry_search, date, let search = s:substitute_items(g:changelog_date_entry_search, date,
\ g:changelog_username) \ g:changelog_username)
if search(search) > 0 if search(search) > 0
" Ok, now we look for the end of the date-entry, and add an entry " Ok, now we look for the end of the date entry, and add an entry.
let pos = nextnonblank(line('.') + 1) call cursor(nextnonblank(line('.') + 1), 1)
let line = getline(pos) if search('^\s*$', 'W') > 0
while line =~ '^\s\+\S\+' let p = line('.') - 1
let pos = pos + 1
let line = getline(pos)
endwhile
let insert = s:substitute_items(g:changelog_new_entry_format,
\'', '')
execute "normal! ".(pos - 1)."Go".insert
execute pos
else else
" Flag for removing empty lines at end of new ChangeLogs let p = line('.')
endif
let ls = split(s:substitute_items(g:changelog_new_entry_format, '', ''),
\ '\n')
call append(p, ls)
call cursor(p + 1, 1)
else
" Flag for removing empty lines at end of new ChangeLogs.
let remove_empty = line('$') == 1 let remove_empty = line('$') == 1
" No entry today, so create a date-user header and insert an entry " No entry today, so create a date-user header and insert an entry.
let todays_entry = s:substitute_items(g:changelog_new_date_format, let todays_entry = s:substitute_items(g:changelog_new_date_format,
\ date, g:changelog_username) \ date, g:changelog_username)
" Make sure we have a cursor positioning " Make sure we have a cursor positioning.
if stridx(todays_entry, '{cursor}') == -1 if stridx(todays_entry, '{cursor}') == -1
let todays_entry = todays_entry . '{cursor}' let todays_entry = todays_entry . '{cursor}'
endif endif
" Now do the work " Now do the work.
execute "normal! i".todays_entry call append(0, split(todays_entry, '\n'))
" Remove empty lines at end of file.
if remove_empty if remove_empty
while getline('$') == '' $-/^\s*$/-1,$delete
$delete
endwhile
endif endif
1 " Reposition cursor once we're done.
call cursor(1, 1)
endif endif
call s:position_cursor() call s:position_cursor()
@ -211,16 +215,18 @@ if &filetype == "changelog"
command! -nargs=0 NewChangelogEntry call s:new_changelog_entry() command! -nargs=0 NewChangelogEntry call s:new_changelog_entry()
endif endif
let b:undo_ftplugin = "setl com< tw< fo< et< ai<" let b:undo_ftplugin = "setl com< fo< et< ai<"
if &textwidth == 0
setlocal textwidth=78
endif
setlocal comments= setlocal comments=
setlocal formatoptions+=t setlocal formatoptions+=t
setlocal noexpandtab setlocal noexpandtab
setlocal autoindent setlocal autoindent
if &textwidth == 0
setlocal textwidth=78
let b:undo_ftplugin .= " tw<"
endif
let &cpo = s:cpo_save let &cpo = s:cpo_save
unlet s:cpo_save unlet s:cpo_save
else else
@ -228,23 +234,20 @@ else
nmap <silent> <Leader>o :call <SID>open_changelog()<CR> nmap <silent> <Leader>o :call <SID>open_changelog()<CR>
function! s:open_changelog() function! s:open_changelog()
if filereadable('ChangeLog') if !filereadable('ChangeLog')
if bufloaded('ChangeLog') return
endif
let buf = bufnr('ChangeLog') let buf = bufnr('ChangeLog')
execute "normal! \<C-W>t" if buf != -1
while winbufnr(winnr()) != buf if bufwinnr(buf) != -1
execute "normal! \<C-W>w" execute buf . 'wincmd w'
endwhile else
execute 'bsplit' buf
endif
else else
split ChangeLog split ChangeLog
endif endif
if exists("g:mapleader") call s:new_changelog_entry()
execute "normal " . g:mapleader . "o"
else
execute "normal \\o"
endif
startinsert!
endif
endfunction endfunction
endif endif

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: generic configuration file " Language: generic configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: ConTeXt typesetting engine " Language: ConTeXt typesetting engine
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
@ -13,7 +13,7 @@ set cpo&vim
let b:undo_ftplugin = "setl com< cms< def< inc< sua< fo<" let b:undo_ftplugin = "setl com< cms< def< inc< sua< fo<"
setlocal comments=:%,b:%D,b:%C,b:%M commentstring=%\ %s formatoptions+=tcroql setlocal comments=b:%D,b:%C,b:%M,:% commentstring=%\ %s formatoptions+=tcroql
let &l:define='\\\%([egx]\|char\|mathchar\|count\|dimen\|muskip\|skip\|toks\)\=' let &l:define='\\\%([egx]\|char\|mathchar\|count\|dimen\|muskip\|skip\|toks\)\='
\ . 'def\|\\font\|\\\%(future\)\=let' \ . 'def\|\\font\|\\\%(future\)\=let'

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: CRM114 " Language: CRM114
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: CSS " Language: CSS
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: cvs(1) RC file " Language: cvs(1) RC file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: dict(1) configuration file " Language: dict(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-30 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: dictd(8) configuration file " Language: dictd(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-01 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: dircolors(1) input file " Language: dircolors(1) input file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: elinks(1) configuration file " Language: elinks(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: eterm(1) configuration file " Language: eterm(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: fetchmail(1) RC File " Language: fetchmail(1) RC File
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: gpg(1) configuration file " Language: gpg(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: group(5) user group file " Language: group(5) user group file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: grub(8) configuration file " Language: grub(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Haskell " Language: Haskell
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Vim help file " Language: Vim help file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: indent(1) configuration file " Language: indent(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: ld(1) script " Language: ld(1) script
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: lftp(1) configuration file " Language: lftp(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: libao.conf(5) configuration file " Language: libao.conf(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: limits(5) configuration file " Language: limits(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: login.access(5) configuration file " Language: login.access(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: login.defs(5) configuration file " Language: login.defs(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: m4 " Language: m4
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Mailcap configuration file " Language: Mailcap configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: man.conf(5) - man configuration file " Language: man.conf(5) - man configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-30 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: MetaFont " Language: MetaFont
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: modules.conf(5) configuration file " Language: modules.conf(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: MetaPost " Language: MetaPost
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: mplayer(1) configuration file " Language: mplayer(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: mutt RC File " Language: mutt RC File
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: nanorc(5) - GNU nano configuration file " Language: nanorc(5) - GNU nano configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-30 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: netrc(5) configuration file " Language: netrc(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: pam(8) configuration file " Language: pam(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: passwd(5) password file " Language: passwd(5) password file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: pinfo(1) configuration file " Language: pinfo(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: procmail(1) configuration file " Language: procmail(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Prolog " Language: Prolog
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: protocols(5) - Internet protocols definition file " Language: protocols(5) - Internet protocols definition file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-30 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Quake[1-3] configuration file " Language: Quake[1-3] configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Racc input file " Language: Racc input file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: readline(3) configuration file " Language: readline(3) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Relax NG compact syntax " Language: Relax NG compact syntax
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: reStructuredText documentation format " Language: reStructuredText documentation format
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: screen(1) configuration file " Language: screen(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: sensors.conf(5) - libsensors configuration file " Language: sensors.conf(5) - libsensors configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: services(5) - Internet network services list " Language: services(5) - Internet network services list
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-30 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: setserial(8) configuration file " Language: setserial(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Sieve filtering language input file " Language: Sieve filtering language input file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: RFC 2614 - An API for Service Location configuration file " Language: RFC 2614 - An API for Service Location configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: RFC 2614 - An API for Service Location registration file " Language: RFC 2614 - An API for Service Location registration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: RFC 2614 - An API for Service Location SPI file " Language: RFC 2614 - An API for Service Location SPI file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: OpenSSH client configuration file " Language: OpenSSH client configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: sudoers(5) configuration files " Language: sudoers(5) configuration files
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: sysctl.conf(5) configuration file " Language: sysctl.conf(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: terminfo(5) definition " Language: terminfo(5) definition
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: udev(8) configuration file " Language: udev(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-01 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: udev(8) permissions file " Language: udev(8) permissions file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-01 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: udev(8) rules file " Language: udev(8) rules file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-01 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: updatedb.conf(5) configuration file " Language: updatedb.conf(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: X resources files like ~/.Xdefaults (xrdb) " Language: X resources files like ~/.Xdefaults (xrdb)
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: XFree86 Configuration File " Language: XFree86 Configuration File
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: xinetd.conf(5) configuration file " Language: xinetd.conf(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: xmodmap(1) definition file " Language: xmodmap(1) definition file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: YAML (YAML Ain't Markup Language) " Language: YAML (YAML Ain't Markup Language)
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Zsh shell script " Language: Zsh shell script
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-04 " Latest Revision: 2006-04-19
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish

View File

@ -1,7 +1,7 @@
" Vim indent file " Vim indent file
" Language: automake " Language: automake
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2006-04-19
if exists("b:did_indent") if exists("b:did_indent")
finish finish

View File

@ -56,7 +56,7 @@ fun! CMakeGetIndent(lnum)
\ or . '[^()\\#"]' . or . '\\.' . '\)*' \ or . '[^()\\#"]' . or . '\\.' . '\)*'
let cmake_indent_comment_line = '^\s*' . cmake_regex_comment let cmake_indent_comment_line = '^\s*' . cmake_regex_comment
let cmake_indent_blank_regex = '^\s*$') let cmake_indent_blank_regex = '^\s*$'
let cmake_indent_open_regex = '^\s*' . cmake_regex_identifier . let cmake_indent_open_regex = '^\s*' . cmake_regex_identifier .
\ '\s*(' . cmake_regex_arguments . \ '\s*(' . cmake_regex_arguments .
\ '\(' . cmake_regex_comment . '\)\?$' \ '\(' . cmake_regex_comment . '\)\?$'
@ -65,8 +65,8 @@ fun! CMakeGetIndent(lnum)
\ ')\s*' . \ ')\s*' .
\ '\(' . cmake_regex_comment . '\)\?$' \ '\(' . cmake_regex_comment . '\)\?$'
let cmake_indent_begin_regex = '^\s*\(IF\|MACRO\|FOREACH\|ELSE\)\s*(' let cmake_indent_begin_regex = '^\s*\(IF\|MACRO\|FOREACH\|ELSE\|WHILE\)\s*('
let cmake_indent_end_regex = '^\s*\(ENDIF\|ENDFOREACH\|ENDMACRO\|ELSE\)\s*(' let cmake_indent_end_regex = '^\s*\(ENDIF\|ENDFOREACH\|ENDMACRO\|ELSE\|ENDWHILE\)\s*('
" Add " Add
if previous_line =~? cmake_indent_comment_line " Handle comments if previous_line =~? cmake_indent_comment_line " Handle comments

View File

@ -1,7 +1,7 @@
" Vim indent file " Vim indent file
" Language: Autoconf configure.{ac,in} file " Language: Autoconf configure.{ac,in} file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2006-02-11 " Latest Revision: 2006-04-19
" TODO: how about nested [()]'s in one line " TODO: how about nested [()]'s in one line
" what's wrong with '\\\@!'? " what's wrong with '\\\@!'?

View File

@ -1,7 +1,7 @@
" Vim indent file " Vim indent file
" Language: CSS " Language: CSS
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-30 " Latest Revision: 2006-04-19
if exists("b:did_indent") if exists("b:did_indent")
finish finish

View File

@ -1,7 +1,7 @@
" Vim indent file " Vim indent file
" Language: dict(1) configuration file " Language: dict(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-06-30 " Latest Revision: 2006-04-19
if exists("b:did_indent") if exists("b:did_indent")
finish finish

View File

@ -1,7 +1,7 @@
" Vim indent file " Vim indent file
" Language: dictd(8) configuration file " Language: dictd(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2005-07-01 " Latest Revision: 2006-04-19
if exists("b:did_indent") if exists("b:did_indent")
finish finish

Some files were not shown because too many files have changed in this diff Show More