0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0102

This commit is contained in:
Bram Moolenaar
2005-07-04 22:49:24 +00:00
parent 7d1f5dbc0a
commit 0dc065ee7c
139 changed files with 3051 additions and 418 deletions

View File

@@ -699,6 +699,7 @@ LANG_SRC = \
src/po/README_mvc.txt \ src/po/README_mvc.txt \
src/po/cleanup.vim \ src/po/cleanup.vim \
src/po/Makefile \ src/po/Makefile \
src/po/Make_cyg.mak \
src/po/Make_ming.mak \ src/po/Make_ming.mak \
src/po/Make_mvc.mak \ src/po/Make_mvc.mak \
src/po/sjiscorr.c \ src/po/sjiscorr.c \

View File

@@ -8,16 +8,12 @@ if exists("current_compiler")
endif endif
let current_compiler = "bdf" let current_compiler = "bdf"
if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
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

@@ -8,14 +8,10 @@ if exists("current_compiler")
endif endif
let current_compiler = "gcc" let current_compiler = "gcc"
if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo let s:cpo_save = &cpo
set cpo-=C set cpo-=C
CompilerSet errorformat= setlocal errorformat=
\%*[^\"]\"%f\"%*\\D%l:\ %m, \%*[^\"]\"%f\"%*\\D%l:\ %m,
\\"%f\"%*\\D%l:\ %m, \\"%f\"%*\\D%l:\ %m,
\%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once, \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,

View File

@@ -8,14 +8,10 @@ if exists("current_compiler")
endif endif
let current_compiler = "rst" let current_compiler = "rst"
if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
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 @@
*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 02 *options.txt* For Vim version 7.0aa. Last change: 2005 Jul 04
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5642,7 +5642,7 @@ A jump table for the options with a short description can be found at |Q_op|.
The languages are specified with 'spelllang'. The languages are specified with 'spelllang'.
*'spellcapcheck'* *'spc'* *'spellcapcheck'* *'spc'*
'spellcapcheck' 'spc' string (default "[.?!][])'" \t\n]\+") 'spellcapcheck' 'spc' string (default "[.?!]\_[\])'" \t]\+")
local to buffer local to buffer
{not in Vi} {not in Vi}
{not available when compiled without the |+syntax| {not available when compiled without the |+syntax|
@@ -5652,6 +5652,8 @@ A jump table for the options with a short description can be found at |Q_op|.
with SpellCap |hl-SpellCap|. with SpellCap |hl-SpellCap|.
When this check is not wanted make this option empty. When this check is not wanted make this option empty.
Only used when 'spell' is set. Only used when 'spell' is set.
Be careful with special characters, see |option-backslash| about
including spaces and backslashes.
*'spellfile'* *'spf'* *'spellfile'* *'spf'*
'spellfile' 'spf' string (default empty) 'spellfile' 'spf' string (default empty)

View File

@@ -1,4 +1,4 @@
*spell.txt* For Vim version 7.0aa. Last change: 2005 Jul 03 *spell.txt* For Vim version 7.0aa. Last change: 2005 Jul 04
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -181,7 +181,9 @@ Always use lowercase letters for the language and region names.
When adding a word with |zg| or another command it's always added for all When adding a word with |zg| or another command it's always added for all
regions. You can change that by manually editing the 'spellfile'. See regions. You can change that by manually editing the 'spellfile'. See
|spell-wordlist-format|. |spell-wordlist-format|. Note that the regions as specified in the files in
'spellfile' are only used when all entries in "spelllang" specify the same
region (not counting files specified by their .spl name).
SPELL FILES *spell-load* SPELL FILES *spell-load*
@@ -488,6 +490,10 @@ Example:
Campbell/?3 rare word in region 3 "gb" Campbell/?3 rare word in region 3 "gb"
's mornings/= keep-case word 's mornings/= keep-case word
Note that when "/=" is used the same word with all upper-case letters is not
accepted. This is different from a word with mixed case that is automatically
marked as keep-case, those words may appear in all upper-case letters.
FORMAT WITH AFFIX COMPRESSION FORMAT WITH AFFIX COMPRESSION
@@ -571,9 +577,12 @@ affix file. This has the meaning that case matters. This can be used if the
word does not have the first letter in upper case at the start of a sentence. word does not have the first letter in upper case at the start of a sentence.
Example (assuming that = was used for KEP): Example (assuming that = was used for KEP):
word list matches does not match ~ word list matches does not match ~
's morgens/= 's morgens 'S morgens 's Morgens 's morgens/= 's morgens 'S morgens 's Morgens 'S MORGENS
's Morgens 's Morgens 'S morgens 's morgens 's Morgens 's Morgens 'S MORGENS 'S morgens 's morgens
The flag can also be used to avoid that the word matches when it is in all
upper-case letters.
*spell-affix-mbyte* *spell-affix-mbyte*
The basic word list is normally in an 8-bit encoding, which is mentioned in The basic word list is normally in an 8-bit encoding, which is mentioned in

View File

@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jul 03 *todo.txt* For Vim version 7.0aa. Last change: 2005 Jul 04
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

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: 2005 Jun 30 " Last Change: 2005 Jul 04
" 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")
@@ -71,6 +71,9 @@ endfun
" A-A-P recipe " A-A-P recipe
au BufNewFile,BufRead *.aap setf aap au BufNewFile,BufRead *.aap setf aap
" A2ps printing utility
au BufNewFile,BufRead etc/a2ps.cfg,etc/a2ps/*.cfg,a2psrc,.a2psrc setf a2ps
" ABAB/4 " ABAB/4
au BufNewFile,BufRead *.abap setf abap au BufNewFile,BufRead *.abap setf abap
@@ -451,6 +454,12 @@ au BufNewFile,BufRead *.d setf d
" Desktop files " Desktop files
au BufNewFile,BufRead *.desktop,.directory setf desktop au BufNewFile,BufRead *.desktop,.directory setf desktop
" Dict config
au BufNewFile,BufRead dict.conf,.dictrc setf dictconf
" Dictd config
au BufNewFile,BufRead dictd.conf setf dictdconf
" Diff files " Diff files
au BufNewFile,BufRead *.diff,*.rej,*.patch setf diff au BufNewFile,BufRead *.diff,*.rej,*.patch setf diff
@@ -600,6 +609,9 @@ au BufNewFile,BufRead *.groovy setf groovy
" GNU Server Pages " GNU Server Pages
au BufNewFile,BufRead *.gsp setf gsp au BufNewFile,BufRead *.gsp setf gsp
" Group file
au BufNewFile,BufRead /etc/group setf group
" GTK RC " GTK RC
au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc
@@ -672,6 +684,9 @@ au BufNewFile,BufRead */.icewm/menu setf icemenu
" IDL (Interactive Data Language) " IDL (Interactive Data Language)
au BufNewFile,BufRead *.pro setf idlang au BufNewFile,BufRead *.pro setf idlang
" Indent RC
au BufNewFile,BufRead indentrc setf indentrc
" Inform " Inform
au BufNewFile,BufRead .indent.pro setf indent au BufNewFile,BufRead .indent.pro setf indent
@@ -754,6 +769,9 @@ au BufNewFile,BufRead *.lex,*.l setf lex
" Libao " Libao
au BufNewFile,BufRead /etc/libao.conf,*/.libao setf libao au BufNewFile,BufRead /etc/libao.conf,*/.libao setf libao
" Libsensors
au BufNewFile,BufRead /etc/sensors.conf setf sensors
" LFTP " LFTP
au BufNewFile,BufRead lftp.conf,.lftprc,*lftp/rc setf lftp au BufNewFile,BufRead lftp.conf,.lftprc,*lftp/rc setf lftp
@@ -819,6 +837,9 @@ au BufNewFile,BufRead *.ist,*.mst setf ist
" Manpage " Manpage
au BufNewFile,BufRead *.man setf man au BufNewFile,BufRead *.man setf man
" Man config
au BufNewFile,BufRead /etc/man.conf setf manconf
" Maple V " Maple V
au BufNewFile,BufRead *.mv,*.mpl,*.mws setf maple au BufNewFile,BufRead *.mv,*.mpl,*.mws setf maple
@@ -935,6 +956,9 @@ au BufNewFile,BufRead *.mush setf mush
au BufNewFile,BufRead Muttrc setf muttrc au BufNewFile,BufRead Muttrc setf muttrc
au BufNewFile,BufRead .muttrc*,*/.mutt/muttrc* call s:StarSetf('muttrc') au BufNewFile,BufRead .muttrc*,*/.mutt/muttrc* call s:StarSetf('muttrc')
" Nano
au BufNewFile,BufRead /etc/nanorc,.nanorc setf nanorc
" Nastran input/DMAP " Nastran input/DMAP
"au BufNewFile,BufRead *.dat setf nastran "au BufNewFile,BufRead *.dat setf nastran
@@ -1014,6 +1038,9 @@ au BufNewFile,BufRead /etc/pam.conf setf pamconf
" PApp " PApp
au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp
" Password file
au BufNewFile,BufRead /etc/passwd,/etc/shadow,/etc/shadow- setf passwd
" Pascal (also *.p) " Pascal (also *.p)
au BufNewFile,BufRead *.pas setf pascal au BufNewFile,BufRead *.pas setf pascal
@@ -1225,6 +1252,9 @@ au BufNewFile,BufRead INDEX,INFO
" Prolog " Prolog
au BufNewFile,BufRead *.pdb setf prolog au BufNewFile,BufRead *.pdb setf prolog
" Protocols
au BufNewFile,BufRead /etc/protocols setf protocols
" Pyrex " Pyrex
au BufNewFile,BufRead *.pyx,*.pxd setf pyrex au BufNewFile,BufRead *.pyx,*.pxd setf pyrex
@@ -1344,6 +1374,21 @@ au BufNewFile,BufRead sendmail.cf setf sm
" Sendmail .mc files are actually m4 " Sendmail .mc files are actually m4
au BufNewFile,BufRead *.mc setf m4 au BufNewFile,BufRead *.mc setf m4
" Services
au BufNewFile,BufRead /etc/services setf services
" Service Location config
au BufNewFile,BufRead /etc/slp.conf setf slpconf
" Service Location registration
au BufNewFile,BufRead /etc/slp.reg setf slpreg
" Service Location SPI
au BufNewFile,BufRead /etc/slp.spi setf slpspi
" Setserial config
au BufNewFile,BufRead /etc/serial.conf setf setserial
" SGML " SGML
au BufNewFile,BufRead *.sgm,*.sgml au BufNewFile,BufRead *.sgm,*.sgml
\ if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'linuxdoc' | \ if getline(1).getline(2).getline(3).getline(4).getline(5) =~? 'linuxdoc' |
@@ -1634,6 +1679,18 @@ au BufNewFile,BufReadPost *.tsscl setf tsscl
" Motif UIT/UIL files " Motif UIT/UIL files
au BufNewFile,BufRead *.uit,*.uil setf uil au BufNewFile,BufRead *.uit,*.uil setf uil
" Udev conf
au BufNewFile,BufRead /etc/udev/udev.conf setf udevconf
" Udev rules
au BufNewFile,BufRead /etc/udev/rules.d/*.rules setf udevrules
" Udev permissions
au BufNewFile,BufRead /etc/udev/permissions.d/*.permissions setf udevperm
"
" Udev symlinks config
au BufNewFile,BufRead /etc/udev/cdsymlinks.conf setf sh
" UnrealScript " UnrealScript
au BufNewFile,BufRead *.uc setf uc au BufNewFile,BufRead *.uc setf uc
@@ -1752,6 +1809,9 @@ au BufNewFile,BufRead *.csproj,*.csproj.user setf xml
" Qt Linguist translation source and Qt User Interface Files are XML " Qt Linguist translation source and Qt User Interface Files are XML
au BufNewFile,BufRead *.ts,*.ui setf xml au BufNewFile,BufRead *.ts,*.ui setf xml
" Xdg menus
au BufNewFile,BufRead /etc/xdg/menus/*.menu setf xml
" XSD " XSD
au BufNewFile,BufRead *.xsd setf xsd au BufNewFile,BufRead *.xsd setf xsd
@@ -1851,6 +1911,9 @@ au! BufNewFile,BufRead *jarg*
" Makefile " Makefile
au BufNewFile,BufRead [mM]akefile* call s:StarSetf('make') au BufNewFile,BufRead [mM]akefile* call s:StarSetf('make')
" Modconf
au BufNewFile,BufRead /etc/modprobe.* call s:StarSetf('modconf')
" Ruby Makefile " Ruby Makefile
au BufNewFile,BufRead [rR]akefile* call s:StarSetf('ruby') au BufNewFile,BufRead [rR]akefile* call s:StarSetf('ruby')

14
runtime/ftplugin/a2ps.vim Normal file
View File

@@ -0,0 +1,14 @@
" Vim filetype plugin file
" Language: a2ps(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-04
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=:# commentstring=#\ %s include=^\\s*Include:
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-22 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=b:COMMENT commentstring=COMMENT\ %s setlocal comments=b:COMMENT commentstring=COMMENT\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=s1:/*,mb:*,ex:*/ commentstring& include& setlocal comments=s1:/*,mb:*,ex:*/ commentstring& include&
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
@@ -11,9 +11,9 @@ let b:did_ftplugin = 1
let s:cpo_save = &cpo let s:cpo_save = &cpo
set cpo&vim set cpo&vim
let b:undo_ftplugin = "setl com< cms< def< inc< sua<" let b:undo_ftplugin = "setl com< cms< def< inc< sua< fo<"
setlocal comments=:%,b:%D,b:%C,b:%M commentstring=%\ %s 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,13 +1,13 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: CRM114 " Language: CRM114
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,15 +1,16 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: CSS " Language: CSS
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=s1:/*,mb:*,ex:*/ commentstring& setlocal comments=s1:/*,mb:*,ex:*/ commentstring&
setlocal formatoptions-=t formatoptions+=croql
let &l:include = '^\s*@import\s\+\%(url(\)\=' let &l:include = '^\s*@import\s\+\%(url(\)\='

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments= commentstring= setlocal comments= commentstring= formatoptions-=tcroql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: dict(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-30
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: dictd(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-01
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=:# commentstring=#\ %s include=^\\s*include setlocal comments=:# commentstring=#\ %s include=^\\s*include
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: group(5) user group file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-04
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Haskell " Language: Haskell
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_plugin = "setl com< cms<" let b:undo_plugin = "setl com< cms< fo<"
setlocal comments=s1fl:{-,mb:-,ex:-},:-- commentstring=--\ %s setlocal comments=s1fl:{-,mb:-,ex:-},:-- commentstring=--\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=s1:/*,mb:*,ex:*/ setlocal comments=s1:/*,mb:*,ex:*/ commentstring&
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*%s*/ include=^\\s*INCLUDE setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*%s*/ include=^\\s*INCLUDE
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: m4 " Language: m4
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:#,:dnl commentstring=dnl\ %s setlocal comments=:#,:dnl commentstring=dnl\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
set comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: man.conf(5) - man configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-30
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,16 +1,14 @@
" Vim filetype plugin " Vim filetype plugin file
" Language: METAFONT " Language: MetaFont
" Maintainer: Dorai Sitaram <ds26@gte.com> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html " Latest Revision: 2005-07-04
" Last Change: May 27, 2003
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
" Don't load another plugin for this buffer
let b:did_ftplugin = 1 let b:did_ftplugin = 1
setl com=:% let b:undo_ftplugin = "setl com< cms< fo<"
setl fo-=t
setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=:# commentstring=#\ %s include=^\\s*include setlocal comments=:# commentstring=#\ %s include=^\\s*include
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,7 +1,22 @@
" Vim filetype plugin " Vim filetype plugin file
" Language: MetaPost " Language: MetaPost
" Maintainer: Dorai Sitaram <ds26@gte.com> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html " Latest Revision: 2005-07-04
" Last Change: May 27, 2003
runtime! ftplugin/mf.vim ftplugin/mf_*.vim ftplugin/mf/*.vim if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql
if !exists(":FixBeginfigs") != 2
command -nargs=0 FixBeginfigs call s:fix_beginfigs()
function! s:fix_beginfigs()
let i = 1
g/^beginfig(\d*);$/s//\='beginfig('.i.');'/ | let i = i + 1
endfunction
endif

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=:# commentstring=#\ %s include=^\\s*include setlocal comments=:# commentstring=#\ %s include=^\\s*include
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,15 +1,16 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql
let &l:include = '^\s*source\>' let &l:include = '^\s*source\>'

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: nanorc(5) - GNU nano configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-30
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments= commentstring= setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: passwd(5) password file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-04
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,15 +1,15 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
let &l:include = '^\s*INCLUDERC\>' let &l:include = '^\s*INCLUDERC\>'

View File

@@ -1,13 +1,14 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Prolog " Language: Prolog
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=s1:/*,mb:*,ex:*/,:% commentstring=%\ %s setlocal comments=s1:/*,mb:*,ex:*/,:% commentstring=%\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: protocols(5) - Internet protocols definition file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-30
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:// commentstring=//\ %s setlocal comments=:// commentstring=//\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s setlocal comments=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< et<" let b:undo_ftplugin = "setl com< cms< et< fo<"
setlocal comments=fb:.. commentstring=..\ %s expandtab setlocal comments=fb:.. commentstring=..\ %s expandtab
setlocal formatoptions+=tcroql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: sensors.conf(5) - libsensors configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-04
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: services(5) - Internet network services list
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-30
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: setserial(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-04
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s setlocal comments=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,14 @@
" Vim filetype plugin file
" Language: RFC 2614 - An API for Service Location configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-04
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:#,:; commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,14 @@
" Vim filetype plugin file
" Language: RFC 2614 - An API for Service Location registration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-04
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:#,:; commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,14 @@
" Vim filetype plugin file
" Language: RFC 2614 - An API for Service Location SPI file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-04
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:#,:; commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_plugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:;,:# commentstring=#\ %s setlocal comments=:;,:# commentstring=#\ %s
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: udev(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-01
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: udev(8) permissions file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-01
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -0,0 +1,13 @@
" Vim filetype plugin file
" Language: udev(8) rules file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-01
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_plugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=s1:/*,mb:*,ex:*/,:! commentstring& inc& setlocal comments=s1:/*,mb:*,ex:*/,:! commentstring& inc&
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< inc<" let b:undo_ftplugin = "setl com< cms< inc< fo<"
setlocal comments=:# commentstring=#\ %s include=^\\s*include setlocal comments=:# commentstring=#\ %s include=^\\s*include
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=:! commentstring=!\ %s setlocal comments=:! commentstring=!\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,14 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms< et<" let b:undo_ftplugin = "setl com< cms< et< fo<"
setlocal comments=:# commentstring=#\ %s expandtab setlocal comments=:# commentstring=#\ %s expandtab
setlocal formatoptions-=t formatoptions+=croql

View File

@@ -1,13 +1,13 @@
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let b:did_ftplugin = 1 let b:did_ftplugin = 1
let b:undo_ftplugin = "setl com< cms<" let b:undo_ftplugin = "setl com< cms< fo<"
setlocal comments=b:# commentstring=#\ %s setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql

View File

@@ -1,8 +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 <nikolai+work.vim@bitwi.se>
" URL: http://www.pcppopper.org/vim/indent/pcp/config/ " Latest Revision: 2005-06-30
" Latest Revision: 2005-06-29
" 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 <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-06-30
if exists("b:did_indent") if exists("b:did_indent")
finish finish
@@ -15,39 +15,68 @@ if exists("*GetCSSIndent")
finish finish
endif endif
function s:LookupLine(lnum) function s:prevnonblanknoncomment(lnum)
let lnum = prevnonblank(a:lnum - 1) let lnum = a:lnum
while lnum > 0 while lnum > 1
let lnum = prevnonblank(lnum)
let line = getline(lnum) let line = getline(lnum)
if line =~ '\*/' if line =~ '\*/'
while lnum > 0 && line !~ '/\*' while lnum > 1 && line !~ '/\*'
let lnum -= 1 let lnum -= 1
let line = getline(lnum)
endwhile endwhile
if line =~ '^\s*/\*'
let lnum -= 1
else
break
endif
else
break
endif endif
if line !~ '^\s*/\*'
return lnum
end
endwhile endwhile
return lnum return lnum
endfunction endfunction
function s:count_braces(lnum, count_open)
let n_open = 0
let n_close = 0
let line = getline(a:lnum)
let pattern = '[{}]'
let i = match(line, pattern)
while i != -1
if synIDattr(synID(a:lnum, i + 1, 0), 'name') !~ 'css\%(Comment\|StringQ\{1,2}\)'
if line[i] == '{'
let n_open += 1
elseif line[i] == '}'
if n_open > 0
let n_open -= 1
else
let n_close += 1
endif
endif
endif
let i = match(line, pattern, i + 1)
endwhile
return a:count_open ? n_open : n_close
endfunction
function GetCSSIndent() function GetCSSIndent()
let lnum = prevnonblank(v:lnum - 1) let line = getline(v:lnum)
if lnum == 0 if line =~ '^\s*\*'
return cindent(v:lnum)
elseif line =~ '^\s*}'
return indent(v:lnum) - &sw
endif
let pnum = s:prevnonblanknoncomment(v:lnum - 1)
if pnum == 0
return 0 return 0
endif endif
let ind = indent(lnum) let ind = indent(pnum) + s:count_braces(pnum, 1) * &sw
if substitute(getline(lnum), '/\*.*', '', 'e') =~ '{\(.*}\)\@!' let pline = getline(pnum)
let ind = ind + &sw if pline =~ '}\s*$'
endif let ind -= (s:count_braces(pnum, 0) - (pline =~ '^\s*}' ? 1 : 0)) * &sw
if getline(v:lnum) =~ '^\s*}'
let ind = ind - &sw
endif endif
return ind return ind

View File

@@ -0,0 +1,12 @@
" Vim indent file
" Language: dict(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-30
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
inoremap <buffer> # X#

View File

@@ -0,0 +1,12 @@
" Vim indent file
" Language: dictd(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-01
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
inoremap <buffer> # X#

View File

@@ -1,7 +1,7 @@
" Vim indent file " Vim indent file
" Language: ld(1) script " Language: ld(1) script
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-06-30
if exists("b:did_indent") if exists("b:did_indent")
finish finish
@@ -15,6 +15,27 @@ if exists("*GetLDIndent")
finish finish
endif endif
function s:prevnonblanknoncomment(lnum)
let lnum = a:lnum
while lnum > 1
let lnum = prevnonblank(lnum)
let line = getline(lnum)
if line =~ '\*/'
while lnum > 1 && line !~ '/\*'
let lnum -= 1
endwhile
if line =~ '^\s*/\*'
let lnum -= 1
else
break
endif
else
break
endif
endwhile
return lnum
endfunction
function s:count_braces(lnum, count_open) function s:count_braces(lnum, count_open)
let n_open = 0 let n_open = 0
let n_close = 0 let n_close = 0
@@ -39,11 +60,24 @@ function s:count_braces(lnum, count_open)
endfunction endfunction
function GetLDIndent() function GetLDIndent()
let pnum = prevnonblank(v:lnum - 1) let line = getline(v:lnum)
if line =~ '^\s*\*'
return cindent(v:lnum)
elseif line =~ '^\s*}'
return indent(v:lnum) - &sw
endif
let pnum = s:prevnonblanknoncomment(v:lnum - 1)
if pnum == 0 if pnum == 0
return 0 return 0
endif endif
return indent(pnum) + s:count_braces(pnum, 1) * &sw let ind = indent(pnum) + s:count_braces(pnum, 1) * &sw
\ - s:count_braces(v:lnum, 0) * &sw
let pline = getline(pnum)
if pline =~ '}\s*$'
let ind -= (s:count_braces(pnum, 0) - (pline =~ '^\s*}' ? 1 : 0)) * &sw
endif
return ind
endfunction endfunction

View File

@@ -1,7 +1,7 @@
" Vim indent file " Vim indent file
" Language: Tcl " Language: Tcl
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-06-30
if exists("b:did_indent") if exists("b:did_indent")
finish finish
@@ -31,10 +31,10 @@ function s:count_braces(lnum, count_open)
let n_open = 0 let n_open = 0
let n_close = 0 let n_close = 0
let line = getline(a:lnum) let line = getline(a:lnum)
let pattern = '\\\@<![{}]' let pattern = '[{}]'
let i = match(line, pattern) let i = match(line, pattern)
while i != -1 while i != -1
if synIDattr(synID(a:lnum, i + 1, 1), 'name') !~ 'tcl\%(Comment\|String\)' if synIDattr(synID(a:lnum, i + 1, 0), 'name') !~ 'tcl\%(Comment\|String\)'
if line[i] == '{' if line[i] == '{'
let n_open += 1 let n_open += 1
elseif line[i] == '}' elseif line[i] == '}'
@@ -51,20 +51,24 @@ function s:count_braces(lnum, count_open)
endfunction endfunction
function GetTclIndent() function GetTclIndent()
let line = getline(v:lnum)
if line =~ '^\s*\*'
return cindent(v:lnum)
elseif line =~ '^\s*}'
return indent(v:lnum) - &sw
endif
let pnum = s:prevnonblanknoncomment(v:lnum - 1) let pnum = s:prevnonblanknoncomment(v:lnum - 1)
if pnum == 0 if pnum == 0
return 0 return 0
endif endif
let ind = indent(pnum) + s:count_braces(pnum, 1) * &sw let ind = indent(pnum) + s:count_braces(pnum, 1) * &sw
if getline(pnum) =~ '\\$'
let ind += &sw let pline = getline(pnum)
if pline =~ '}\s*$'
let ind -= (s:count_braces(pnum, 0) - (pline =~ '^\s*}' ? 1 : 0)) * &sw
endif endif
let pnum = s:prevnonblanknoncomment(pnum - 1) return ind
if pnum > 0 && getline(pnum) =~ '\\$'
let ind -= &sw
endif
return ind - s:count_braces(v:lnum, 0) * &sw
endfunction endfunction

View File

@@ -1,19 +1,22 @@
*** fr_FR.orig.aff Sun Apr 14 17:18:22 2002 *** fr_FR.orig.aff Sun Jul 3 19:34:20 2005
--- fr_FR.aff Mon Jun 27 19:42:54 2005 --- fr_FR.aff Sun Jul 3 20:09:20 2005
*************** ***************
*** 3,4 **** *** 3,4 ****
--- 3,10 ---- --- 3,13 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> + FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> + LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> + UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ +
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ<59><5A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޿
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
+
+ MIDWORD ' + MIDWORD '
+ +
PFX A Y 10 PFX A Y 10
*************** ***************
*** 691,692 **** *** 691,692 ****
--- 697,709 ---- --- 700,712 ----
+ +
+ MAP 5 + MAP 5

71
runtime/syntax/a2ps.vim Normal file
View File

@@ -0,0 +1,71 @@
" Vim syntax file
" Language: a2ps(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-30
if exists("b:current_syntax")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
syn keyword a2psPreProc Include
\ nextgroup=a2psKeywordColon
syn keyword a2psMacro UserOption
\ nextgroup=a2psKeywordColon
syn keyword a2psKeyword LibraryPath AppendLibraryPath PrependLibraryPath
\ Options Medium Printer UnknownPrinter
\ DefaultPrinter OutputFirstLine
\ PageLabelFormat Delegation FileCommand
\ nextgroup=a2psKeywordColon
syn match a2psKeywordColon contained display ':'
syn keyword a2psKeyword Variable nextgroup=a2psVariableColon
syn match a2psVariableColon contained display ':'
\ nextgroup=a2psVariable skipwhite
syn match a2psVariable contained display '[^ \t:(){}]\+'
\ contains=a2psVarPrefix
syn match a2psVarPrefix contained display
\ '\<\%(del\|pro\|ps\|pl\|toc\|user\|\)\ze\.'
syn match a2psLineCont display '\\$'
syn match a2psSubst display '$\%(-\=.\=\d\+\)\=\h\d\='
syn match a2psSubst display '#[?!]\=\w\d\='
syn match a2psSubst display '#{[^}]\+}'
syn region a2psString display oneline start=+'+ end=+'+
\ contains=a2psSubst
syn region a2psString display oneline start=+"+ end=+"+
\ contains=a2psSubst
syn keyword a2psTodo contained TODO FIXME XXX NOTE
syn region a2psComment display oneline start='^\s*#' end='$'
\ contains=a2psTodo,@Spell
hi def link a2psTodo Todo
hi def link a2psComment Comment
hi def link a2psPreProc PreProc
hi def link a2psMacro Macro
hi def link a2psKeyword Keyword
hi def link a2psKeywordColon Delimiter
hi def link a2psVariableColon Delimiter
hi def link a2psVariable Identifier
hi def link a2psVarPrefix Type
hi def link a2psLineCont Special
hi def link a2psSubst PreProc
hi def link a2psString String
let b:current_syntax = "a2ps"
let &cpo = s:cpo_save
unlet s:cpo_save

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: alsaconf(8) configuration file " Language: alsaconf(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -12,21 +12,19 @@ set cpo&vim
syn keyword alsoconfTodo contained FIXME TODO XXX NOTE syn keyword alsoconfTodo contained FIXME TODO XXX NOTE
syn region alsaconfComment matchgroup=alsaconfComment syn region alsaconfComment display oneline
\ start='#' end='$' \ start='#' end='$'
\ contains=alsaconfTodo,@Spell \ contains=alsaconfTodo,@Spell
syn match alsaconfSpecialChar contained display '\\[ntvbrf]' syn match alsaconfSpecialChar contained display '\\[ntvbrf]'
syn match alsaconfSpecialChar contained display '\\\o\+' syn match alsaconfSpecialChar contained display '\\\o\+'
syn region alsaconfString matchgroup=alsaconfString syn region alsaconfString start=+"+ skip=+\\$+ end=+"\|$+
\ start=+"+ skip=+\\$+ end=+"+ end=+$+
\ contains=alsaconfSpecialChar \ contains=alsaconfSpecialChar
syn match alsaconfSpecial contained display 'confdir:' syn match alsaconfSpecial contained display 'confdir:'
syn region alsaconfPreProc matchgroup=alsaconfPreProc start='<' end='>' syn region alsaconfPreProc start='<' end='>' contains=alsaconfSpecial
\ contains=alsaconfSpecial
syn match alsaconfMode display '[+?!-]' syn match alsaconfMode display '[+?!-]'

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: GNU Arch inventory file " Language: GNU Arch inventory file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -14,19 +14,25 @@ setlocal iskeyword=@,48-57,_,-
syn keyword archTodo TODO FIXME XXX NOTE syn keyword archTodo TODO FIXME XXX NOTE
syn region archComment display matchgroup=archComment syn region archComment display start='^\%(#\|\s\)' end='$'
\ start='^\%(#\|\s\)' end='$' contains=archTodo,@Spell \ contains=archTodo,@Spell
syn keyword archKeyword implicit tagline explicit names syn match argBegin display '^' nextgroup=archKeyword,archComment
syn keyword archKeyword untagged-source
syn keyword archKeyword exclude junk backup precious unrecognized source syn keyword archKeyword contained implicit tagline explicit names
\ skipwhite nextgroup=archRegex syn keyword archKeyword contained untagged-source
\ nextgroup=archTMethod skipwhite
syn keyword archKeyword contained exclude junk backup precious unrecognized
\ source nextgroup=archRegex skipwhite
syn keyword archTMethod contained source precious backup junk unrecognized
syn match archRegex contained '\s*\zs.*' syn match archRegex contained '\s*\zs.*'
hi def link archTodo Todo hi def link archTodo Todo
hi def link archComment Comment hi def link archComment Comment
hi def link archKeyword Keyword hi def link archKeyword Keyword
hi def link archTMethod Type
hi def link archRegex String hi def link archRegex String
let b:current_syntax = "arch" let b:current_syntax = "arch"

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: calendar(1) input file " Language: calendar(1) input file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -12,8 +12,7 @@ set cpo&vim
syn keyword calendarTodo contained TODO FIXME XXX NOTE syn keyword calendarTodo contained TODO FIXME XXX NOTE
syn region calendarComment matchgroup=calendarComment syn region calendarComment start='/\*' end='\*/'
\ start='/\*' end='\*/'
\ contains=calendarTodo,@Spell \ contains=calendarTodo,@Spell
syn region calendarCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl syn region calendarCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: ConTeXt typesetting engine " Language: ConTeXt typesetting engine
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -12,10 +12,10 @@ set cpo&vim
syn keyword contextTodo TODO FIXME XXX NOTE syn keyword contextTodo TODO FIXME XXX NOTE
syn region contextComment display oneline matchgroup=contextComment syn region contextComment display oneline start='%' end='$'
\ start='%' end='$' contains=contextTodo \ contains=contextTodo
syn region contextComment display oneline matchgroup=contextComment syn region contextComment display oneline start='^\s*%[CDM]' end='$'
\ start='^\s*%[CDM]' end='$' contains=ALL \ contains=ALL
syn match contextStatement display '\\[a-zA-Z@]\+' contains=@NoSpell syn match contextStatement display '\\[a-zA-Z@]\+' contains=@NoSpell

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: CRM114 " Language: CRM114
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-27 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -12,7 +12,7 @@ set cpo&vim
syn keyword crmTodo contained TODO FIXME XXX NOTE syn keyword crmTodo contained TODO FIXME XXX NOTE
syn region crmComment matchgroup=crmComment start='#' end='$' end='\\#' syn region crmComment display oneline start='#' end='\\#'
\ contains=crmTodo,@Spell \ contains=crmTodo,@Spell
syn match crmVariable display ':[*#@]:[^:]\{-1,}:' syn match crmVariable display ':[*#@]:[^:]\{-1,}:'
@@ -23,8 +23,7 @@ syn keyword crmStatement insert noop accept alius alter classify eval exit
syn keyword crmStatement fail fault goto hash intersect isolate input learn syn keyword crmStatement fail fault goto hash intersect isolate input learn
syn keyword crmStatement liaf match output syscall trap union window syn keyword crmStatement liaf match output syscall trap union window
syn region crmRegex matchgroup=crmRegex start='/' skip='\\/' end='/' syn region crmRegex start='/' skip='\\/' end='/' contains=crmVariable
\ contains=crmVariable
syn match crmLabel display '^\s*:[[:graph:]]\+:' syn match crmLabel display '^\s*:[[:graph:]]\+:'

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: cvs(1) RC file " Language: cvs(1) RC file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -10,8 +10,8 @@ endif
let s:cpo_save = &cpo let s:cpo_save = &cpo
set cpo&vim set cpo&vim
syn region cvsrcString display start=+"+ skip=+\\\\\|\\\\"+ end=+"\|$+ syn region cvsrcString display oneline start=+"+ skip=+\\\\\|\\\\"+ end=+"+
syn region cvsrcString display start=+'+ skip=+\\\\\|\\\\'+ end=+'\|$+ syn region cvsrcString display oneline start=+'+ skip=+\\\\\|\\\\'+ end=+'+
syn match cvsrcNumber display '\<\d\+\>' syn match cvsrcNumber display '\<\d\+\>'

View File

@@ -0,0 +1,80 @@
" Vim syntax file
" Language: dict(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-30
if exists("b:current_syntax")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
syn keyword dictconfTodo contained TODO FIXME XXX NOTE
syn region dictconfComment display oneline start='#' end='$'
\ contains=dictconfTodo,@Spell
syn match dictconfBegin display '^'
\ nextgroup=dictconfKeyword,dictconfComment
\ skipwhite
syn keyword dictconfKeyword contained server
\ nextgroup=dictconfServer skipwhite
syn keyword dictconfKeyword contained pager
\ nextgroup=dictconfPager
syn match dictconfServer contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
\ nextgroup=dictconfServerOptG skipwhite
syn region dictconfServer contained display oneline
\ start=+"+ skip=+""+ end=+"+
\ nextgroup=dictconfServerOptG skipwhite
syn region dictconfServerOptG contained transparent
\ matchgroup=dictconfServerOptsD start='{'
\ matchgroup=dictconfServerOptsD end='}'
\ contains=dictconfServerOpts,dictconfComment
syn keyword dictconfServerOpts contained port
\ nextgroup=dictconfNumber skipwhite
syn keyword dictconfServerOpts contained user
\ nextgroup=dictconfUsername skipwhite
syn match dictconfUsername contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
\ nextgroup=dictconfSecret skipwhite
syn region dictconfUsername contained display oneline
\ start=+"+ skip=+""+ end=+"+
\ nextgroup=dictconfSecret skipwhite
syn match dictconfSecret contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
syn region dictconfSecret contained display oneline
\ start=+"+ skip=+""+ end=+"+
syn match dictconfNumber contained '\<\d\+\>'
syn match dictconfPager contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
syn region dictconfPager contained display oneline
\ start=+"+ skip=+""+ end=+"+
hi def link dictconfTodo Todo
hi def link dictconfComment Comment
hi def link dictconfKeyword Keyword
hi def link dictconfServer String
hi def link dictconfServerOptsD Delimiter
hi def link dictconfServerOpts Identifier
hi def link dictconfUsername String
hi def link dictconfSecret Special
hi def link dictconfNumber Number
hi def link dictconfPager String
let b:current_syntax = "dictconf"
let &cpo = s:cpo_save
unlet s:cpo_save

View File

@@ -0,0 +1,146 @@
" Vim syntax file
" Language: dictd(8) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-07-01
if exists("b:current_syntax")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
syn keyword dictdconfTodo contained TODO FIXME XXX NOTE
syn region dictdconfComment display oneline start='#' end='$'
\ contains=dictdconfTodo,dictdconfSpecialC,
\ @Spell
syn keyword dictdconfSpecialC LASTLINE
syn match dictdconfBegin display '^'
\ nextgroup=dictdconfKeyword,dictdconfComment
\ skipwhite
syn keyword dictdconfKeyword contained access
\ nextgroup=dictdconfAccessG skipwhite
syn region dictdconfAccessG contained transparent
\ matchgroup=dictdconfDelimiter start='{'
\ matchgroup=dictdconfDelimiter end='}'
\ contains=dictdconfAccess,dictdconfComment
syn keyword dictdconfAccess contained allow deny authonly user
\ nextgroup=dictdconfString skipwhite
syn keyword dictdconfKeyword contained database
\ nextgroup=dictdconfDatabase skipwhite
syn match dictdconfDatabase contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
\ nextgroup=dictdconfSpecG skipwhite
syn region dictdconfDatabase contained display oneline
\ start=+"+ skip=+""\|\\\\\|\\"+ end=+"+
\ nextgroup=dictdconfSpecG skipwhite
syn region dictdconfSpecG contained transparent
\ matchgroup=dictdconfDelimiter start='{'
\ matchgroup=dictdconfDelimiter end='}'
\ contains=dictdconfSpec,dictdconfAccess,
\ dictdconfComment
syn keyword dictdconfSpec contained data index index_suffix index_word
\ filter prefilter postfilter name info
\ disable_strat
\ nextgroup=dictdconfString skipwhite
syn keyword dictdconfSpec contained invisible
syn keyword dictdconfKeyword contained database_virtual
\ nextgroup=dictdconfVDatabase skipwhite
syn match dictdconfVDatabase contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
\ nextgroup=dictdconfVSpecG skipwhite
syn region dictdconfVDatabase contained display oneline
\ start=+"+ skip=+""\|\\\\\|\\"+ end=+"+
\ nextgroup=dictdconfVSpecG skipwhite
syn region dictdconfVSpecG contained transparent
\ matchgroup=dictdconfDelimiter start='{'
\ matchgroup=dictdconfDelimiter end='}'
\ contains=dictdconfVSpec,dictdconfAccess,
\ dictdconfComment
syn keyword dictdconfVSpec contained name info database_list disable_strat
\ nextgroup=dictdconfString skipwhite
syn keyword dictdconfVSpec contained invisible
syn keyword dictdconfKeyword contained database_plugin
\ nextgroup=dictdconfPDatabase skipwhite
syn match dictdconfPDatabase contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
\ nextgroup=dictdconfPSpecG skipwhite
syn region dictdconfPDatabase contained display oneline
\ start=+"+ skip=+""\|\\\\\|\\"+ end=+"+
\ nextgroup=dictdconfPSpecG skipwhite
syn region dictdconfPSpecG contained transparent
\ matchgroup=dictdconfDelimiter start='{'
\ matchgroup=dictdconfDelimiter end='}'
\ contains=dictdconfPSpec,dictdconfAccess,
\ dictdconfComment
syn keyword dictdconfPSpec contained name info plugin data disable_strat
\ nextgroup=dictdconfString skipwhite
syn keyword dictdconfPSpec contained invisible
syn keyword dictdconfKeyword contained database_exit
syn keyword dictdconfKeyword contained site
\ nextgroup=dictdconfString skipwhite
syn keyword dictdconfKeyword contained user
\ nextgroup=dictdconfUsername skipwhite
syn match dictdconfUsername contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
\ nextgroup=dictdconfSecret skipwhite
syn region dictdconfUsername contained display oneline
\ start=+"+ skip=+""+ end=+"+
\ nextgroup=dictdconfSecret skipwhite
syn match dictdconfSecret contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
syn region dictdconfSecret contained display oneline
\ start=+"+ skip=+""+ end=+"+
syn match dictdconfString contained display
\ '[[:alnum:]_/.*-][[:alnum:]_/.*-]*'
syn region dictdconfString contained display oneline
\ start=+"+ skip=+""\|\\\\\|\\"+ end=+"+
hi def link dictdconfTodo Todo
hi def link dictdconfComment Comment
hi def link dictdconfSpecialC Special
hi def link dictdconfKeyword Keyword
hi def link dictdconfIdentifier Identifier
hi def link dictdconfAccess dictdconfIdentifier
hi def link dictdconfDatabase dictdconfString
hi def link dictdconfSpec dictdconfIdentifier
hi def link dictdconfVDatabase dictdconfDatabase
hi def link dictdconfVSpec dictdconfSpec
hi def link dictdconfPDatabase dictdconfDatabase
hi def link dictdconfPSpec dictdconfSpec
hi def link dictdconfUsername dictdconfString
hi def link dictdconfSecret Special
hi def link dictdconfString String
hi def link dictdconfDelimiter Delimiter
let b:current_syntax = "dictdconf"
let &cpo = s:cpo_save
unlet s:cpo_save

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: elinks(1) configuration file " Language: elinks(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-27 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -14,13 +14,13 @@ setlocal iskeyword=@,48-57,_,-
syn keyword elinksTodo contained TODO FIXME XXX NOTE syn keyword elinksTodo contained TODO FIXME XXX NOTE
syn region elinksComment matchgroup=elinksComment start='#' end='$' syn region elinksComment display oneline start='#' end='$'
\ contains=elinksTodo \ contains=elinksTodo,@Spell
syn match elinksNumber '\<\d\+\>' syn match elinksNumber '\<\d\+\>'
syn region elinksString matchgroup=elinksString start=+"+ syn region elinksString start=+"+ skip=+\\\\\|\\"+ end=+"+
\ skip=+\\\\\|\\"+ end=+"+ contains=@elinksColor \ contains=@elinksColor
syn keyword elinksKeyword set bind syn keyword elinksKeyword set bind

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: eterm(1) configuration file " Language: eterm(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -12,10 +12,10 @@ set cpo&vim
syn keyword etermTodo contained TODO FIXME XXX NOTE syn keyword etermTodo contained TODO FIXME XXX NOTE
syn region etermComment matchgroup=etermComment start='^#' end='$' syn region etermComment display oneline start='^#' end='$'
\ contains=etermTodo,@Spell \ contains=etermTodo,@Spell
syn match etermMagic display display '^<Eterm-[0-9.]\+>$' syn match etermMagic display '^<Eterm-[0-9.]\+>$'
syn match etermNumber contained display '\<\(\d\+\|0x\x\{1,2}\)\>' syn match etermNumber contained display '\<\(\d\+\|0x\x\{1,2}\)\>'
@@ -169,7 +169,8 @@ syn match etermImageContrast contained display '\<\(\d\+\|0x\x\{1,2}\)\>'
syn match etermImageGamma contained display '\<\(\d\+\|0x\x\{1,2}\)\>' syn match etermImageGamma contained display '\<\(\d\+\|0x\x\{1,2}\)\>'
\ nextgroup=etermImageGamma skipwhite \ nextgroup=etermImageGamma skipwhite
syn region etermImageOptions contained matchgroup=etermImageOptions syn region etermImageOptions contained display oneline
\ matchgroup=etermImageOptions
\ start='border\|bevel\%(\s\+\%(up\|down\)\)\|padding' \ start='border\|bevel\%(\s\+\%(up\|down\)\)\|padding'
\ end='$' contains=etermNumber \ end='$' contains=etermNumber

52
runtime/syntax/group.vim Normal file
View File

@@ -0,0 +1,52 @@
" Vim syntax file
" Language: group(5) user group file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-30
if exists("b:current_syntax")
finish
endif
let s:cpo_save = &cpo
set cpo&vim
syn match groupBegin display '^' nextgroup=groupName
syn match groupName contained display '[a-z_][a-z0-9_-]\{0,15}'
\ nextgroup=groupPasswordColon
syn match groupPasswordColon contained display ':'
\ nextgroup=groupPassword,groupShadow
syn match groupPassword contained display '[^:]*'
\ nextgroup=groupGIDColon
syn match groupShadow contained display '[x*]' nextgroup=groupGIDColon
syn match groupGIDColon contained display ':' nextgroup=groupGID
syn match groupGID contained display '\d\+'
\ nextgroup=groupUserListColon
syn match groupUserListColon contained display ':' nextgroup=groupUserList
syn match groupUserList contained '[a-z_][a-z0-9_-]*'
\ nextgroup=groupUserListSep
syn match groupUserListSep contained display ',' nextgroup=groupUserList
hi def link groupDelimiter Normal
hi def link groupName Identifier
hi def link groupPasswordColon groupDelimiter
hi def link groupPassword Number
hi def link groupShadow Special
hi def link groupGIDColon groupDelimiter
hi def link groupGID Number
hi def link groupUserListColon groupDelimiter
hi def link groupUserList Identifier
hi def link groupUserListSep groupDelimiter
let b:current_syntax = "group"
let &cpo = s:cpo_save
unlet s:cpo_save

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: indent(1) configuration file " Language: indent(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
" indent_is_bsd: If exists, will change somewhat to match BSD implementation " indent_is_bsd: If exists, will change somewhat to match BSD implementation
" "
" TODO: is the deny-all (a la lilo.vim nice or no?)... " TODO: is the deny-all (a la lilo.vim nice or no?)...
@@ -21,11 +21,9 @@ syn match indentError '\S\+'
syn keyword indentTodo contained TODO FIXME XXX NOTE syn keyword indentTodo contained TODO FIXME XXX NOTE
syn region indentComment matchgroup=indentComment syn region indentComment start='/\*' end='\*/'
\ start='/\*' end='\*/'
\ contains=indentTodo,@Spell \ contains=indentTodo,@Spell
syn region indentComment matchgroup=indentComment syn region indentComment start='//' skip='\\$' end='$'
\ start='//' skip='\\$' end='$'
\ contains=indentTodo,@Spell \ contains=indentTodo,@Spell
syn keyword indentOptions -bacc --blank-lines-after-ifdefs syn keyword indentOptions -bacc --blank-lines-after-ifdefs

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: lftp(1) configuration file " Language: lftp(1) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-27 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -12,8 +12,8 @@ set cpo&vim
setlocal iskeyword=@,48-57,- setlocal iskeyword=@,48-57,-
syn region lftpComment display oneline matchgroup=lftpComment syn region lftpComment display oneline start='#' end='$'
\ start='#' end='$' contains=lftpTodo,@Spell \ contains=lftpTodo,@Spell
syn keyword lftpTodo contained TODO FIXME XXX NOTE syn keyword lftpTodo contained TODO FIXME XXX NOTE

View File

@@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: libao.conf(5) configuration file " Language: libao.conf(5) configuration file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
" Latest Revision: 2005-06-29 " Latest Revision: 2005-07-04
if exists("b:current_syntax") if exists("b:current_syntax")
finish finish
@@ -12,7 +12,7 @@ set cpo&vim
syn keyword libaoTodo contained TODO FIXME XXX NOTE syn keyword libaoTodo contained TODO FIXME XXX NOTE
syn region libaoComment matchgroup=libaoComment start='^\s*#' end='$' syn region libaoComment display oneline start='^\s*#' end='$'
\ contains=libaoTodo,@Spell \ contains=libaoTodo,@Spell
syn keyword libaoKeyword default_driver syn keyword libaoKeyword default_driver

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