mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0102
This commit is contained in:
parent
7d1f5dbc0a
commit
0dc065ee7c
1
Filelist
1
Filelist
@ -699,6 +699,7 @@ LANG_SRC = \
|
||||
src/po/README_mvc.txt \
|
||||
src/po/cleanup.vim \
|
||||
src/po/Makefile \
|
||||
src/po/Make_cyg.mak \
|
||||
src/po/Make_ming.mak \
|
||||
src/po/Make_mvc.mak \
|
||||
src/po/sjiscorr.c \
|
||||
|
@ -8,16 +8,12 @@ if exists("current_compiler")
|
||||
endif
|
||||
let current_compiler = "bdf"
|
||||
|
||||
if exists(":CompilerSet") != 2
|
||||
command -nargs=* CompilerSet setlocal <args>
|
||||
endif
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
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^,
|
||||
\%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt,
|
||||
\%-G%.%#
|
||||
|
@ -8,14 +8,10 @@ if exists("current_compiler")
|
||||
endif
|
||||
let current_compiler = "gcc"
|
||||
|
||||
if exists(":CompilerSet") != 2
|
||||
command -nargs=* CompilerSet setlocal <args>
|
||||
endif
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo-=C
|
||||
|
||||
CompilerSet errorformat=
|
||||
setlocal errorformat=
|
||||
\%*[^\"]\"%f\"%*\\D%l:\ %m,
|
||||
\\"%f\"%*\\D%l:\ %m,
|
||||
\%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
|
||||
|
@ -8,14 +8,10 @@ if exists("current_compiler")
|
||||
endif
|
||||
let current_compiler = "rst"
|
||||
|
||||
if exists(":CompilerSet") != 2
|
||||
command -nargs=* CompilerSet setlocal <args>
|
||||
endif
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo-=C
|
||||
|
||||
CompilerSet errorformat=
|
||||
setlocal errorformat=
|
||||
\%f:%l:\ (%tEBUG/0)\ %m,
|
||||
\%f:%l:\ (%tNFO/1)\ %m,
|
||||
\%f:%l:\ (%tARNING/2)\ %m,
|
||||
|
@ -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
|
||||
@ -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'.
|
||||
|
||||
*'spellcapcheck'* *'spc'*
|
||||
'spellcapcheck' 'spc' string (default "[.?!][])'" \t\n]\+")
|
||||
'spellcapcheck' 'spc' string (default "[.?!]\_[\])'" \t]\+")
|
||||
local to buffer
|
||||
{not in Vi}
|
||||
{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|.
|
||||
When this check is not wanted make this option empty.
|
||||
Only used when 'spell' is set.
|
||||
Be careful with special characters, see |option-backslash| about
|
||||
including spaces and backslashes.
|
||||
|
||||
*'spellfile'* *'spf'*
|
||||
'spellfile' 'spf' string (default empty)
|
||||
|
@ -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
|
||||
@ -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
|
||||
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*
|
||||
@ -488,6 +490,10 @@ Example:
|
||||
Campbell/?3 rare word in region 3 "gb"
|
||||
'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
|
||||
|
||||
@ -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.
|
||||
Example (assuming that = was used for KEP):
|
||||
|
||||
word list matches does not match ~
|
||||
's morgens/= 's morgens 'S morgens 's Morgens
|
||||
's Morgens 's Morgens 'S morgens 's morgens
|
||||
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
|
||||
|
||||
The flag can also be used to avoid that the word matches when it is in all
|
||||
upper-case letters.
|
||||
|
||||
*spell-affix-mbyte*
|
||||
The basic word list is normally in an 8-bit encoding, which is mentioned in
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim support file to detect file types
|
||||
"
|
||||
" 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
|
||||
if exists("did_load_filetypes")
|
||||
@ -71,6 +71,9 @@ endfun
|
||||
" A-A-P recipe
|
||||
au BufNewFile,BufRead *.aap setf aap
|
||||
|
||||
" A2ps printing utility
|
||||
au BufNewFile,BufRead etc/a2ps.cfg,etc/a2ps/*.cfg,a2psrc,.a2psrc setf a2ps
|
||||
|
||||
" ABAB/4
|
||||
au BufNewFile,BufRead *.abap setf abap
|
||||
|
||||
@ -451,6 +454,12 @@ au BufNewFile,BufRead *.d setf d
|
||||
" Desktop files
|
||||
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
|
||||
au BufNewFile,BufRead *.diff,*.rej,*.patch setf diff
|
||||
|
||||
@ -600,6 +609,9 @@ au BufNewFile,BufRead *.groovy setf groovy
|
||||
" GNU Server Pages
|
||||
au BufNewFile,BufRead *.gsp setf gsp
|
||||
|
||||
" Group file
|
||||
au BufNewFile,BufRead /etc/group setf group
|
||||
|
||||
" GTK RC
|
||||
au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc
|
||||
|
||||
@ -672,6 +684,9 @@ au BufNewFile,BufRead */.icewm/menu setf icemenu
|
||||
" IDL (Interactive Data Language)
|
||||
au BufNewFile,BufRead *.pro setf idlang
|
||||
|
||||
" Indent RC
|
||||
au BufNewFile,BufRead indentrc setf indentrc
|
||||
|
||||
" Inform
|
||||
au BufNewFile,BufRead .indent.pro setf indent
|
||||
|
||||
@ -754,6 +769,9 @@ au BufNewFile,BufRead *.lex,*.l setf lex
|
||||
" Libao
|
||||
au BufNewFile,BufRead /etc/libao.conf,*/.libao setf libao
|
||||
|
||||
" Libsensors
|
||||
au BufNewFile,BufRead /etc/sensors.conf setf sensors
|
||||
|
||||
" LFTP
|
||||
au BufNewFile,BufRead lftp.conf,.lftprc,*lftp/rc setf lftp
|
||||
|
||||
@ -819,6 +837,9 @@ au BufNewFile,BufRead *.ist,*.mst setf ist
|
||||
" Manpage
|
||||
au BufNewFile,BufRead *.man setf man
|
||||
|
||||
" Man config
|
||||
au BufNewFile,BufRead /etc/man.conf setf manconf
|
||||
|
||||
" Maple V
|
||||
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*,*/.mutt/muttrc* call s:StarSetf('muttrc')
|
||||
|
||||
" Nano
|
||||
au BufNewFile,BufRead /etc/nanorc,.nanorc setf nanorc
|
||||
|
||||
" Nastran input/DMAP
|
||||
"au BufNewFile,BufRead *.dat setf nastran
|
||||
|
||||
@ -1014,6 +1038,9 @@ au BufNewFile,BufRead /etc/pam.conf setf pamconf
|
||||
" 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)
|
||||
au BufNewFile,BufRead *.pas setf pascal
|
||||
|
||||
@ -1225,6 +1252,9 @@ au BufNewFile,BufRead INDEX,INFO
|
||||
" Prolog
|
||||
au BufNewFile,BufRead *.pdb setf prolog
|
||||
|
||||
" Protocols
|
||||
au BufNewFile,BufRead /etc/protocols setf protocols
|
||||
|
||||
" 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
|
||||
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
|
||||
au BufNewFile,BufRead *.sgm,*.sgml
|
||||
\ 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
|
||||
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
|
||||
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
|
||||
au BufNewFile,BufRead *.ts,*.ui setf xml
|
||||
|
||||
" Xdg menus
|
||||
au BufNewFile,BufRead /etc/xdg/menus/*.menu setf xml
|
||||
|
||||
" XSD
|
||||
au BufNewFile,BufRead *.xsd setf xsd
|
||||
|
||||
@ -1851,6 +1911,9 @@ au! BufNewFile,BufRead *jarg*
|
||||
" Makefile
|
||||
au BufNewFile,BufRead [mM]akefile* call s:StarSetf('make')
|
||||
|
||||
" Modconf
|
||||
au BufNewFile,BufRead /etc/modprobe.* call s:StarSetf('modconf')
|
||||
|
||||
" Ruby Makefile
|
||||
au BufNewFile,BufRead [rR]akefile* call s:StarSetf('ruby')
|
||||
|
||||
|
14
runtime/ftplugin/a2ps.vim
Normal file
14
runtime/ftplugin/a2ps.vim
Normal 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
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: alsaconf(8) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: GNU Arch inventory file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: BDF font definition
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-22
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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 formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: calendar(1) input file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
let b:undo_ftplugin = "setl com< cms< inc< fo<"
|
||||
|
||||
setlocal comments=s1:/*,mb:*,ex:*/ commentstring& include&
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: generic configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: ConTeXt typesetting engine
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
@ -11,9 +11,9 @@ let b:did_ftplugin = 1
|
||||
let s:cpo_save = &cpo
|
||||
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\)\='
|
||||
\ . 'def\|\\font\|\\\%(future\)\=let'
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: CRM114
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,15 +1,16 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: CSS
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
let b:undo_ftplugin = "setl com< cms< inc< fo<"
|
||||
|
||||
setlocal comments=s1:/*,mb:*,ex:*/ commentstring&
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
||||
let &l:include = '^\s*@import\s\+\%(url(\)\='
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: cvs(1) RC file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
13
runtime/ftplugin/dictconf.vim
Normal file
13
runtime/ftplugin/dictconf.vim
Normal 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
|
13
runtime/ftplugin/dictdconf.vim
Normal file
13
runtime/ftplugin/dictdconf.vim
Normal 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
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: dircolors(1) input file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: elinks(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: eterm(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
let b:undo_ftplugin = "setl com< cms< inc< fo<"
|
||||
|
||||
setlocal comments=:# commentstring=#\ %s include=^\\s*include
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: fetchmail(1) RC File
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: gpg(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
13
runtime/ftplugin/group.vim
Normal file
13
runtime/ftplugin/group.vim
Normal 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
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: grub(8) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Haskell
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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 formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: indent(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: ld(1) script
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
let b:undo_ftplugin = "setl com< cms< inc< fo<"
|
||||
|
||||
setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*%s*/ include=^\\s*INCLUDE
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: lftp(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: libao.conf(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: limits(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: login.access(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: login.defs(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: m4
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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 formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Mailcap configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
13
runtime/ftplugin/manconf.vim
Normal file
13
runtime/ftplugin/manconf.vim
Normal 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
|
@ -1,16 +1,14 @@
|
||||
" Vim filetype plugin
|
||||
" Language: METAFONT
|
||||
" Maintainer: Dorai Sitaram <ds26@gte.com>
|
||||
" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
|
||||
" Last Change: May 27, 2003
|
||||
" Vim filetype plugin file
|
||||
" Language: MetaFont
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
" Only do this when not done yet for this buffer
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Don't load another plugin for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setl com=:%
|
||||
setl fo-=t
|
||||
let b:undo_ftplugin = "setl com< cms< fo<"
|
||||
|
||||
setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: modules.conf(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
let b:undo_ftplugin = "setl com< cms< inc< fo<"
|
||||
|
||||
setlocal comments=:# commentstring=#\ %s include=^\\s*include
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,7 +1,22 @@
|
||||
" Vim filetype plugin
|
||||
" Language: MetaPost
|
||||
" Maintainer: Dorai Sitaram <ds26@gte.com>
|
||||
" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
|
||||
" Last Change: May 27, 2003
|
||||
" Vim filetype plugin file
|
||||
" Language: MetaPost
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: mplayer(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
let b:undo_ftplugin = "setl com< cms< inc< fo<"
|
||||
|
||||
setlocal comments=:# commentstring=#\ %s include=^\\s*include
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,15 +1,16 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: mutt RC File
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
let b:undo_ftplugin = "setl com< cms< inc< fo<"
|
||||
|
||||
setlocal comments=:# commentstring=#\ %s
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
||||
let &l:include = '^\s*source\>'
|
||||
|
13
runtime/ftplugin/nanorc.vim
Normal file
13
runtime/ftplugin/nanorc.vim
Normal 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
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: netrc(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: pam(8) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
13
runtime/ftplugin/passwd.vim
Normal file
13
runtime/ftplugin/passwd.vim
Normal 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
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: pinfo(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,15 +1,15 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: procmail(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
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\>'
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Prolog
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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 formatoptions-=t formatoptions+=croql
|
||||
|
13
runtime/ftplugin/protocols.vim
Normal file
13
runtime/ftplugin/protocols.vim
Normal 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
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Quake[1-3] configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Racc input file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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 formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: readline(3) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Relax NG compact syntax
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: reStructuredText documentation format
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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 formatoptions+=tcroql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: screen(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
13
runtime/ftplugin/sensors.vim
Normal file
13
runtime/ftplugin/sensors.vim
Normal 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
|
13
runtime/ftplugin/services.vim
Normal file
13
runtime/ftplugin/services.vim
Normal 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
|
13
runtime/ftplugin/setserial.vim
Normal file
13
runtime/ftplugin/setserial.vim
Normal 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
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Sieve filtering language input file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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 formatoptions-=t formatoptions+=croql
|
||||
|
14
runtime/ftplugin/slpconf.vim
Normal file
14
runtime/ftplugin/slpconf.vim
Normal 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
|
14
runtime/ftplugin/slpreg.vim
Normal file
14
runtime/ftplugin/slpreg.vim
Normal 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
|
14
runtime/ftplugin/slpspi.vim
Normal file
14
runtime/ftplugin/slpspi.vim
Normal 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
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: OpenSSH client configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: sudoers(5) configuration files
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: sysctl.conf(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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 formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: terminfo(5) definition
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
13
runtime/ftplugin/udevconf.vim
Normal file
13
runtime/ftplugin/udevconf.vim
Normal 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
|
13
runtime/ftplugin/udevperm.vim
Normal file
13
runtime/ftplugin/udevperm.vim
Normal 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
|
13
runtime/ftplugin/udevrules.vim
Normal file
13
runtime/ftplugin/udevrules.vim
Normal 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
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: updatedb.conf(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: X resources files like ~/.Xdefaults (xrdb)
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
let b:undo_ftplugin = "setl com< cms< inc< fo<"
|
||||
|
||||
setlocal comments=s1:/*,mb:*,ex:*/,:! commentstring& inc&
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: XFree86 Configuration File
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: xinetd.conf(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" 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<"
|
||||
let b:undo_ftplugin = "setl com< cms< inc< fo<"
|
||||
|
||||
setlocal comments=:# commentstring=#\ %s include=^\\s*include
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: xmodmap(1) definition file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,13 +1,14 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: YAML (YAML Ain't Markup Language)
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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 formatoptions-=t formatoptions+=croql
|
||||
|
@ -1,13 +1,13 @@
|
||||
" Vim filetype plugin file
|
||||
" Language: Zsh shell script
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
endif
|
||||
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
|
||||
|
@ -1,8 +1,7 @@
|
||||
" Vim indent file
|
||||
" Language: Autoconf configure.{ac,in} file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" URL: http://www.pcppopper.org/vim/indent/pcp/config/
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-06-30
|
||||
" TODO: how about nested [()]'s in one line
|
||||
" what's wrong with '\\\@!'?
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim indent file
|
||||
" Language: CSS
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Language: CSS
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-30
|
||||
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
@ -15,39 +15,68 @@ if exists("*GetCSSIndent")
|
||||
finish
|
||||
endif
|
||||
|
||||
function s:LookupLine(lnum)
|
||||
let lnum = prevnonblank(a:lnum - 1)
|
||||
while lnum > 0
|
||||
function s:prevnonblanknoncomment(lnum)
|
||||
let lnum = a:lnum
|
||||
while lnum > 1
|
||||
let lnum = prevnonblank(lnum)
|
||||
let line = getline(lnum)
|
||||
|
||||
if line =~ '\*/'
|
||||
while lnum > 0 && line !~ '/\*'
|
||||
while lnum > 1 && line !~ '/\*'
|
||||
let lnum -= 1
|
||||
let line = getline(lnum)
|
||||
endwhile
|
||||
if line =~ '^\s*/\*'
|
||||
let lnum -= 1
|
||||
else
|
||||
break
|
||||
endif
|
||||
else
|
||||
break
|
||||
endif
|
||||
|
||||
if line !~ '^\s*/\*'
|
||||
return lnum
|
||||
end
|
||||
endwhile
|
||||
return lnum
|
||||
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()
|
||||
let lnum = prevnonblank(v:lnum - 1)
|
||||
if lnum == 0
|
||||
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
|
||||
return 0
|
||||
endif
|
||||
|
||||
let ind = indent(lnum)
|
||||
let ind = indent(pnum) + s:count_braces(pnum, 1) * &sw
|
||||
|
||||
if substitute(getline(lnum), '/\*.*', '', 'e') =~ '{\(.*}\)\@!'
|
||||
let ind = ind + &sw
|
||||
endif
|
||||
|
||||
if getline(v:lnum) =~ '^\s*}'
|
||||
let ind = ind - &sw
|
||||
let pline = getline(pnum)
|
||||
if pline =~ '}\s*$'
|
||||
let ind -= (s:count_braces(pnum, 0) - (pline =~ '^\s*}' ? 1 : 0)) * &sw
|
||||
endif
|
||||
|
||||
return ind
|
||||
|
12
runtime/indent/dictconf.vim
Normal file
12
runtime/indent/dictconf.vim
Normal 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#
|
12
runtime/indent/dictdconf.vim
Normal file
12
runtime/indent/dictdconf.vim
Normal 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#
|
@ -1,7 +1,7 @@
|
||||
" Vim indent file
|
||||
" Language: ld(1) script
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-06-30
|
||||
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
@ -15,6 +15,27 @@ if exists("*GetLDIndent")
|
||||
finish
|
||||
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)
|
||||
let n_open = 0
|
||||
let n_close = 0
|
||||
@ -39,11 +60,24 @@ function s:count_braces(lnum, count_open)
|
||||
endfunction
|
||||
|
||||
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
|
||||
return 0
|
||||
endif
|
||||
|
||||
return indent(pnum) + s:count_braces(pnum, 1) * &sw
|
||||
\ - s:count_braces(v:lnum, 0) * &sw
|
||||
let ind = indent(pnum) + s:count_braces(pnum, 1) * &sw
|
||||
|
||||
let pline = getline(pnum)
|
||||
if pline =~ '}\s*$'
|
||||
let ind -= (s:count_braces(pnum, 0) - (pline =~ '^\s*}' ? 1 : 0)) * &sw
|
||||
endif
|
||||
|
||||
return ind
|
||||
endfunction
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim indent file
|
||||
" Language: Tcl
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Language: Tcl
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-30
|
||||
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
@ -31,10 +31,10 @@ function s:count_braces(lnum, count_open)
|
||||
let n_open = 0
|
||||
let n_close = 0
|
||||
let line = getline(a:lnum)
|
||||
let pattern = '\\\@<![{}]'
|
||||
let pattern = '[{}]'
|
||||
let i = match(line, pattern)
|
||||
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] == '{'
|
||||
let n_open += 1
|
||||
elseif line[i] == '}'
|
||||
@ -51,20 +51,24 @@ function s:count_braces(lnum, count_open)
|
||||
endfunction
|
||||
|
||||
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)
|
||||
if pnum == 0
|
||||
return 0
|
||||
endif
|
||||
|
||||
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
|
||||
|
||||
let pnum = s:prevnonblanknoncomment(pnum - 1)
|
||||
if pnum > 0 && getline(pnum) =~ '\\$'
|
||||
let ind -= &sw
|
||||
endif
|
||||
|
||||
return ind - s:count_braces(v:lnum, 0) * &sw
|
||||
return ind
|
||||
endfunction
|
||||
|
@ -1,19 +1,22 @@
|
||||
*** fr_FR.orig.aff Sun Apr 14 17:18:22 2002
|
||||
--- fr_FR.aff Mon Jun 27 19:42:54 2005
|
||||
*** fr_FR.orig.aff Sun Jul 3 19:34:20 2005
|
||||
--- fr_FR.aff Sun Jul 3 20:09:20 2005
|
||||
***************
|
||||
*** 3,4 ****
|
||||
--- 3,10 ----
|
||||
--- 3,13 ----
|
||||
|
||||
+ FOL 珀矣粤肄蓍裨跋鈿韵鴦<E99FB5><E9B4A6>巐鄕<E5B790><E98495><EFBFBD>
|
||||
+ LOW 珀矣粤肄蓍裨跋鈿韵鴦<E99FB5><E9B4A6>巐鄕<E5B790><E98495><EFBFBD>
|
||||
+ UPP 請唾津毒班碧麺力佰厶壞嶷掣桀毳<E6A180><E6AFB3>
|
||||
+
|
||||
+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ珮粤蒟跚韜<E8B79A><E99F9C>ⅰ<EFBFBD><E285B0><EFBFBD><EFBFBD><EFBFBD>髙<EFBFBD><E9AB99>゚<EFBFBD>タチツテトナニヌネノハヒフヘホマミムメモヤユヨリルレロワン゙ソ
|
||||
+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep?
|
||||
+
|
||||
+ MIDWORD '
|
||||
+
|
||||
PFX A Y 10
|
||||
***************
|
||||
*** 691,692 ****
|
||||
--- 697,709 ----
|
||||
--- 700,712 ----
|
||||
|
||||
+
|
||||
+ MAP 5
|
||||
|
71
runtime/syntax/a2ps.vim
Normal file
71
runtime/syntax/a2ps.vim
Normal 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
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: alsaconf(8) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -12,21 +12,19 @@ set cpo&vim
|
||||
|
||||
syn keyword alsoconfTodo contained FIXME TODO XXX NOTE
|
||||
|
||||
syn region alsaconfComment matchgroup=alsaconfComment
|
||||
syn region alsaconfComment display oneline
|
||||
\ start='#' end='$'
|
||||
\ contains=alsaconfTodo,@Spell
|
||||
|
||||
syn match alsaconfSpecialChar contained display '\\[ntvbrf]'
|
||||
syn match alsaconfSpecialChar contained display '\\\o\+'
|
||||
|
||||
syn region alsaconfString matchgroup=alsaconfString
|
||||
\ start=+"+ skip=+\\$+ end=+"+ end=+$+
|
||||
syn region alsaconfString start=+"+ skip=+\\$+ end=+"\|$+
|
||||
\ contains=alsaconfSpecialChar
|
||||
|
||||
syn match alsaconfSpecial contained display 'confdir:'
|
||||
|
||||
syn region alsaconfPreProc matchgroup=alsaconfPreProc start='<' end='>'
|
||||
\ contains=alsaconfSpecial
|
||||
syn region alsaconfPreProc start='<' end='>' contains=alsaconfSpecial
|
||||
|
||||
syn match alsaconfMode display '[+?!-]'
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: GNU Arch inventory file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -14,19 +14,25 @@ setlocal iskeyword=@,48-57,_,-
|
||||
|
||||
syn keyword archTodo TODO FIXME XXX NOTE
|
||||
|
||||
syn region archComment display matchgroup=archComment
|
||||
\ start='^\%(#\|\s\)' end='$' contains=archTodo,@Spell
|
||||
syn region archComment display start='^\%(#\|\s\)' end='$'
|
||||
\ contains=archTodo,@Spell
|
||||
|
||||
syn keyword archKeyword implicit tagline explicit names
|
||||
syn keyword archKeyword untagged-source
|
||||
syn keyword archKeyword exclude junk backup precious unrecognized source
|
||||
\ skipwhite nextgroup=archRegex
|
||||
syn match argBegin display '^' nextgroup=archKeyword,archComment
|
||||
|
||||
syn keyword archKeyword contained implicit tagline explicit names
|
||||
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.*'
|
||||
|
||||
hi def link archTodo Todo
|
||||
hi def link archComment Comment
|
||||
hi def link archKeyword Keyword
|
||||
hi def link archTMethod Type
|
||||
hi def link archRegex String
|
||||
|
||||
let b:current_syntax = "arch"
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: calendar(1) input file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -12,8 +12,7 @@ set cpo&vim
|
||||
|
||||
syn keyword calendarTodo contained TODO FIXME XXX NOTE
|
||||
|
||||
syn region calendarComment matchgroup=calendarComment
|
||||
\ start='/\*' end='\*/'
|
||||
syn region calendarComment start='/\*' end='\*/'
|
||||
\ contains=calendarTodo,@Spell
|
||||
|
||||
syn region calendarCppString start=+L\="+ skip=+\\\\\|\\"\|\\$+ excludenl
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: ConTeXt typesetting engine
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -12,10 +12,10 @@ set cpo&vim
|
||||
|
||||
syn keyword contextTodo TODO FIXME XXX NOTE
|
||||
|
||||
syn region contextComment display oneline matchgroup=contextComment
|
||||
\ start='%' end='$' contains=contextTodo
|
||||
syn region contextComment display oneline matchgroup=contextComment
|
||||
\ start='^\s*%[CDM]' end='$' contains=ALL
|
||||
syn region contextComment display oneline start='%' end='$'
|
||||
\ contains=contextTodo
|
||||
syn region contextComment display oneline start='^\s*%[CDM]' end='$'
|
||||
\ contains=ALL
|
||||
|
||||
syn match contextStatement display '\\[a-zA-Z@]\+' contains=@NoSpell
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: CRM114
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-27
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -12,7 +12,7 @@ set cpo&vim
|
||||
|
||||
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
|
||||
|
||||
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 liaf match output syscall trap union window
|
||||
|
||||
syn region crmRegex matchgroup=crmRegex start='/' skip='\\/' end='/'
|
||||
\ contains=crmVariable
|
||||
syn region crmRegex start='/' skip='\\/' end='/' contains=crmVariable
|
||||
|
||||
syn match crmLabel display '^\s*:[[:graph:]]\+:'
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: cvs(1) RC file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -10,8 +10,8 @@ endif
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
syn region cvsrcString display start=+"+ skip=+\\\\\|\\\\"+ end=+"\|$+
|
||||
syn region cvsrcString display start=+'+ skip=+\\\\\|\\\\'+ end=+'\|$+
|
||||
syn region cvsrcString display oneline start=+"+ skip=+\\\\\|\\\\"+ end=+"+
|
||||
syn region cvsrcString display oneline start=+'+ skip=+\\\\\|\\\\'+ end=+'+
|
||||
|
||||
syn match cvsrcNumber display '\<\d\+\>'
|
||||
|
||||
|
80
runtime/syntax/dictconf.vim
Normal file
80
runtime/syntax/dictconf.vim
Normal 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
|
146
runtime/syntax/dictdconf.vim
Normal file
146
runtime/syntax/dictdconf.vim
Normal 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
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: elinks(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-27
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -14,13 +14,13 @@ setlocal iskeyword=@,48-57,_,-
|
||||
|
||||
syn keyword elinksTodo contained TODO FIXME XXX NOTE
|
||||
|
||||
syn region elinksComment matchgroup=elinksComment start='#' end='$'
|
||||
\ contains=elinksTodo
|
||||
syn region elinksComment display oneline start='#' end='$'
|
||||
\ contains=elinksTodo,@Spell
|
||||
|
||||
syn match elinksNumber '\<\d\+\>'
|
||||
|
||||
syn region elinksString matchgroup=elinksString start=+"+
|
||||
\ skip=+\\\\\|\\"+ end=+"+ contains=@elinksColor
|
||||
syn region elinksString start=+"+ skip=+\\\\\|\\"+ end=+"+
|
||||
\ contains=@elinksColor
|
||||
|
||||
syn keyword elinksKeyword set bind
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: eterm(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -12,10 +12,10 @@ set cpo&vim
|
||||
|
||||
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
|
||||
|
||||
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}\)\>'
|
||||
|
||||
@ -169,7 +169,8 @@ syn match etermImageContrast contained display '\<\(\d\+\|0x\x\{1,2}\)\>'
|
||||
syn match etermImageGamma contained display '\<\(\d\+\|0x\x\{1,2}\)\>'
|
||||
\ nextgroup=etermImageGamma skipwhite
|
||||
|
||||
syn region etermImageOptions contained matchgroup=etermImageOptions
|
||||
syn region etermImageOptions contained display oneline
|
||||
\ matchgroup=etermImageOptions
|
||||
\ start='border\|bevel\%(\s\+\%(up\|down\)\)\|padding'
|
||||
\ end='$' contains=etermNumber
|
||||
|
||||
|
52
runtime/syntax/group.vim
Normal file
52
runtime/syntax/group.vim
Normal 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
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: indent(1) configuration file
|
||||
" 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
|
||||
"
|
||||
" 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 region indentComment matchgroup=indentComment
|
||||
\ start='/\*' end='\*/'
|
||||
syn region indentComment start='/\*' end='\*/'
|
||||
\ contains=indentTodo,@Spell
|
||||
syn region indentComment matchgroup=indentComment
|
||||
\ start='//' skip='\\$' end='$'
|
||||
syn region indentComment start='//' skip='\\$' end='$'
|
||||
\ contains=indentTodo,@Spell
|
||||
|
||||
syn keyword indentOptions -bacc --blank-lines-after-ifdefs
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: lftp(1) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-27
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -12,8 +12,8 @@ set cpo&vim
|
||||
|
||||
setlocal iskeyword=@,48-57,-
|
||||
|
||||
syn region lftpComment display oneline matchgroup=lftpComment
|
||||
\ start='#' end='$' contains=lftpTodo,@Spell
|
||||
syn region lftpComment display oneline start='#' end='$'
|
||||
\ contains=lftpTodo,@Spell
|
||||
|
||||
syn keyword lftpTodo contained TODO FIXME XXX NOTE
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: libao.conf(5) configuration file
|
||||
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
|
||||
" Latest Revision: 2005-06-29
|
||||
" Latest Revision: 2005-07-04
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@ -12,7 +12,7 @@ set cpo&vim
|
||||
|
||||
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
|
||||
|
||||
syn keyword libaoKeyword default_driver
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user