├── README.md ├── README.txt ├── arabic.c ├── arabic.h ├── ascii.h ├── buffer.c ├── charset.c ├── diff.c ├── digraph.c ├── edit.c ├── eval.c ├── ex_cmds.c ├── ex_cmds.h ├── ex_cmds2.c ├── ex_docmd.c ├── ex_eval.c ├── ex_getln.c ├── farsi.c ├── farsi.h ├── feature.h ├── fileio.c ├── fold.c ├── getchar.c ├── globals.h ├── gui.c ├── gui.h ├── gui_beval.c ├── gui_beval.h ├── hardcopy.c ├── hashtab.c ├── keymap.h ├── lib └── vimfiles │ ├── autoload │ ├── README.txt │ ├── ada.vim │ ├── adacomplete.vim │ ├── ccomplete.vim │ ├── csscomplete.vim │ ├── decada.vim │ ├── getscript.vim │ ├── gnat.vim │ ├── gzip.vim │ ├── htmlcomplete.vim │ ├── javascriptcomplete.vim │ ├── netrw.vim │ ├── netrwFileHandlers.vim │ ├── netrwSettings.vim │ ├── paste.vim │ ├── phpcomplete.vim │ ├── pythoncomplete.vim │ ├── rubycomplete.vim │ ├── spellfile.vim │ ├── sqlcomplete.vim │ ├── syntaxcomplete.vim │ ├── tar.vim │ ├── vimball.vim │ ├── xml │ │ ├── html32.vim │ │ ├── html401f.vim │ │ ├── html401s.vim │ │ ├── html401t.vim │ │ ├── html40f.vim │ │ ├── html40s.vim │ │ ├── html40t.vim │ │ ├── xhtml10f.vim │ │ ├── xhtml10s.vim │ │ ├── xhtml10t.vim │ │ ├── xhtml11.vim │ │ ├── xsd.vim │ │ └── xsl.vim │ ├── xmlcomplete.vim │ └── zip.vim │ ├── bugreport.vim │ ├── colors │ ├── README.txt │ ├── blue.vim │ ├── darkblue.vim │ ├── default.vim │ ├── delek.vim │ ├── desert.vim │ ├── elflord.vim │ ├── evening.vim │ ├── koehler.vim │ ├── morning.vim │ ├── murphy.vim │ ├── pablo.vim │ ├── peachpuff.vim │ ├── ron.vim │ ├── shine.vim │ ├── slate.vim │ ├── torte.vim │ └── zellner.vim │ ├── compiler │ ├── README.txt │ ├── ant.vim │ ├── bcc.vim │ ├── bdf.vim │ ├── checkstyle.vim │ ├── cs.vim │ ├── decada.vim │ ├── dot.vim │ ├── eruby.vim │ ├── fortran_F.vim │ ├── fortran_cv.vim │ ├── fortran_elf90.vim │ ├── fortran_g77.vim │ ├── fortran_lf95.vim │ ├── fpc.vim │ ├── gcc.vim │ ├── gnat.vim │ ├── hp_acc.vim │ ├── icc.vim │ ├── intel.vim │ ├── irix5_c.vim │ ├── irix5_cpp.vim │ ├── javac.vim │ ├── jikes.vim │ ├── mcs.vim │ ├── mips_c.vim │ ├── mipspro_c89.vim │ ├── mipspro_cpp.vim │ ├── modelsim_vcom.vim │ ├── msvc.vim │ ├── neato.vim │ ├── onsgmls.vim │ ├── pbx.vim │ ├── perl.vim │ ├── php.vim │ ├── pyunit.vim │ ├── rst.vim │ ├── ruby.vim │ ├── rubyunit.vim │ ├── se.vim │ ├── splint.vim │ ├── tcl.vim │ ├── tex.vim │ ├── tidy.vim │ ├── xmllint.vim │ └── xmlwf.vim │ ├── delmenu.vim │ ├── doc │ ├── Makefile │ ├── ada.txt │ ├── arabic.txt │ ├── autocmd.txt │ ├── change.txt │ ├── cmdline.txt │ ├── debug.txt │ ├── debugger.txt │ ├── develop.txt │ ├── diff.txt │ ├── digraph.txt │ ├── doctags.c │ ├── editing.txt │ ├── eval.txt │ ├── evim.1 │ ├── farsi.txt │ ├── filetype.txt │ ├── fold.txt │ ├── gui.txt │ ├── gui_w16.txt │ ├── gui_w32.txt │ ├── gui_x11.txt │ ├── hangulin.txt │ ├── hebrew.txt │ ├── help.txt │ ├── howto.txt │ ├── if_cscop.txt │ ├── if_mzsch.txt │ ├── if_ole.txt │ ├── if_perl.txt │ ├── if_pyth.txt │ ├── if_ruby.txt │ ├── if_sniff.txt │ ├── if_tcl.txt │ ├── indent.txt │ ├── index.txt │ ├── insert.txt │ ├── intro.txt │ ├── makehtml.awk │ ├── maketags.awk │ ├── map.txt │ ├── mbyte.txt │ ├── message.txt │ ├── mlang.txt │ ├── motion.txt │ ├── netbeans.txt │ ├── options.txt │ ├── os_390.txt │ ├── os_amiga.txt │ ├── os_beos.txt │ ├── os_dos.txt │ ├── os_mac.txt │ ├── os_mint.txt │ ├── os_msdos.txt │ ├── os_os2.txt │ ├── os_qnx.txt │ ├── os_risc.txt │ ├── os_unix.txt │ ├── os_vms.txt │ ├── os_win32.txt │ ├── pattern.txt │ ├── pi_getscript.txt │ ├── pi_gzip.txt │ ├── pi_netrw.txt │ ├── pi_paren.txt │ ├── pi_spec.txt │ ├── pi_tar.txt │ ├── pi_vimball.txt │ ├── pi_zip.txt │ ├── print.txt │ ├── quickfix.txt │ ├── quickref.txt │ ├── quotes.txt │ ├── recover.txt │ ├── remote.txt │ ├── repeat.txt │ ├── rileft.txt │ ├── russian.txt │ ├── scroll.txt │ ├── sign.txt │ ├── spell.txt │ ├── sponsor.txt │ ├── sql.txt │ ├── starting.txt │ ├── syntax.txt │ ├── tabpage.txt │ ├── tags │ ├── tagsrch.txt │ ├── term.txt │ ├── tips.txt │ ├── todo.txt │ ├── uganda.txt │ ├── undo.txt │ ├── usr_01.txt │ ├── usr_02.txt │ ├── usr_03.txt │ ├── usr_04.txt │ ├── usr_05.txt │ ├── usr_06.txt │ ├── usr_07.txt │ ├── usr_08.txt │ ├── usr_09.txt │ ├── usr_10.txt │ ├── usr_11.txt │ ├── usr_12.txt │ ├── usr_20.txt │ ├── usr_21.txt │ ├── usr_22.txt │ ├── usr_23.txt │ ├── usr_24.txt │ ├── usr_25.txt │ ├── usr_26.txt │ ├── usr_27.txt │ ├── usr_28.txt │ ├── usr_29.txt │ ├── usr_30.txt │ ├── usr_31.txt │ ├── usr_32.txt │ ├── usr_40.txt │ ├── usr_41.txt │ ├── usr_42.txt │ ├── usr_43.txt │ ├── usr_44.txt │ ├── usr_45.txt │ ├── usr_90.txt │ ├── usr_toc.txt │ ├── various.txt │ ├── version4.txt │ ├── version5.txt │ ├── version6.txt │ ├── version7.txt │ ├── vi_diff.txt │ ├── vim.1 │ ├── vim2html.pl │ ├── vimdiff.1 │ ├── vimtutor.1 │ ├── visual.txt │ ├── windows.txt │ ├── workshop.txt │ └── xxd.1 │ ├── evim.vim │ ├── filetype.vim │ ├── ftoff.vim │ ├── ftplugin.vim │ ├── ftplugin │ ├── AppendMatchGroup.vim │ ├── README.txt │ ├── a2ps.vim │ ├── aap.vim │ ├── abaqus.vim │ ├── ada.vim │ ├── alsaconf.vim │ ├── ant.vim │ ├── arch.vim │ ├── art.vim │ ├── aspvbs.vim │ ├── automake.vim │ ├── bdf.vim │ ├── bst.vim │ ├── btm.vim │ ├── c.vim │ ├── calendar.vim │ ├── ch.vim │ ├── changelog.vim │ ├── cobol.vim │ ├── conf.vim │ ├── config.vim │ ├── context.vim │ ├── cpp.vim │ ├── crm.vim │ ├── cs.vim │ ├── csc.vim │ ├── csh.vim │ ├── css.vim │ ├── cvsrc.vim │ ├── debchangelog.vim │ ├── dictconf.vim │ ├── dictdconf.vim │ ├── diff.vim │ ├── dircolors.vim │ ├── dosbatch.vim │ ├── dtd.vim │ ├── elinks.vim │ ├── eruby.vim │ ├── eterm.vim │ ├── fetchmail.vim │ ├── flexwiki.vim │ ├── fortran.vim │ ├── fvwm.vim │ ├── gpg.vim │ ├── group.vim │ ├── grub.vim │ ├── hamster.vim │ ├── haskell.vim │ ├── help.vim │ ├── html.vim │ ├── htmldjango.vim │ ├── indent.vim │ ├── initex.vim │ ├── ishd.vim │ ├── java.vim │ ├── javascript.vim │ ├── jsp.vim │ ├── kconfig.vim │ ├── kwt.vim │ ├── ld.vim │ ├── lftp.vim │ ├── libao.vim │ ├── limits.vim │ ├── lisp.vim │ ├── loginaccess.vim │ ├── logindefs.vim │ ├── lprolog.vim │ ├── lua.vim │ ├── m4.vim │ ├── mail.vim │ ├── mailaliases.vim │ ├── mailcap.vim │ ├── make.vim │ ├── man.vim │ ├── manconf.vim │ ├── matlab.vim │ ├── mf.vim │ ├── modconf.vim │ ├── mp.vim │ ├── mplayerconf.vim │ ├── mrxvtrc.vim │ ├── mupad.vim │ ├── muttrc.vim │ ├── nanorc.vim │ ├── netrc.vim │ ├── objc.vim │ ├── ocaml.vim │ ├── occam.vim │ ├── pamconf.vim │ ├── pascal.vim │ ├── passwd.vim │ ├── perl.vim │ ├── php.vim │ ├── pinfo.vim │ ├── plaintex.vim │ ├── postscr.vim │ ├── procmail.vim │ ├── prolog.vim │ ├── protocols.vim │ ├── pyrex.vim │ ├── python.vim │ ├── quake.vim │ ├── racc.vim │ ├── readline.vim │ ├── rnc.vim │ ├── rpl.vim │ ├── rst.vim │ ├── ruby.vim │ ├── scheme.vim │ ├── screen.vim │ ├── sensors.vim │ ├── services.vim │ ├── setserial.vim │ ├── sgml.vim │ ├── sh.vim │ ├── sieve.vim │ ├── slpconf.vim │ ├── slpreg.vim │ ├── slpspi.vim │ ├── spec.vim │ ├── sql.vim │ ├── sshconfig.vim │ ├── sudoers.vim │ ├── svg.vim │ ├── sysctl.vim │ ├── tcsh.vim │ ├── terminfo.vim │ ├── tex.vim │ ├── udevconf.vim │ ├── udevperm.vim │ ├── udevrules.vim │ ├── updatedb.vim │ ├── vb.vim │ ├── verilog.vim │ ├── vhdl.vim │ ├── vim.vim │ ├── xdefaults.vim │ ├── xf86conf.vim │ ├── xhtml.vim │ ├── xinetd.vim │ ├── xml.vim │ ├── xmodmap.vim │ ├── xs.vim │ ├── xsd.vim │ ├── xslt.vim │ ├── yaml.vim │ └── zsh.vim │ ├── ftplugof.vim │ ├── gvimrc_example.vim │ ├── indent.vim │ ├── indent │ ├── GenericIndent.vim │ ├── README.txt │ ├── aap.vim │ ├── ada.vim │ ├── ant.vim │ ├── automake.vim │ ├── awk.vim │ ├── bib.vim │ ├── bst.vim │ ├── c.vim │ ├── cdl.vim │ ├── ch.vim │ ├── changelog.vim │ ├── cmake.vim │ ├── cobol.vim │ ├── config.vim │ ├── cpp.vim │ ├── cs.vim │ ├── css.vim │ ├── d.vim │ ├── dictconf.vim │ ├── dictdconf.vim │ ├── docbk.vim │ ├── dylan.vim │ ├── eiffel.vim │ ├── eruby.vim │ ├── eterm.vim │ ├── fortran.vim │ ├── hamster.vim │ ├── html.vim │ ├── htmldjango.vim │ ├── idlang.vim │ ├── ishd.vim │ ├── java.vim │ ├── javascript.vim │ ├── jsp.vim │ ├── ld.vim │ ├── lisp.vim │ ├── lua.vim │ ├── make.vim │ ├── matlab.vim │ ├── mma.vim │ ├── mp.vim │ ├── mupad.vim │ ├── objc.vim │ ├── ocaml.vim │ ├── occam.vim │ ├── pascal.vim │ ├── perl.vim │ ├── php.vim │ ├── postscr.vim │ ├── pov.vim │ ├── prolog.vim │ ├── pyrex.vim │ ├── python.vim │ ├── readline.vim │ ├── rpl.vim │ ├── rst.vim │ ├── ruby.vim │ ├── scheme.vim │ ├── sdl.vim │ ├── sh.vim │ ├── sml.vim │ ├── sql.vim │ ├── sqlanywhere.vim │ ├── tcl.vim │ ├── tcsh.vim │ ├── tilde.vim │ ├── vb.vim │ ├── verilog.vim │ ├── vhdl.vim │ ├── vim.vim │ ├── xf86conf.vim │ ├── xhtml.vim │ ├── xinetd.vim │ ├── xml.vim │ ├── xsd.vim │ ├── xslt.vim │ ├── yacc.vim │ └── zsh.vim │ ├── indoff.vim │ ├── macmap.vim │ ├── macros │ ├── README.txt │ ├── dvorak │ ├── editexisting.vim │ ├── hanoi │ │ ├── click.me │ │ ├── hanoi.vim │ │ └── poster │ ├── justify.vim │ ├── less.sh │ ├── less.vim │ ├── life │ │ ├── click.me │ │ └── life.vim │ ├── matchit.txt │ ├── matchit.vim │ ├── maze │ │ ├── Makefile │ │ ├── README.txt │ │ ├── main.aap │ │ ├── maze.c │ │ ├── maze_5.78 │ │ ├── maze_mac │ │ ├── mazeansi.c │ │ ├── mazeclean.c │ │ └── poster │ ├── shellmenu.vim │ ├── swapmous.vim │ └── urm │ │ ├── README.txt │ │ ├── examples │ │ ├── urm │ │ └── urm.vim │ ├── makemenu.vim │ ├── menu.vim │ ├── mswin.vim │ ├── optwin.vim │ ├── plugin │ ├── README.txt │ ├── getscriptPlugin.vim │ ├── gzip.vim │ ├── matchparen.vim │ ├── netrwPlugin.vim │ ├── rrhelper.vim │ ├── spellfile.vim │ ├── tarPlugin.vim │ ├── tohtml.vim │ ├── vimballPlugin.vim │ └── zipPlugin.vim │ ├── print │ ├── ascii.ps │ ├── cidfont.ps │ ├── cns_roman.ps │ ├── cp1250.ps │ ├── cp1251.ps │ ├── cp1252.ps │ ├── cp1253.ps │ ├── cp1254.ps │ ├── cp1255.ps │ ├── cp1257.ps │ ├── dec-mcs.ps │ ├── ebcdic-uk.ps │ ├── gb_roman.ps │ ├── hp-roman8.ps │ ├── iso-8859-10.ps │ ├── iso-8859-11.ps │ ├── iso-8859-13.ps │ ├── iso-8859-14.ps │ ├── iso-8859-15.ps │ ├── iso-8859-2.ps │ ├── iso-8859-3.ps │ ├── iso-8859-4.ps │ ├── iso-8859-5.ps │ ├── iso-8859-7.ps │ ├── iso-8859-8.ps │ ├── iso-8859-9.ps │ ├── jis_roman.ps │ ├── koi8-r.ps │ ├── koi8-u.ps │ ├── ks_roman.ps │ ├── latin1.ps │ ├── mac-roman.ps │ └── prolog.ps │ ├── scripts.vim │ ├── synmenu.vim │ ├── syntax │ ├── 2html.vim │ ├── README.txt │ ├── a2ps.vim │ ├── a65.vim │ ├── aap.vim │ ├── abap.vim │ ├── abaqus.vim │ ├── abc.vim │ ├── abel.vim │ ├── acedb.vim │ ├── ada.vim │ ├── aflex.vim │ ├── ahdl.vim │ ├── alsaconf.vim │ ├── amiga.vim │ ├── aml.vim │ ├── ampl.vim │ ├── ant.vim │ ├── antlr.vim │ ├── apache.vim │ ├── apachestyle.vim │ ├── arch.vim │ ├── art.vim │ ├── asm.vim │ ├── asm68k.vim │ ├── asmh8300.vim │ ├── asn.vim │ ├── aspperl.vim │ ├── aspvbs.vim │ ├── asterisk.vim │ ├── asteriskvm.vim │ ├── atlas.vim │ ├── autohotkey.vim │ ├── autoit.vim │ ├── automake.vim │ ├── ave.vim │ ├── awk.vim │ ├── ayacc.vim │ ├── b.vim │ ├── baan.vim │ ├── basic.vim │ ├── bc.vim │ ├── bdf.vim │ ├── bib.vim │ ├── bindzone.vim │ ├── blank.vim │ ├── bst.vim │ ├── btm.vim │ ├── bzr.vim │ ├── c.vim │ ├── calendar.vim │ ├── catalog.vim │ ├── cdl.vim │ ├── cdrtoc.vim │ ├── cf.vim │ ├── cfg.vim │ ├── ch.vim │ ├── change.vim │ ├── changelog.vim │ ├── chaskell.vim │ ├── cheetah.vim │ ├── chill.vim │ ├── chordpro.vim │ ├── cl.vim │ ├── clean.vim │ ├── clipper.vim │ ├── cmake.vim │ ├── cmusrc.vim │ ├── cobol.vim │ ├── colortest.vim │ ├── conaryrecipe.vim │ ├── conf.vim │ ├── config.vim │ ├── context.vim │ ├── cpp.vim │ ├── crm.vim │ ├── crontab.vim │ ├── cs.vim │ ├── csc.vim │ ├── csh.vim │ ├── csp.vim │ ├── css.vim │ ├── cterm.vim │ ├── ctrlh.vim │ ├── cupl.vim │ ├── cuplsim.vim │ ├── cvs.vim │ ├── cvsrc.vim │ ├── cweb.vim │ ├── cynlib.vim │ ├── cynpp.vim │ ├── d.vim │ ├── dcd.vim │ ├── dcl.vim │ ├── debchangelog.vim │ ├── debcontrol.vim │ ├── debsources.vim │ ├── def.vim │ ├── desc.vim │ ├── desktop.vim │ ├── dictconf.vim │ ├── dictdconf.vim │ ├── diff.vim │ ├── dircolors.vim │ ├── diva.vim │ ├── django.vim │ ├── dns.vim │ ├── docbk.vim │ ├── docbksgml.vim │ ├── docbkxml.vim │ ├── dosbatch.vim │ ├── dosini.vim │ ├── dot.vim │ ├── doxygen.vim │ ├── dracula.vim │ ├── dsl.vim │ ├── dtd.vim │ ├── dtml.vim │ ├── dylan.vim │ ├── dylanintr.vim │ ├── dylanlid.vim │ ├── ecd.vim │ ├── edif.vim │ ├── eiffel.vim │ ├── elf.vim │ ├── elinks.vim │ ├── elmfilt.vim │ ├── erlang.vim │ ├── eruby.vim │ ├── esmtprc.vim │ ├── esqlc.vim │ ├── esterel.vim │ ├── eterm.vim │ ├── eviews.vim │ ├── exim.vim │ ├── expect.vim │ ├── exports.vim │ ├── fasm.vim │ ├── fdcc.vim │ ├── fetchmail.vim │ ├── fgl.vim │ ├── flexwiki.vim │ ├── focexec.vim │ ├── form.vim │ ├── forth.vim │ ├── fortran.vim │ ├── foxpro.vim │ ├── framescript.vim │ ├── freebasic.vim │ ├── fstab.vim │ ├── fvwm.vim │ ├── fvwm2m4.vim │ ├── gdb.vim │ ├── gdmo.vim │ ├── gedcom.vim │ ├── gkrellmrc.vim │ ├── gnuplot.vim │ ├── gp.vim │ ├── gpg.vim │ ├── grads.vim │ ├── gretl.vim │ ├── groff.vim │ ├── groovy.vim │ ├── group.vim │ ├── grub.vim │ ├── gsp.vim │ ├── gtkrc.vim │ ├── hamster.vim │ ├── haskell.vim │ ├── hb.vim │ ├── help.vim │ ├── hercules.vim │ ├── hex.vim │ ├── hitest.vim │ ├── hog.vim │ ├── html.vim │ ├── htmlcheetah.vim │ ├── htmldjango.vim │ ├── htmlm4.vim │ ├── htmlos.vim │ ├── ia64.vim │ ├── ibasic.vim │ ├── icemenu.vim │ ├── icon.vim │ ├── idl.vim │ ├── idlang.vim │ ├── indent.vim │ ├── inform.vim │ ├── initex.vim │ ├── initng.vim │ ├── inittab.vim │ ├── ipfilter.vim │ ├── ishd.vim │ ├── iss.vim │ ├── ist.vim │ ├── jal.vim │ ├── jam.vim │ ├── jargon.vim │ ├── java.vim │ ├── javacc.vim │ ├── javascript.vim │ ├── jess.vim │ ├── jgraph.vim │ ├── jproperties.vim │ ├── jsp.vim │ ├── kconfig.vim │ ├── kix.vim │ ├── kscript.vim │ ├── kwt.vim │ ├── lace.vim │ ├── latte.vim │ ├── ld.vim │ ├── ldapconf.vim │ ├── ldif.vim │ ├── lex.vim │ ├── lftp.vim │ ├── lhaskell.vim │ ├── libao.vim │ ├── lifelines.vim │ ├── lilo.vim │ ├── limits.vim │ ├── lisp.vim │ ├── lite.vim │ ├── litestep.vim │ ├── loginaccess.vim │ ├── logindefs.vim │ ├── logtalk.vim │ ├── lotos.vim │ ├── lout.vim │ ├── lpc.vim │ ├── lprolog.vim │ ├── lscript.vim │ ├── lss.vim │ ├── lua.vim │ ├── lynx.vim │ ├── m4.vim │ ├── mail.vim │ ├── mailaliases.vim │ ├── mailcap.vim │ ├── make.vim │ ├── man.vim │ ├── manconf.vim │ ├── manual.vim │ ├── maple.vim │ ├── masm.vim │ ├── mason.vim │ ├── master.vim │ ├── matlab.vim │ ├── maxima.vim │ ├── mel.vim │ ├── messages.vim │ ├── mf.vim │ ├── mgl.vim │ ├── mgp.vim │ ├── mib.vim │ ├── mma.vim │ ├── mmix.vim │ ├── modconf.vim │ ├── model.vim │ ├── modsim3.vim │ ├── modula2.vim │ ├── modula3.vim │ ├── monk.vim │ ├── moo.vim │ ├── mp.vim │ ├── mplayerconf.vim │ ├── mrxvtrc.vim │ ├── msidl.vim │ ├── msql.vim │ ├── mupad.vim │ ├── mush.vim │ ├── muttrc.vim │ ├── mysql.vim │ ├── named.vim │ ├── nanorc.vim │ ├── nasm.vim │ ├── nastran.vim │ ├── natural.vim │ ├── ncf.vim │ ├── netrc.vim │ ├── netrw.vim │ ├── nosyntax.vim │ ├── nqc.vim │ ├── nroff.vim │ ├── nsis.vim │ ├── objc.vim │ ├── objcpp.vim │ ├── ocaml.vim │ ├── occam.vim │ ├── omnimark.vim │ ├── openroad.vim │ ├── opl.vim │ ├── ora.vim │ ├── pamconf.vim │ ├── papp.vim │ ├── pascal.vim │ ├── passwd.vim │ ├── pcap.vim │ ├── pccts.vim │ ├── perl.vim │ ├── pf.vim │ ├── pfmain.vim │ ├── php.vim │ ├── phtml.vim │ ├── pic.vim │ ├── pike.vim │ ├── pilrc.vim │ ├── pine.vim │ ├── pinfo.vim │ ├── plaintex.vim │ ├── plm.vim │ ├── plp.vim │ ├── plsql.vim │ ├── po.vim │ ├── pod.vim │ ├── postscr.vim │ ├── pov.vim │ ├── povini.vim │ ├── ppd.vim │ ├── ppwiz.vim │ ├── prescribe.vim │ ├── privoxy.vim │ ├── procmail.vim │ ├── progress.vim │ ├── prolog.vim │ ├── protocols.vim │ ├── psf.vim │ ├── ptcap.vim │ ├── purifylog.vim │ ├── pyrex.vim │ ├── python.vim │ ├── qf.vim │ ├── quake.vim │ ├── r.vim │ ├── racc.vim │ ├── radiance.vim │ ├── ratpoison.vim │ ├── rc.vim │ ├── rcs.vim │ ├── rcslog.vim │ ├── readline.vim │ ├── rebol.vim │ ├── registry.vim │ ├── remind.vim │ ├── resolv.vim │ ├── rexx.vim │ ├── rhelp.vim │ ├── rib.vim │ ├── rnc.vim │ ├── rnoweb.vim │ ├── robots.vim │ ├── rpcgen.vim │ ├── rpl.vim │ ├── rst.vim │ ├── rtf.vim │ ├── ruby.vim │ ├── samba.vim │ ├── sas.vim │ ├── sather.vim │ ├── scheme.vim │ ├── scilab.vim │ ├── screen.vim │ ├── sd.vim │ ├── sdl.vim │ ├── sed.vim │ ├── sendpr.vim │ ├── sensors.vim │ ├── services.vim │ ├── setserial.vim │ ├── sgml.vim │ ├── sgmldecl.vim │ ├── sgmllnx.vim │ ├── sh.vim │ ├── sicad.vim │ ├── sieve.vim │ ├── simula.vim │ ├── sinda.vim │ ├── sindacmp.vim │ ├── sindaout.vim │ ├── sisu.vim │ ├── skill.vim │ ├── sl.vim │ ├── slang.vim │ ├── slice.vim │ ├── slpconf.vim │ ├── slpreg.vim │ ├── slpspi.vim │ ├── slrnrc.vim │ ├── slrnsc.vim │ ├── sm.vim │ ├── smarty.vim │ ├── smcl.vim │ ├── smil.vim │ ├── smith.vim │ ├── sml.vim │ ├── snnsnet.vim │ ├── snnspat.vim │ ├── snnsres.vim │ ├── snobol4.vim │ ├── spec.vim │ ├── specman.vim │ ├── spice.vim │ ├── splint.vim │ ├── spup.vim │ ├── spyce.vim │ ├── sql.vim │ ├── sqlanywhere.vim │ ├── sqlforms.vim │ ├── sqlinformix.vim │ ├── sqlj.vim │ ├── sqloracle.vim │ ├── sqr.vim │ ├── squid.vim │ ├── sshconfig.vim │ ├── sshdconfig.vim │ ├── st.vim │ ├── stata.vim │ ├── stp.vim │ ├── strace.vim │ ├── sudoers.vim │ ├── svn.vim │ ├── syncolor.vim │ ├── synload.vim │ ├── syntax.vim │ ├── sysctl.vim │ ├── tads.vim │ ├── tags.vim │ ├── tak.vim │ ├── takcmp.vim │ ├── takout.vim │ ├── tar.vim │ ├── tasm.vim │ ├── tcl.vim │ ├── tcsh.vim │ ├── terminfo.vim │ ├── tex.vim │ ├── texinfo.vim │ ├── texmf.vim │ ├── tf.vim │ ├── tidy.vim │ ├── tilde.vim │ ├── tli.vim │ ├── tpp.vim │ ├── trasys.vim │ ├── trustees.vim │ ├── tsalt.vim │ ├── tsscl.vim │ ├── tssgm.vim │ ├── tssop.vim │ ├── uc.vim │ ├── udevconf.vim │ ├── udevperm.vim │ ├── udevrules.vim │ ├── uil.vim │ ├── updatedb.vim │ ├── valgrind.vim │ ├── vb.vim │ ├── vera.vim │ ├── verilog.vim │ ├── verilogams.vim │ ├── vgrindefs.vim │ ├── vhdl.vim │ ├── vim.vim │ ├── viminfo.vim │ ├── virata.vim │ ├── vmasm.vim │ ├── vrml.vim │ ├── vsejcl.vim │ ├── wdiff.vim │ ├── web.vim │ ├── webmacro.vim │ ├── wget.vim │ ├── whitespace.vim │ ├── winbatch.vim │ ├── wml.vim │ ├── wsh.vim │ ├── wsml.vim │ ├── wvdial.vim │ ├── xdefaults.vim │ ├── xf86conf.vim │ ├── xhtml.vim │ ├── xinetd.vim │ ├── xkb.vim │ ├── xmath.vim │ ├── xml.vim │ ├── xmodmap.vim │ ├── xpm.vim │ ├── xpm2.vim │ ├── xquery.vim │ ├── xs.vim │ ├── xsd.vim │ ├── xslt.vim │ ├── xxd.vim │ ├── yacc.vim │ ├── yaml.vim │ ├── z8a.vim │ └── zsh.vim │ ├── termcap │ ├── tools │ ├── README.txt │ ├── blink.c │ ├── ccfilter.1 │ ├── ccfilter.c │ ├── ccfilter_README.txt │ ├── efm_filter.pl │ ├── efm_filter.txt │ ├── efm_perl.pl │ ├── mve.awk │ ├── mve.txt │ ├── pltags.pl │ ├── ref │ ├── shtags.1 │ ├── shtags.pl │ ├── vim132 │ ├── vim_vs_net.cmd │ ├── vimm │ ├── vimspell.sh │ ├── vimspell.txt │ └── xcmdsrv_client.c │ ├── tutor │ ├── README.txt │ ├── tutor │ └── tutor.vim │ └── vimrc_example.vim ├── macros.h ├── main.aap ├── main.c ├── mark.c ├── mbyte.c ├── memfile.c ├── memline.c ├── menu.c ├── message.c ├── misc1.c ├── misc2.c ├── mkfile ├── move.c ├── mysign ├── nbdebug.c ├── nbdebug.h ├── netbeans.c ├── normal.c ├── ops.c ├── option.c ├── option.h ├── os_plan9.c ├── os_plan9.h ├── pathdef.c ├── popupmnu.c ├── proto.h ├── proto ├── buffer.pro ├── charset.pro ├── diff.pro ├── digraph.pro ├── edit.pro ├── eval.pro ├── ex_cmds.pro ├── ex_cmds2.pro ├── ex_docmd.pro ├── ex_eval.pro ├── ex_getln.pro ├── fileio.pro ├── fold.pro ├── getchar.pro ├── gui.pro ├── gui_beval.pro ├── hardcopy.pro ├── hashtab.pro ├── main.pro ├── mark.pro ├── mbyte.pro ├── memfile.pro ├── memline.pro ├── menu.pro ├── message.pro ├── misc1.pro ├── misc2.pro ├── move.pro ├── netbeans.pro ├── normal.pro ├── ops.pro ├── option.pro ├── os_plan9.pro ├── popupmnu.pro ├── quickfix.pro ├── regexp.pro ├── screen.pro ├── search.pro ├── spell.pro ├── syntax.pro ├── tag.pro ├── term.pro ├── termlib.pro ├── ui.pro ├── undo.pro ├── version.pro └── window.pro ├── quickfix.c ├── regexp.c ├── regexp.h ├── screen.c ├── search.c ├── spell.c ├── structs.h ├── syntax.c ├── tag.c ├── term.c ├── term.h ├── termlib.c ├── testdir ├── dotest.in ├── main.aap ├── test1.in ├── test1.ok ├── test10.in ├── test10.ok ├── test10a.in ├── test10a.ok ├── test11.in ├── test11.ok ├── test12.in ├── test12.ok ├── test13.in ├── test13.ok ├── test14.in ├── test14.ok ├── test15.in ├── test15.ok ├── test16.in ├── test16.ok ├── test17.in ├── test17.ok ├── test17a.in ├── test18.in ├── test18.ok ├── test19.in ├── test19.ok ├── test2.in ├── test2.ok ├── test20.in ├── test20.ok ├── test21.in ├── test21.ok ├── test22.in ├── test22.ok ├── test23.in ├── test23.ok ├── test24.in ├── test24.ok ├── test25.in ├── test25.ok ├── test26.in ├── test26.ok ├── test27.in ├── test27.ok ├── test28.in ├── test28.ok ├── test29.in ├── test29.ok ├── test3.in ├── test3.ok ├── test30.in ├── test30.ok ├── test31.in ├── test31.ok ├── test32.in ├── test32.ok ├── test33.in ├── test33.ok ├── test34.in ├── test34.ok ├── test35.in ├── test35.ok ├── test36.in ├── test36.ok ├── test37.in ├── test37.ok ├── test38.in ├── test38.ok ├── test39.in ├── test39.ok ├── test4.in ├── test4.ok ├── test40.in ├── test40.ok ├── test41.in ├── test41.ok ├── test42.in ├── test42.ok ├── test43.in ├── test43.ok ├── test44.in ├── test44.ok ├── test45.in ├── test45.ok ├── test46.in ├── test46.ok ├── test47.in ├── test47.ok ├── test48.in ├── test48.ok ├── test49.in ├── test49.ok ├── test49.vim ├── test5.in ├── test5.ok ├── test50.in ├── test50.ok ├── test51.in ├── test51.ok ├── test52.in ├── test52.ok ├── test53.in ├── test53.ok ├── test54.in ├── test54.ok ├── test55.in ├── test55.ok ├── test56.in ├── test56.ok ├── test57.in ├── test57.ok ├── test58.in ├── test58.ok ├── test59.in ├── test59.ok ├── test6.in ├── test6.ok ├── test60.in ├── test60.ok ├── test60.vim ├── test61.in ├── test61.ok ├── test62.in ├── test62.ok ├── test7.in ├── test7.ok ├── test8.in ├── test8.ok ├── test9.in └── test9.ok ├── ui.c ├── undo.c ├── version.c ├── version.h ├── vim.h ├── vim.png ├── vim.proto ├── window.c └── xxd └── xxd.c /lib/vimfiles/autoload/README.txt: -------------------------------------------------------------------------------- 1 | The autoload directory is for standard Vim autoload scripts. 2 | 3 | These are functions used by plugins and for general use. They will be loaded 4 | automatically when the function is invoked. See ":help autoload". 5 | 6 | gzip.vim for editing compressed files 7 | netrw*.vim browsing (remote) directories and editing remote files 8 | tar.vim browsing tar files 9 | zip.vim browsing zip files 10 | paste.vim common code for mswin.vim, menu.vim and macmap.vim 11 | spellfile.vim downloading of a missing spell file 12 | 13 | Omni completion files: 14 | ccomplete.vim C 15 | csscomplete.vim HTML / CSS 16 | htmlcomplete.vim HTML 17 | javascriptcomplete.vim Javascript 18 | phpcomplete.vim PHP 19 | pythoncomplete.vim Python 20 | rubycomplete.vim Ruby 21 | syntaxcomplete.vim from syntax highlighting 22 | xmlcomplete.vim XML (uses files in the xml directory) 23 | -------------------------------------------------------------------------------- /lib/vimfiles/colors/default.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " Maintainer: Bram Moolenaar 3 | " Last Change: 2001 Jul 23 4 | 5 | " This is the default color scheme. It doesn't define the Normal 6 | " highlighting, it uses whatever the colors used to be. 7 | 8 | " Set 'background' back to the default. The value can't always be estimated 9 | " and is then guessed. 10 | hi clear Normal 11 | set bg& 12 | 13 | " Remove all existing highlighting and set the defaults. 14 | hi clear 15 | 16 | " Load the syntax highlighting defaults, if it's enabled. 17 | if exists("syntax_on") 18 | syntax reset 19 | endif 20 | 21 | let colors_name = "default" 22 | 23 | " vim: sw=2 24 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/README.txt: -------------------------------------------------------------------------------- 1 | This directory contains Vim scripts to be used with a specific compiler. 2 | They are used with the ":compiler" command. 3 | 4 | These scripts usually set options, for example 'errorformat'. 5 | See ":help write-compiler-plugin". 6 | 7 | If you want to write your own compiler plugin, have a look at the other files 8 | for how to do it, the format is simple. 9 | 10 | If you think a compiler plugin you have written is useful for others, please 11 | send it to Bram@vim.org. 12 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/ant.vim: -------------------------------------------------------------------------------- 1 | " Vim Compiler File 2 | " Compiler: ant 3 | " Maintainer: Johannes Zellner 4 | " Last Change: Mi, 13 Apr 2005 22:50:07 CEST 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "ant" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | let s:cpo_save = &cpo 16 | set cpo&vim 17 | 18 | CompilerSet makeprg=ant 19 | 20 | " first line: 21 | " ant with jikes +E, which assumes the following 22 | " two property lines in your 'build.xml': 23 | " 24 | " 25 | " 26 | " 27 | " second line: 28 | " ant with javac 29 | " 30 | " note that this will work also for tasks like [wtkbuild] 31 | " 32 | CompilerSet errorformat=\ %#[%.%#]\ %#%f:%l:%v:%*\\d:%*\\d:\ %t%[%^:]%#:%m, 33 | \%A\ %#[%.%#]\ %f:%l:\ %m,%-Z\ %#[%.%#]\ %p^,%C\ %#[%.%#]\ %#%m 34 | 35 | " ,%-C%.%# 36 | 37 | let &cpo = s:cpo_save 38 | unlet s:cpo_save 39 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/bcc.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: bcc - Borland C 3 | " Maintainer: Emile van Raaij (eraaij@xs4all.nl) 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "bcc" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | " A workable errorformat for Borland C 16 | CompilerSet errorformat=%*[^0-9]%n\ %f\ %l:\ %m 17 | 18 | " default make 19 | CompilerSet makeprg=make 20 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/bdf.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: BDF to PCF Conversion 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "bdf" 10 | 11 | let s:cpo_save = &cpo 12 | set cpo-=C 13 | 14 | setlocal makeprg=bdftopcf\ $* 15 | 16 | setlocal errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m, 17 | \%-Z%p^, 18 | \%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt, 19 | \%-G%.%# 20 | 21 | let &cpo = s:cpo_save 22 | unlet s:cpo_save 23 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/checkstyle.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Checkstyle 3 | " Maintainer: Doug Kearns 4 | " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/checkstyle.vim 5 | " Last Change: 2004 Nov 27 6 | 7 | if exists("current_compiler") 8 | finish 9 | endif 10 | let current_compiler = "checkstyle" 11 | 12 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 13 | command -nargs=* CompilerSet setlocal 14 | endif 15 | 16 | CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain 17 | 18 | " sample error: WebTable.java:282: '+=' is not preceeded with whitespace. 19 | " WebTable.java:201:1: '{' should be on the previous line. 20 | CompilerSet errorformat=%f:%l:\ %m,%f:%l:%v:\ %m,%-G%.%# 21 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/cs.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: ms C# 3 | " Maintainer: Joseph H. Yao (hyao@sina.com) 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "cs" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | " default errorformat 16 | CompilerSet errorformat& 17 | 18 | " default make 19 | CompilerSet makeprg=csc\ % 20 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/dot.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: ATT dot 3 | " Maintainer: Marcos Macedo 4 | " Last Change: 2004 May 16 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "dot" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\" 16 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/eruby.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Language: eRuby 3 | " Maintainer: Doug Kearns 4 | " Info: $Id: eruby.vim,v 1.4 2006/04/15 20:22:51 vimboss Exp $ 5 | " URL: http://vim-ruby.rubyforge.org 6 | " Anon CVS: See above site 7 | " Release Coordinator: Doug Kearns 8 | 9 | if exists("current_compiler") 10 | finish 11 | endif 12 | let current_compiler = "eruby" 13 | 14 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 15 | command -nargs=* CompilerSet setlocal 16 | endif 17 | 18 | let s:cpo_save = &cpo 19 | set cpo-=C 20 | 21 | if exists("eruby_compiler") && eruby_compiler == "eruby" 22 | CompilerSet makeprg=eruby 23 | else 24 | CompilerSet makeprg=erb 25 | endif 26 | 27 | CompilerSet errorformat= 28 | \eruby:\ %f:%l:%m, 29 | \%+E%f:%l:\ parse\ error, 30 | \%W%f:%l:\ warning:\ %m, 31 | \%E%f:%l:in\ %*[^:]:\ %m, 32 | \%E%f:%l:\ %m, 33 | \%-C%\tfrom\ %f:%l:in\ %.%#, 34 | \%-Z%\tfrom\ %f:%l, 35 | \%-Z%p^, 36 | \%-G%.%# 37 | 38 | let &cpo = s:cpo_save 39 | unlet s:cpo_save 40 | 41 | " vim: nowrap sw=2 sts=2 ts=8 ff=unix: 42 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/fortran_F.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Fortran Company/NAGWare F compiler 3 | " URL: http://www.unb.ca/chem/ajit/compiler/fortran_F.vim 4 | " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); 5 | " Version: 0.2 6 | " Last Change: 2004 Mar 27 7 | 8 | if exists("current_compiler") 9 | finish 10 | endif 11 | let current_compiler = "fortran_F" 12 | 13 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 14 | command -nargs=* CompilerSet setlocal 15 | endif 16 | 17 | let s:cposet=&cpoptions 18 | set cpoptions-=C 19 | 20 | CompilerSet errorformat=%trror:\ %f\\,\ line\ %l:%m, 21 | \%tarning:\ %f\\,\ line\ %l:%m, 22 | \%tatal\ Error:\ %f\\,\ line\ %l:%m, 23 | \%-G%.%# 24 | CompilerSet makeprg=F 25 | 26 | let &cpoptions=s:cposet 27 | unlet s:cposet 28 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/fortran_cv.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Compaq Visual Fortran 3 | " Maintainer: Joh.-G. Simon (johann-guenter.simon@linde-le.com) 4 | " Last Change: 11/05/2002 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "fortran_cv" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | let s:cposet = &cpoptions 16 | set cpoptions-=C 17 | 18 | " A workable errorformat for Compaq Visual Fortran 19 | CompilerSet errorformat= 20 | \%E%f(%l)\ :\ Error:%m, 21 | \%W%f(%l)\ :\ Warning:%m, 22 | \%-Z%p%^%.%#, 23 | \%-G%.%#, 24 | " Compiler call 25 | CompilerSet makeprg=df\ /nologo\ /noobj\ /c\ % 26 | " Visual fortran defaults to printing output on stderr 27 | " Adjust option shellpipe accordingly 28 | 29 | let &cpoptions = s:cposet 30 | unlet s:cposet 31 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/fortran_elf90.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Essential Lahey Fortran 90 3 | " Probably also works for Lahey Fortran 90 4 | " URL: http://www.unb.ca/chem/ajit/compiler/fortran_elf90.vim 5 | " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); 6 | " Version: 0.2 7 | " Last Change: 2004 Mar 27 8 | 9 | if exists("current_compiler") 10 | finish 11 | endif 12 | let current_compiler = "fortran_elf90" 13 | 14 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 15 | command -nargs=* CompilerSet setlocal 16 | endif 17 | 18 | let s:cposet=&cpoptions 19 | set cpoptions-=C 20 | 21 | CompilerSet errorformat=\%ALine\ %l\\,\ file\ %f, 22 | \%C%tARNING\ --%m, 23 | \%C%tATAL\ --%m, 24 | \%C%tBORT\ --%m, 25 | \%+C%\\l%.%#\., 26 | \%C%p\|, 27 | \%C%.%#, 28 | \%Z%$, 29 | \%-G%.%# 30 | CompilerSet makeprg=elf90 31 | 32 | let &cpoptions=s:cposet 33 | unlet s:cposet 34 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/fortran_lf95.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Lahey/Fujitsu Fortran 95 3 | " URL: http://www.unb.ca/chem/ajit/compiler/fortran_lf95.vim 4 | " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); 5 | " Version: 0.2 6 | " Last Change: 2004 Mar 27 7 | 8 | if exists("current_compiler") 9 | finish 10 | endif 11 | let current_compiler = "fortran_lf95" 12 | 13 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 14 | command -nargs=* CompilerSet setlocal 15 | endif 16 | 17 | let s:cposet=&cpoptions 18 | set cpoptions-=C 19 | 20 | CompilerSet errorformat=\ %#%n-%t:\ \"%f\"\\,\ line\ %l:%m, 21 | \Error\ LINK\.%n:%m, 22 | \Warning\ LINK\.%n:%m, 23 | \%-G%.%# 24 | CompilerSet makeprg=lf95 25 | 26 | let &cpoptions=s:cposet 27 | unlet s:cposet 28 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/fpc.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: FPC 2.1 3 | " Maintainer: Jaroslaw Blasiok 4 | " Last Change: 2005 October 07 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "fpc" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | " NOTE: compiler must be runned with -vb to write whole source path, not only file 16 | " name. 17 | CompilerSet errorformat=%f(%l\\,%c)\ %m 18 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/gcc.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: GNU C Compiler 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-12-20 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "gcc" 10 | 11 | let s:cpo_save = &cpo 12 | set cpo-=C 13 | 14 | setlocal errorformat= 15 | \%*[^\"]\"%f\"%*\\D%l:\ %m, 16 | \\"%f\"%*\\D%l:\ %m, 17 | \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once, 18 | \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.), 19 | \%f:%l:\ %m, 20 | \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m, 21 | \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', 22 | \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', 23 | \%D%*\\a:\ Entering\ directory\ `%f', 24 | \%X%*\\a:\ Leaving\ directory\ `%f', 25 | \%DMaking\ %*\\a\ in\ %f 26 | 27 | if exists('g:compiler_gcc_ignore_unmatched_lines') 28 | let &errorformat .= ',%-G%.%#' 29 | endif 30 | 31 | let &cpo = s:cpo_save 32 | unlet s:cpo_save 33 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/hp_acc.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: HP aCC 3 | " Maintainer: Matthias Ulrich 4 | " URL: http://www.subhome.de/vim/hp_acc.vim 5 | " Last Change: 2005 Nov 19 6 | " 7 | " aCC --version says: "HP ANSI C++ B3910B A.03.13" 8 | " This compiler has been tested on: 9 | " hp-ux 10.20, hp-ux 11.0 and hp-ux 11.11 (64bit) 10 | " 11 | " Tim Brown's aCC is: "HP ANSI C++ B3910B A.03.33" 12 | " and it also works fine... 13 | " 14 | " Now suggestions by aCC are supported (compile flag aCC +w). 15 | " Thanks to Tim Brown again!! 16 | " 17 | 18 | if exists("current_compiler") 19 | finish 20 | endif 21 | let current_compiler = "hp_acc" 22 | 23 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 24 | command -nargs=* CompilerSet setlocal 25 | endif 26 | 27 | CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m, 28 | \%A%tarning\ (suggestion)\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#, 29 | \%A%tarning\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#, 30 | \%Z\ \ \ \ %p^%.%#, 31 | \%-C%.%# 32 | 33 | " vim:ts=8:sw=4:cindent 34 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/icc.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: icc - Intel C++ 3 | " Maintainer: Peter Puck 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "icc" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | " I think that Intel is calling the compiler icl under Windows 16 | 17 | CompilerSet errorformat=%-Z%p^,%f(%l):\ remark\ #%n:%m,%f(%l)\ :\ (col.\ %c)\ remark:\ %m,%E%f(%l):\ error:\ %m,%E%f(%l):\ error:\ #%n:\ %m,%W%f(%l):\ warning\ #%n:\ %m,%W%f(%l):\ warning:\ %m,%-C%.%# 18 | 19 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/intel.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Intel C++ 7.1 3 | " Maintainer: David Harrison 4 | " Last Change: 2004 May 16 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "intel" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet errorformat=%E%f(%l):\ error:\ %m, 16 | \%W%f(%l):\ warning:\ %m, 17 | \%I%f(%l):\ remark\ #%n:\ %m, 18 | \%+C\ \ %m., 19 | \%-Z\ \ %p^, 20 | \%-G\\s%#, 21 | \%-G%.%# 22 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/irix5_c.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: SGI IRIX 5.3 cc 3 | " Maintainer: David Harrison 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "irix5_c" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet errorformat=\%Ecfe:\ Error:\ %f\\,\ line\ %l:\ %m, 16 | \%Wcfe:\ Warning:\ %n:\ %f\\,\ line\ %l:\ %m, 17 | \%Wcfe:\ Warning\ %n:\ %f\\,\ line\ %l:\ %m, 18 | \%W(%l)\ \ Warning\ %n:\ %m, 19 | \%-Z\ %p^, 20 | \-G\\s%#, 21 | \%-G%.%# 22 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/irix5_cpp.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: SGI IRIX 5.3 CC or NCC 3 | " Maintainer: David Harrison 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "irix5_cpp" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet errorformat=%E\"%f\"\\,\ line\ %l:\ error(%n):\ , 16 | \%E\"%f\"\\,\ line\ %l:\ error(%n):\ %m, 17 | \%W\"%f\"\\,\ line\ %l:\ warning(%n):\ %m, 18 | \%+IC++\ prelinker:\ %m, 19 | \%-Z\ \ %p%^, 20 | \%+C\ %\\{10}%.%#, 21 | \%-G%.%# 22 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/javac.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: javac 3 | " Maintainer: Doug Kearns 4 | " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/javac.vim 5 | " Last Change: 2004 Nov 27 6 | 7 | if exists("current_compiler") 8 | finish 9 | endif 10 | let current_compiler = "javac" 11 | 12 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 13 | command -nargs=* CompilerSet setlocal 14 | endif 15 | 16 | CompilerSet makeprg=javac 17 | 18 | CompilerSet errorformat=%E%f:%l:\ %m,%-Z%p^,%-C%.%#,%-G%.%# 19 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/jikes.vim: -------------------------------------------------------------------------------- 1 | " Vim Compiler File 2 | " Compiler: Jikes 3 | " Maintainer: Dan Sharp 4 | " Last Change: 2004 Mar 27 5 | " URL: http://mywebpage.netscape.com/sharppeople/vim/compiler 6 | 7 | if exists("current_compiler") 8 | finish 9 | endif 10 | let current_compiler = "jikes" 11 | 12 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 13 | command -nargs=* CompilerSet setlocal 14 | endif 15 | 16 | " Jikes defaults to printing output on stderr 17 | CompilerSet makeprg=jikes\ -Xstdout\ +E\ \"%\" 18 | CompilerSet errorformat=%f:%l:%v:%*\\d:%*\\d:%*\\s%m 19 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/mcs.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Mono C# Compiler 3 | " Maintainer: Jarek Sobiecki 4 | " Latest Revision: 2006-06-18 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "mcs" 10 | 11 | let s:cpo_save = &cpo 12 | set cpo-=C 13 | 14 | setlocal errorformat= 15 | \%E%f(%l\\,%c):\ error\ CS%n:%m, 16 | \%W%f(%l\\,%c):\ warning\ CS%n:%m, 17 | \%E%>syntax\ error\\,%m,%Z%f(%l\\,%c):\ error\ CS%n:%m, 18 | \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', 19 | \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', 20 | \%DMaking\ %*\\a\ in\ %f, 21 | \%G-%.%# 22 | 23 | let &cpo = s:cpo_save 24 | unlet s:cpo_save 25 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/mips_c.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: SGI IRIX 6.5 MIPS C (cc) 3 | " Maintainer: David Harrison 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "mips_c" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l, 16 | \%Wcc\-%n\ %.%#:\ WARNING\ File\ =\ %f\%\\,\ Line\ =\ %l, 17 | \%Icc\-%n\ %.%#:\ REMARK\ File\ =\ %f\%\\,\ Line\ =\ %l, 18 | \%+C\ \ %m., 19 | \%-Z\ \ %p^, 20 | \%-G\\s%#, 21 | \%-G%.%# 22 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/mipspro_c89.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: SGI IRIX 6.5 MIPSPro C (c89) 3 | " Maintainer: David Harrison 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "mipspro_c89" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l, 16 | \%Wcc\-%n\ %.%#:\ WARNING\ File\ =\ %f\%\\,\ Line\ =\ %l, 17 | \%Icc\-%n\ %.%#:\ REMARK\ File\ =\ %f\%\\,\ Line\ =\ %l, 18 | \%-Z%p%^, 19 | \%+C\ %\\{10}%m%., 20 | \%+C\ \ %m, 21 | \%-G\\s%#, 22 | \%-G%.%# 23 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/mipspro_cpp.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: SGI IRIX 6.5 MIPSPro C++ (CC) 3 | " Maintainer: David Harrison 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "mipspro_cpp" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l, 16 | \%Wcc\-%n\ %.%#:\ WARNING\ File\ =\ %f\%\\,\ Line\ =\ %l, 17 | \%Icc\-%n\ %.%#:\ REMARK\ File\ =\ %f\%\\,\ Line\ =\ %l, 18 | \%+C\ \ %m., 19 | \%-Z\ \ %p^, 20 | \%-G\\s%#, 21 | \%-G%.%# 22 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/modelsim_vcom.vim: -------------------------------------------------------------------------------- 1 | " Vim Compiler File 2 | " Compiler: Modelsim Vcom 3 | " Maintainer: Paul Baleme 4 | " Last Change: September 8, 2003 5 | " Thanks to: allanherriman@hotmail.com 6 | 7 | if exists("current_compiler") 8 | finish 9 | endif 10 | let current_compiler = "modelsim_vcom" 11 | 12 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 13 | command -nargs=* CompilerSet setlocal 14 | endif 15 | 16 | "setlocal errorformat=\*\*\ %tRROR:\ %f(%l):\ %m,%tRROR:\ %f(%l):\ %m,%tARNING\[%*[0-9]\]:\ %f(%l):\ %m,\*\*\ %tRROR:\ %m,%tRROR:\ %m,%tARNING\[%*[0-9]\]:\ %m 17 | 18 | "setlocal errorformat=%tRROR:\ %f(%l):\ %m,%tARNING\[%*[0-9]\]:\ %m 19 | CompilerSet errorformat=\*\*\ %tRROR:\ %f(%l):\ %m,\*\*\ %tRROR:\ %m,\*\*\ %tARNING:\ %m,\*\*\ %tOTE:\ %m,%tRROR:\ %f(%l):\ %m,%tARNING\[%*[0-9]\]:\ %f(%l):\ %m,%tRROR:\ %m,%tARNING\[%*[0-9]\]:\ %m 20 | 21 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/msvc.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Miscrosoft Visual C 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2005 Nov 30 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "msvc" 10 | 11 | " The errorformat for MSVC is the default. 12 | CompilerSet errorformat& 13 | CompilerSet makeprg=nmake 14 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/neato.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: ATT neato 3 | " Maintainer: Marcos Macedo 4 | " Last Change: 2004 May 16 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "neato" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet makeprg=neato\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\" 16 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/onsgmls.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: onsgmls 3 | " Maintainer: Robert Rowsome 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "onsgmls" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | let s:cpo_save = &cpo 16 | set cpo-=C 17 | 18 | CompilerSet makeprg=onsgmls\ -s\ % 19 | 20 | CompilerSet errorformat=onsgmls:%f:%l:%c:%t:%m, 21 | \onsgmls:%f:%l:%c:%m 22 | 23 | let &cpo = s:cpo_save 24 | unlet s:cpo_save 25 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/pbx.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Apple Project Builder 3 | " Maintainer: Alexander von Below (public@vonBelow.Com) 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "pbx" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | " The compiler actually is gcc, so the errorformat is unchanged 16 | CompilerSet errorformat& 17 | 18 | " default make 19 | CompilerSet makeprg=pbxbuild 20 | 21 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/php.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: PHP 3 | " Maintainer: Doug Kearns 4 | " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/php.vim 5 | " Last Change: 2004 Nov 27 6 | 7 | if exists("current_compiler") 8 | finish 9 | endif 10 | let current_compiler = "php" 11 | 12 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 13 | command -nargs=* CompilerSet setlocal 14 | endif 15 | 16 | let s:cpo_save = &cpo 17 | set cpo-=C 18 | 19 | CompilerSet makeprg=php\ -lq 20 | 21 | CompilerSet errorformat=%EParse\ error:\ %m\ in\ %f\ on\ line\ %l, 22 | \%WNotice:\ %m\ in\ %f\ on\ line\ %l, 23 | \%EParse\ error:\ %m\ in\ %f\ on\ line\ %l, 24 | \%WNotice:\ %m\ in\ %f\ on\ line\ %l, 25 | \%-G%.%# 26 | 27 | let &cpo = s:cpo_save 28 | unlet s:cpo_save 29 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/pyunit.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: Unit testing tool for Python 3 | " Maintainer: Max Ischenko 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "pyunit" 10 | 11 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 12 | command -nargs=* CompilerSet setlocal 13 | endif 14 | 15 | CompilerSet efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m 16 | 17 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/rst.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: reStructuredText Documentation Format 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "rst" 10 | 11 | let s:cpo_save = &cpo 12 | set cpo-=C 13 | 14 | setlocal errorformat= 15 | \%f:%l:\ (%tEBUG/0)\ %m, 16 | \%f:%l:\ (%tNFO/1)\ %m, 17 | \%f:%l:\ (%tARNING/2)\ %m, 18 | \%f:%l:\ (%tRROR/3)\ %m, 19 | \%f:%l:\ (%tEVERE/3)\ %m, 20 | \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', 21 | \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', 22 | \%DMaking\ %*\\a\ in\ %f 23 | 24 | let &cpo = s:cpo_save 25 | unlet s:cpo_save 26 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/rubyunit.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Language: Test::Unit - Ruby Unit Testing Framework 3 | " Maintainer: Doug Kearns 4 | " Info: $Id: rubyunit.vim,v 1.4 2006/04/15 20:28:37 vimboss Exp $ 5 | " URL: http://vim-ruby.rubyforge.org 6 | " Anon CVS: See above site 7 | " Release Coordinator: Doug Kearns 8 | 9 | if exists("current_compiler") 10 | finish 11 | endif 12 | let current_compiler = "rubyunit" 13 | 14 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 15 | command -nargs=* CompilerSet setlocal 16 | endif 17 | 18 | let s:cpo_save = &cpo 19 | set cpo-=C 20 | 21 | CompilerSet makeprg=testrb 22 | 23 | CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:, 24 | \%C%m\ [%f:%l]:, 25 | \%E\ %\\+%\\d%\\+)\ Error:, 26 | \%C%m:, 27 | \%C\ \ \ \ %f:%l:%.%#, 28 | \%C%m, 29 | \%Z\ %#, 30 | \%-G%.%# 31 | 32 | let &cpo = s:cpo_save 33 | unlet s:cpo_save 34 | 35 | " vim: nowrap sw=2 sts=2 ts=8 ff=unix: 36 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/se.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: se (SmartEiffel Compiler) 3 | " Maintainer: Doug Kearns 4 | " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/se.vim 5 | " Last Change: 2004 Nov 27 6 | 7 | if exists("current_compiler") 8 | finish 9 | endif 10 | let current_compiler = "se" 11 | 12 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 13 | command -nargs=* CompilerSet setlocal 14 | endif 15 | 16 | let s:cpo_save = &cpo 17 | set cpo-=C 18 | 19 | CompilerSet makeprg=compile\ % 20 | 21 | CompilerSet errorformat=%W******\ Warning:\ %m, 22 | \%E******\ Fatal\ Error:\ %m, 23 | \%E******\ Error:\ %m, 24 | \%CLine\ %l\ column\ %c\ in\ %\\w%\\+\ (%f)\ :, 25 | \%-G%.%# 26 | 27 | let &cpo = s:cpo_save 28 | unlet s:cpo_save 29 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/tcl.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: tcl 3 | " Maintainer: Doug Kearns 4 | " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/tcl.vim 5 | " Last Change: 2004 Nov 27 6 | 7 | if exists("current_compiler") 8 | finish 9 | endif 10 | let current_compiler = "tcl" 11 | 12 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 13 | command -nargs=* CompilerSet setlocal 14 | endif 15 | 16 | CompilerSet makeprg=tcl 17 | 18 | CompilerSet errorformat=%EError:\ %m,%+Z\ %\\{4}(file\ \"%f\"\ line\ %l),%-G%.%# 19 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/tidy.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: HTML Tidy 3 | " Maintainer: Doug Kearns 4 | " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/tidy.vim 5 | " Last Change: 2004 Nov 27 6 | 7 | " NOTE: set 'tidy_compiler_040800' if you are using the 4th August 2000 release 8 | " of HTML Tidy. 9 | 10 | if exists("current_compiler") 11 | finish 12 | endif 13 | let current_compiler = "tidy" 14 | 15 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 16 | command -nargs=* CompilerSet setlocal 17 | endif 18 | 19 | " this is needed to work around a bug in the 04/08/00 release of tidy which 20 | " failed to set the filename if the -quiet option was used 21 | if exists("tidy_compiler_040800") 22 | CompilerSet makeprg=tidy\ -errors\ --gnu-emacs\ yes\ % 23 | else 24 | CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes\ % 25 | endif 26 | 27 | " sample warning: foo.html:8:1: Warning: inserting missing 'foobar' element 28 | " sample error: foo.html:9:2: Error: is not recognized! 29 | CompilerSet errorformat=%f:%l:%c:\ Error:%m,%f:%l:%c:\ Warning:%m,%-G%.%# 30 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/xmllint.vim: -------------------------------------------------------------------------------- 1 | " Vim compiler file 2 | " Compiler: xmllint 3 | " Maintainer: Doug Kearns 4 | " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/xmllint.vim 5 | " Last Change: 2004 Nov 27 6 | 7 | if exists("current_compiler") 8 | finish 9 | endif 10 | let current_compiler = "xmllint" 11 | 12 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 13 | command -nargs=* CompilerSet setlocal 14 | endif 15 | 16 | let s:cpo_save = &cpo 17 | set cpo-=C 18 | 19 | CompilerSet makeprg=xmllint\ --valid\ --noout\ 20 | 21 | CompilerSet errorformat=%E%f:%l:\ error:\ %m, 22 | \%W%f:%l:\ warning:\ %m, 23 | \%E%f:%l:\ validity\ error:\ %m, 24 | \%W%f:%l:\ validity\ warning:\ %m, 25 | \%-Z%p^, 26 | \%-G%.%# 27 | 28 | let &cpo = s:cpo_save 29 | unlet s:cpo_save 30 | -------------------------------------------------------------------------------- /lib/vimfiles/compiler/xmlwf.vim: -------------------------------------------------------------------------------- 1 | " Vim Compiler File 2 | " Compiler: xmlwf 3 | " Maintainer: Robert Rowsome 4 | " Last Change: 2004 Mar 27 5 | 6 | if exists("current_compiler") 7 | finish 8 | endif 9 | let current_compiler = "xmlwf" 10 | 11 | let s:cpo_save = &cpo 12 | set cpo&vim 13 | 14 | if exists(":CompilerSet") != 2 " older Vim always used :setlocal 15 | command -nargs=* CompilerSet setlocal 16 | endif 17 | 18 | CompilerSet makeprg=xmlwf\ % 19 | 20 | CompilerSet errorformat=%f:%l%c:%m 21 | 22 | let &cpo = s:cpo_save 23 | unlet s:cpo_save 24 | -------------------------------------------------------------------------------- /lib/vimfiles/delmenu.vim: -------------------------------------------------------------------------------- 1 | " This Vim script deletes all the menus, so that they can be redefined. 2 | " Warning: This also deletes all menus defined by the user! 3 | " 4 | " Maintainer: Bram Moolenaar 5 | " Last Change: 2001 May 27 6 | 7 | aunmenu * 8 | 9 | silent! unlet did_install_default_menus 10 | silent! unlet did_install_syntax_menu 11 | if exists("did_menu_trans") 12 | menutrans clear 13 | unlet did_menu_trans 14 | endif 15 | 16 | silent! unlet find_help_dialog 17 | 18 | silent! unlet menutrans_help_dialog 19 | silent! unlet menutrans_path_dialog 20 | silent! unlet menutrans_tags_dialog 21 | silent! unlet menutrans_textwidth_dialog 22 | silent! unlet menutrans_fileformat_dialog 23 | silent! unlet menutrans_no_file 24 | 25 | " vim: set sw=2 : 26 | -------------------------------------------------------------------------------- /lib/vimfiles/doc/digraph.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/digraph.txt -------------------------------------------------------------------------------- /lib/vimfiles/doc/eval.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/eval.txt -------------------------------------------------------------------------------- /lib/vimfiles/doc/farsi.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/farsi.txt -------------------------------------------------------------------------------- /lib/vimfiles/doc/makehtml.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/makehtml.awk -------------------------------------------------------------------------------- /lib/vimfiles/doc/maketags.awk: -------------------------------------------------------------------------------- 1 | BEGIN { FS=" "; } 2 | 3 | NR == 1 { nf=split(FILENAME,f,".") 4 | print ""; 5 | print "" f[1] ""; 6 | print ""; 7 | print "

Vim Documentation: " f[1] "

"; 8 | print ""; 9 | print "
"; 10 | print "
";
11 | }
12 | 
13 | {
14 | 	#
15 | 	# protect special chars
16 | 	#
17 | 	gsub(/&/,"\\&");
18 | 	gsub(/>/,"\\>");
19 | 	gsub(/"tags.ref"
26 | 	n=split($2,w,".");
27 | 	printf ("|%s|	%s\n",w[1],$1,$1,$2);
28 | }
29 | 
30 | END     {
31 | 	topback();
32 | 	print "
\n\n\n\n"; 33 | } 34 | 35 | # 36 | # as main we keep index.txt (by default) 37 | # other candidate, help.txt 38 | # 39 | function topback () { 40 | printf("top - "); 41 | printf("back to help\n"); 42 | } 43 | -------------------------------------------------------------------------------- /lib/vimfiles/doc/map.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/map.txt -------------------------------------------------------------------------------- /lib/vimfiles/doc/mlang.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/mlang.txt -------------------------------------------------------------------------------- /lib/vimfiles/doc/quotes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/quotes.txt -------------------------------------------------------------------------------- /lib/vimfiles/doc/spell.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/spell.txt -------------------------------------------------------------------------------- /lib/vimfiles/doc/usr_24.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/usr_24.txt -------------------------------------------------------------------------------- /lib/vimfiles/doc/version6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/doc/version6.txt -------------------------------------------------------------------------------- /lib/vimfiles/ftoff.vim: -------------------------------------------------------------------------------- 1 | " Vim support file to switch off detection of file types 2 | " 3 | " Maintainer: Bram Moolenaar 4 | " Last change: 2001 Jun 11 5 | 6 | if exists("did_load_filetypes") 7 | unlet did_load_filetypes 8 | endif 9 | 10 | " Remove all autocommands in the filetypedetect group 11 | silent! au! filetypedetect * 12 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin.vim: -------------------------------------------------------------------------------- 1 | " Vim support file to switch on loading plugins for file types 2 | " 3 | " Maintainer: Bram Moolenaar 4 | " Last change: 2006 Apr 30 5 | 6 | if exists("did_load_ftplugin") 7 | finish 8 | endif 9 | let did_load_ftplugin = 1 10 | 11 | augroup filetypeplugin 12 | au FileType * call s:LoadFTPlugin() 13 | 14 | func! s:LoadFTPlugin() 15 | if exists("b:undo_ftplugin") 16 | exe b:undo_ftplugin 17 | unlet! b:undo_ftplugin b:did_ftplugin 18 | endif 19 | 20 | let s = expand("") 21 | if s != "" 22 | if &cpo =~# "S" && exists("b:did_ftplugin") 23 | " In compatible mode options are reset to the global values, need to 24 | " set the local values also when a plugin was already used. 25 | unlet b:did_ftplugin 26 | endif 27 | 28 | " When there is a dot it is used to separate filetype names. Thus for 29 | " "aaa.bbb" load "aaa" and then "bbb". 30 | for name in split(s, '\.') 31 | exe 'runtime! ftplugin/' . name . '.vim ftplugin/' . name . '_*.vim ftplugin/' . name . '/*.vim' 32 | endfor 33 | endif 34 | endfunc 35 | augroup END 36 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/README.txt: -------------------------------------------------------------------------------- 1 | The ftplugin directory is for Vim plugin scripts that are only used for a 2 | specific filetype. 3 | 4 | All files ending in .vim in this directory and subdirectories will be sourced 5 | by Vim when it detects the filetype that matches the name of the file or 6 | subdirectory. 7 | For example, these are all loaded for the "c" filetype: 8 | 9 | c.vim 10 | c_extra.vim 11 | c/settings.vim 12 | 13 | Note that the "_" in "c_extra.vim" is required to separate the filetype name 14 | from the following arbitrary name. 15 | 16 | The filetype plugins are only loaded when the ":filetype plugin" command has 17 | been used. 18 | 19 | The default filetype plugin files contain settings that 95% of the users will 20 | want to use. They do not contain personal preferences, like the value of 21 | 'shiftwidth'. 22 | 23 | If you want to do additional settings, or overrule the default filetype 24 | plugin, you can create your own plugin file. See ":help ftplugin" in Vim. 25 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/a2ps.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: a2ps(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s include=^\\s*Include: 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/aap.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Aap recipe 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2003 Nov 04 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Don't load another plugin for this buffer 12 | let b:did_ftplugin = 1 13 | 14 | " Reset 'formatoptions', 'comments' and 'expandtab' to undo this plugin. 15 | let b:undo_ftplugin = "setl fo< com< et<" 16 | 17 | " Set 'formatoptions' to break comment lines but not other lines, 18 | " and insert the comment leader when hitting or using "o". 19 | setlocal fo-=t fo+=croql 20 | 21 | " Set 'comments' to format dashed lists in comments. 22 | setlocal comments=s:#\ -,m:#\ \,e:#,n:#,fb:- 23 | 24 | " Expand tabs to spaces to avoid trouble. 25 | setlocal expandtab 26 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/alsaconf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: alsaconf(8) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/arch.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: GNU Arch inventory file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/art.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin 2 | " Language: ART-IM and ART*Enterprise 3 | " Maintainer: Dorai Sitaram 4 | " URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html 5 | " Last Change: Apr 2, 2003 6 | 7 | " Only do this when not done yet for this buffer 8 | if exists("b:did_ftplugin") 9 | finish 10 | endif 11 | 12 | run ftplugin/lisp.vim 13 | 14 | setl lw-=if 15 | setl lw+=def-art-fun,deffacts,defglobal,defrule,defschema, 16 | \for,schema,while 17 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/automake.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Automake 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | 10 | runtime! ftplugin/make.vim ftplugin/make_*.vim ftplugin/make/*.vim 11 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/bdf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: BDF font definition 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=b:COMMENT commentstring=COMMENT\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/bst.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: bst 3 | " Author: Tim Pope 4 | " $Id: bst.vim,v 1.1 2007/05/05 17:37:57 vimboss Exp $ 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | setlocal commentstring=%\ %s 12 | setlocal comments=:% 13 | setlocal fo-=t fo+=croql 14 | 15 | let b:undo_ftplugin = "setlocal com< cms< fo<" 16 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/btm.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: BTM 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2004 Jul 06 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Behaves just like dosbatch 12 | runtime! ftplugin/dosbatch.vim ftplugin/dosbatch_*.vim ftplugin/dosbatch/*.vim 13 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/calendar.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: calendar(1) input file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=s1:/*,mb:*,ex:*/ commentstring& include& 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/ch.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Ch 3 | " Maintainer: SoftIntegration, Inc. 4 | " URL: http://www.softintegration.com/download/vim/ftplugin/ch.vim 5 | " Last change: 2004 May 16 6 | " Created based on cpp.vim 7 | " 8 | " Ch is a C/C++ interpreter with many high level extensions 9 | " 10 | 11 | " Only do this when not done yet for this buffer 12 | if exists("b:did_ftplugin") 13 | finish 14 | endif 15 | 16 | " Behaves just like C 17 | runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim 18 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/conf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: generic configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/cpp.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: C++ 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2001 Jan 15 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Behaves just like C 12 | runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim 13 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/crm.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: CRM114 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/cs.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: C# 3 | " Maintainer: Johannes Zellner 4 | " Last Change: Tue, 09 Mar 2004 14:09:33 CET 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Don't load another plugin for this buffer 12 | let b:did_ftplugin = 1 13 | 14 | " Set 'formatoptions' to break comment lines but not other lines, 15 | " and insert the comment leader when hitting or using "o". 16 | setlocal fo-=t fo+=croql 17 | 18 | " Set 'comments' to format dashed lists in comments. 19 | setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// 20 | 21 | if has("gui_win32") && !exists("b:browsefilter") 22 | let b:browsefilter = "C# Source Files (*.cs)\t*.cs\n" . 23 | \ "All Files (*.*)\t*.*\n" 24 | endif 25 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/csc.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: csc 3 | " Maintainer: Dan Sharp 4 | " Last Changed: 2003 Sep 29 5 | " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin 6 | 7 | if exists("b:did_ftplugin") | finish | endif 8 | let b:did_ftplugin = 1 9 | 10 | " Make sure the continuation lines below do not cause problems in 11 | " compatibility mode. 12 | let s:save_cpo = &cpo 13 | set cpo-=C 14 | 15 | if exists("loaded_matchit") 16 | let b:match_words= 17 | \ '\:\,' . 18 | \ '\:\:\,' . 19 | \ '\\|\:\' 20 | endif 21 | 22 | " Undo the stuff we changed. 23 | let b:undo_ftplugin = "unlet! b:match_words" 24 | 25 | " Restore the saved compatibility options. 26 | let &cpo = s:save_cpo 27 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/css.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: CSS 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2007-05-08 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo< ofu<" 12 | 13 | setlocal comments=s1:/*,mb:*,ex:*/ commentstring& 14 | setlocal formatoptions-=t formatoptions+=croql 15 | setlocal omnifunc=csscomplete#CompleteCSS 16 | 17 | let &l:include = '^\s*@import\s\+\%(url(\)\=' 18 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/cvsrc.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: cvs(1) RC file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments= commentstring= formatoptions-=tcroql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/dictconf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: dict(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/dictdconf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: dictd(8) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/diff.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Diff 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2005 Jul 27 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | let b:did_ftplugin = 1 11 | 12 | let b:undo_ftplugin = "setl modeline<" 13 | 14 | " Don't use modelines in a diff, they apply to the diffed file 15 | setlocal nomodeline 16 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/dircolors.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: dircolors(1) input file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/dosbatch.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: MS-DOS .bat files 3 | " Maintainer: Mike Williams 4 | " Last Change: 5th February 2003 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Don't load another plugin for this buffer 12 | let b:did_ftplugin = 1 13 | 14 | " BAT comment formatting 15 | setlocal comments=b:rem,b:@rem,b:REM,b:@REM,b::: 16 | setlocal formatoptions-=t formatoptions+=rol 17 | 18 | " Define patterns for the browse file filter 19 | if has("gui_win32") && !exists("b:browsefilter") 20 | let b:browsefilter = "DOS Batch Files (*.bat, *.btm, *.cmd)\t*.bat;*.btm;*.cmd\nAll Files (*.*)\t*.*\n" 21 | endif 22 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/dtd.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: dtd 3 | " Maintainer: Dan Sharp 4 | " Last Changed: 2003 Sep 29 5 | " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin 6 | 7 | if exists("b:did_ftplugin") | finish | endif 8 | let b:did_ftplugin = 1 9 | 10 | " Make sure the continuation lines below do not cause problems in 11 | " compatibility mode. 12 | let s:save_cpo = &cpo 13 | set cpo-=C 14 | 15 | setlocal commentstring= 16 | 17 | if exists("loaded_matchit") 18 | let b:match_words = ',' 19 | endif 20 | 21 | " Change the :browse e filter to primarily show Java-related files. 22 | if has("gui_win32") 23 | let b:browsefilter="DTD Files (*.dtd)\t*.dtd\n" . 24 | \ "XML Files (*.xml)\t*.xml\n" . 25 | \ "All Files (*.*)\t*.*\n" 26 | endif 27 | 28 | " Undo the stuff we changed. 29 | let b:undo_ftplugin = "setlocal commentstring<" . 30 | \ " | unlet! b:matchwords b:browsefilter" 31 | 32 | " Restore the saved compatibility options. 33 | let &cpo = s:save_cpo 34 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/elinks.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: elinks(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/eterm.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: eterm(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s include=^\\s*include 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/fetchmail.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: fetchmail(1) RC File 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/fvwm.vim: -------------------------------------------------------------------------------- 1 | " Created : Tue 09 May 2006 02:07:31 PM CDT 2 | " Modified : Tue 09 May 2006 02:07:31 PM CDT 3 | " Author : Gautam Iyer 4 | " Description : ftplugin for fvwm config files 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/gpg.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: gpg(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/group.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: group(5) user group file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/grub.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: grub(8) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/haskell.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Haskell 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=s1fl:{-,mb:-,ex:-},:-- commentstring=--\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/help.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Vim help file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl fo< tw<" 12 | 13 | setlocal formatoptions+=tcroql textwidth=78 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/htmldjango.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Django HTML template 3 | " Maintainer: Dave Hodder 4 | " Last Change: 2007 Jan 25 5 | 6 | " Only use this filetype plugin when no other was loaded. 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Use HTML and Django template ftplugins. 12 | runtime! ftplugin/html.vim 13 | runtime! ftplugin/django.vim 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/indent.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: indent(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=s1:/*,mb:*,ex:*/ commentstring& 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/kconfig.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Maintainer: Nikolai Weibull 3 | " Latest Revision: 2006-04-10 4 | 5 | if exists("b:did_ftplugin") 6 | finish 7 | endif 8 | let b:did_ftplugin = 1 9 | 10 | let b:undo_ftplugin = "setl com< cms< fo<" 11 | 12 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 13 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/kwt.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Kimwitu++ 3 | " Maintainer: Michael Piefel 4 | " Last Change: 16 August 2001 5 | 6 | " Behaves almost like C++ 7 | runtime! ftplugin/cpp.vim ftplugin/cpp_*.vim ftplugin/cpp/*.vim 8 | 9 | set cpo-=C 10 | 11 | " Limit the browser to related files 12 | if has("gui_win32") && !exists("b:browsefilter") 13 | let b:browsefilter = "Kimwitu/Kimwitu++ Files (*.k)\t*.k\n" . 14 | \ "Lex/Flex Files (*.l)\t*.l\n" . 15 | \ "Yacc/Bison Files (*.y)\t*.y\n" . 16 | \ "All Files (*.*)\t*.*\n" 17 | endif 18 | 19 | " Set the errorformat for the Kimwitu++ compiler 20 | set efm+=kc%.%#:\ error\ at\ %f:%l:\ %m 21 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/ld.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: ld(1) script 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*%s*/ include=^\\s*INCLUDE 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/lftp.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: lftp(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/libao.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: libao.conf(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/limits.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: limits(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/lisp.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin 2 | " Language: Lisp 3 | " Maintainer: Sergey Khorev 4 | " URL: http://iamphet.nm.ru/vim 5 | " Original author: Dorai Sitaram 6 | " Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html 7 | " Last Change: Nov 8, 2004 8 | 9 | " Only do this when not done yet for this buffer 10 | if exists("b:did_ftplugin") 11 | finish 12 | endif 13 | 14 | " Don't load another plugin for this buffer 15 | let b:did_ftplugin = 1 16 | 17 | setl comments=:; 18 | setl define=^\\s*(def\\k* 19 | setl formatoptions-=t 20 | setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94 21 | setl lisp 22 | 23 | " make comments behaviour like in c.vim 24 | " e.g. insertion of ;;; and ;; on normal "O" or "o" when staying in comment 25 | setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|# 26 | setl formatoptions+=croql 27 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/loginaccess.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: login.access(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/logindefs.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: login.defs(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/lua.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file. 2 | " Language: Lua 4.0+ 3 | " Maintainer: Max Ischenko 4 | " Last Change: 2001 Sep 17 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Don't load another plugin for this buffer 12 | let b:did_ftplugin = 1 13 | 14 | " Set 'formatoptions' to break comment lines but not other lines, and insert 15 | " the comment leader when hitting or using "o". 16 | setlocal fo-=t fo+=croql 17 | 18 | setlocal com=:-- 19 | setlocal cms="--%s" 20 | setlocal suffixesadd=.lua 21 | 22 | 23 | " The following lines enable the macros/matchit.vim plugin for 24 | " extended matching with the % key. 25 | 26 | set cpo-=C 27 | if exists("loaded_matchit") 28 | 29 | let b:match_ignorecase = 0 30 | let b:match_words = 31 | \ '\<\%(do\|function\|if\)\>:' . 32 | \ '\<\%(return\|else\|elseif\)\>:' . 33 | \ '\,' . 34 | \ '\:\' 35 | 36 | endif " exists("loaded_matchit") 37 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/m4.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: m4 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:#,:dnl commentstring=dnl\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/mailaliases.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Maintainer: Nikolai Weibull 3 | " Latest Revision: 2006-03-27 4 | 5 | if exists("b:did_ftplugin") 6 | finish 7 | endif 8 | let b:did_ftplugin = 1 9 | 10 | let b:undo_ftplugin = "setl com< cms< fo<" 11 | 12 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 13 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/mailcap.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Mailcap configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/make.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Make 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2006 Jun 17 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | let b:did_ftplugin = 1 11 | 12 | let b:undo_ftplugin = "setl et< sts< fo< com< cms< inc<" 13 | 14 | " Make sure a hard tab is used, required for most make programs 15 | setlocal noexpandtab softtabstop=0 16 | 17 | " Set 'formatoptions' to break comment lines but not other lines, 18 | " and insert the comment leader when hitting or using "o". 19 | setlocal fo-=t fo+=croql 20 | 21 | " Set 'comments' to format dashed lists in comments 22 | setlocal com=sO:#\ -,mO:#\ \ ,b:# 23 | 24 | " Set 'commentstring' to put the marker after a #. 25 | setlocal commentstring=#\ %s 26 | 27 | " Including files. 28 | let &l:include = '^\s*include' 29 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/manconf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: man.conf(5) - man configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/matlab.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: matlab 3 | " Maintainer: Jake Wasserman 4 | " Last Changed: 2006 Jan 12 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let s:save_cpo = &cpo 12 | set cpo-=C 13 | 14 | if exists("loaded_matchit") 15 | let s:conditionalEnd = '\(([^()]*\)\@!\\([^()]*)\)\@!' 16 | let b:match_words = '\\|\\|\\|\:' . 17 | \ s:conditionalEnd . ',\:\:\:' . 18 | \ s:conditionalEnd 19 | endif 20 | 21 | setlocal suffixesadd=.m 22 | setlocal suffixes+=.asv 23 | 24 | let b:undo_ftplugin = "setlocal suffixesadd< suffixes< " 25 | \ . "| unlet! b:match_words" 26 | 27 | let &cpo = s:save_cpo 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/mf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: MetaFont 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql 14 | 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/modconf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: modules.conf(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s include=^\\s*include 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/mp.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: MetaPost 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-07-04 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:% commentstring=%\ %s formatoptions-=t formatoptions+=croql 14 | 15 | if exists(":FixBeginfigs") != 2 16 | command -nargs=0 FixBeginfigs call s:fix_beginfigs() 17 | 18 | function! s:fix_beginfigs() 19 | let i = 1 20 | g/^beginfig(\d*);$/s//\='beginfig('.i.');'/ | let i = i + 1 21 | endfunction 22 | endif 23 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/mplayerconf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: mplayer(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s include=^\\s*include 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/mrxvtrc.vim: -------------------------------------------------------------------------------- 1 | " Created : Wed 26 Apr 2006 01:20:53 AM CDT 2 | " Modified : Fri 28 Apr 2006 03:24:01 AM CDT 3 | " Author : Gautam Iyer 4 | " Description : ftplugin for mrxvtrc 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | " Really any line that does not match an option is a comment. But use '!' for 14 | " compatibility with x-defaults files, and "#" (preferred) for compatibility 15 | " with all other config files. 16 | " 17 | " Comments beginning with "#" are preferred because Vim will not flag the 18 | " first word as a spelling error if it is not capitalised. The '!' used as 19 | " comment leaders makes Vim think that every comment line is a new sentence. 20 | 21 | setlocal comments=:!,:# commentstring=#\ %s 22 | setlocal formatoptions-=t formatoptions+=croql 23 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/mupad.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: MuPAD source files 3 | " Maintainer: Dave Silvia 4 | " Filenames: *.mu 5 | " Date: 6/30/2004 6 | 7 | if exists("b:did_ftplugin") | finish | endif 8 | let b:did_ftplugin = 1 9 | 10 | " Change the :browse e filter to primarily show MuPAD source files. 11 | if has("gui_win32") 12 | let b:browsefilter= 13 | \ "MuPAD source (*.mu)\t*.mu\n" . 14 | \ "All Files (*.*)\t*.*\n" 15 | endif 16 | 17 | " matchit.vim not loaded -- don't do anyting below 18 | if !exists("loaded_matchit") 19 | " echomsg "matchit.vim not loaded -- finishing" 20 | finish 21 | endif 22 | 23 | " source the AppendMatchGroup function file 24 | runtime ftplugin/AppendMatchGroup.vim 25 | 26 | " fill b:match_words for MuPAD 27 | call AppendMatchGroup('domain,end_domain') 28 | call AppendMatchGroup('proc,begin,end_proc') 29 | call AppendMatchGroup('if,then,elif,else,end_if') 30 | call AppendMatchGroup('\%(for\|while\|repeat\|case\),of,do,break,next,until,\%(end_for\|end_while\|end_repeat\|end_case\)') 31 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/muttrc.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: mutt RC File 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | 16 | let &l:include = '^\s*source\>' 17 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/nanorc.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: nanorc(5) - GNU nano configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/netrc.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: netrc(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/objc.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Objective C 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2003 Jan 15 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Behaves just like C 12 | runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim 13 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/pamconf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: pam(8) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/pascal.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: pascal 3 | " Maintainer: Dan Sharp 4 | " Last Changed: 2005 Sep 05 5 | " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin 6 | 7 | if exists("b:did_ftplugin") | finish | endif 8 | let b:did_ftplugin = 1 9 | 10 | if exists("loaded_matchit") 11 | let b:match_words='\<\%(begin\|case\|try\)\>:\' 12 | endif 13 | 14 | " Undo the stuff we changed. 15 | let b:undo_ftplugin = "unlet! b:match_words" 16 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/passwd.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: passwd(5) password file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/pinfo.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: pinfo(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/postscr.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: PostScript 3 | " Maintainer: Mike Williams 4 | " Last Change: 27th June 2002 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Don't load another plugin for this buffer 12 | let b:did_ftplugin = 1 13 | 14 | " PS comment formatting 15 | setlocal comments=b:% 16 | setlocal formatoptions-=t formatoptions+=rol 17 | 18 | " Define patterns for the matchit macro 19 | if !exists("b:match_words") 20 | let b:match_ignorecase = 0 21 | let b:match_words = '<<:>>,\:\,\:\,\:\' 22 | endif 23 | 24 | set cpo-=C 25 | 26 | " Define patterns for the browse file filter 27 | if has("gui_win32") && !exists("b:browsefilter") 28 | let b:browsefilter = "PostScript Files (*.ps)\t*.ps\n" . 29 | \ "EPS Files (*.eps)\t*.eps\n" . 30 | \ "All Files (*.*)\t*.*\n" 31 | endif 32 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/procmail.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: procmail(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | 15 | let &l:include = '^\s*INCLUDERC\>' 16 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/prolog.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Prolog 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=s1:/*,mb:*,ex:*/,:% commentstring=%\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/protocols.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: protocols(5) - Internet protocols definition file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/pyrex.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Pyrex 3 | " Maintainer: Marco Barisione 4 | " URL: http://marcobari.altervista.org/pyrex_vim.html 5 | " Last Change: 2004 May 16 6 | 7 | " Only do this when not done yet for this buffer 8 | if exists("b:did_ftplugin") 9 | finish 10 | endif 11 | 12 | " Behaves just like Python 13 | runtime! ftplugin/python.vim ftplugin/python_*.vim ftplugin/python/*.vim 14 | 15 | if has("gui_win32") && exists("b:browsefilter") 16 | let b:browsefilter = "Pyrex files (*.pyx,*.pxd)\t*.pyx;*.pxd\n" . 17 | \ "Python Files (*.py)\t*.py\n" . 18 | \ "C Source Files (*.c)\t*.c\n" . 19 | \ "C Header Files (*.h)\t*.h\n" . 20 | \ "C++ Source Files (*.cpp *.c++)\t*.cpp;*.c++\n" . 21 | \ "All Files (*.*)\t*.*\n" 22 | endif 23 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/quake.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Quake[1-3] configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:// commentstring=//\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/racc.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Racc input file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/readline.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: readline(3) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/rnc.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Relax NG compact syntax 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/rpl.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/ftplugin/rpl.vim -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/rst.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: reStructuredText documentation format 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< et< fo<" 12 | 13 | setlocal comments=fb:.. commentstring=..\ %s expandtab 14 | setlocal formatoptions+=tcroql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/screen.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: screen(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/sensors.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: sensors.conf(5) - libsensors configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/services.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: services(5) - Internet network services list 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/setserial.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: setserial(8) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/sieve.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Sieve filtering language input file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=s1:/*,mb:*,ex:*/,:# commentstring=#\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/slpconf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: RFC 2614 - An API for Service Location configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:#,:; commentstring=#\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/slpreg.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: RFC 2614 - An API for Service Location registration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:#,:; commentstring=#\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/slpspi.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: RFC 2614 - An API for Service Location SPI file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:#,:; commentstring=#\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/sshconfig.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: OpenSSH client configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/sudoers.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: sudoers(5) configuration files 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/sysctl.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: sysctl.conf(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:;,:# commentstring=#\ %s 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/terminfo.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: terminfo(5) definition 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/udevconf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: udev(8) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/udevperm.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: udev(8) permissions file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/udevrules.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: udev(8) rules file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/updatedb.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: updatedb.conf(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/xdefaults.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: X resources files like ~/.Xdefaults (xrdb) 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=s1:/*,mb:*,ex:*/,:! commentstring& inc& 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/xf86conf.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: XFree86 Configuration File 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/xinetd.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: xinetd.conf(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< inc< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s include=^\\s*include 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/xmodmap.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: xmodmap(1) definition file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:! commentstring=!\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/xs.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: XS (Perl extension interface language) 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2001 Sep 18 5 | 6 | " Only do this when not done yet for this buffer 7 | if exists("b:did_ftplugin") 8 | finish 9 | endif 10 | 11 | " Just use the C plugin for now. 12 | runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim 13 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/xslt.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: xslt 3 | " Maintainer: Dan Sharp 4 | " Last Changed: 2004 Jul 08 5 | " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin 6 | 7 | if exists("b:did_ftplugin") | finish | endif 8 | 9 | runtime! ftplugin/xml.vim ftplugin/xml_*.vim ftplugin/xml/*.vim 10 | 11 | let b:did_ftplugin = 1 12 | 13 | " Change the :browse e filter to primarily show xsd-related files. 14 | if has("gui_win32") && exists("b:browsefilter") 15 | let b:browsefilter="XSLT Files (*.xsl,*.xslt)\t*.xsl;*.xslt\n" . b:browsefilter 16 | endif 17 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/yaml.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: YAML (YAML Ain't Markup Language) 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< et< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s expandtab 14 | setlocal formatoptions-=t formatoptions+=croql 15 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugin/zsh.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype plugin file 2 | " Language: Zsh shell script 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_ftplugin") 7 | finish 8 | endif 9 | let b:did_ftplugin = 1 10 | 11 | let b:undo_ftplugin = "setl com< cms< fo<" 12 | 13 | setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql 14 | -------------------------------------------------------------------------------- /lib/vimfiles/ftplugof.vim: -------------------------------------------------------------------------------- 1 | " Vim support file to switch off loading plugins for file types 2 | " 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2002 Apr 04 5 | 6 | if exists("did_load_ftplugin") 7 | unlet did_load_ftplugin 8 | endif 9 | 10 | " Remove all autocommands in the filetypeplugin group 11 | silent! au! filetypeplugin * 12 | -------------------------------------------------------------------------------- /lib/vimfiles/indent.vim: -------------------------------------------------------------------------------- 1 | " Vim support file to switch on loading indent files for file types 2 | " 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2005 Mar 28 5 | 6 | if exists("did_indent_on") 7 | finish 8 | endif 9 | let did_indent_on = 1 10 | 11 | augroup filetypeindent 12 | au FileType * call s:LoadIndent() 13 | func! s:LoadIndent() 14 | if exists("b:undo_indent") 15 | exe b:undo_indent 16 | unlet! b:undo_indent b:did_indent 17 | endif 18 | if expand("") != "" 19 | if exists("b:did_indent") 20 | unlet b:did_indent 21 | endif 22 | runtime! indent/.vim 23 | endif 24 | endfunc 25 | augroup END 26 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/aap.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Aap recipe 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2005 Jun 24 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | 11 | " Works mostly like Python. 12 | runtime! indent/python.vim 13 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/ant.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: ANT files 3 | " Maintainer: David Fishburn 4 | " Last Change: Thu May 15 2003 10:02:54 PM 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | 11 | " Use XML formatting rules 12 | runtime! indent/xml.vim 13 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/automake.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: automake 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | 10 | " same as makefile indenting for now. 11 | runtime! indent/make.vim 12 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/bib.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: BibTeX 3 | " Maintainer: Dorai Sitaram 4 | " URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html 5 | " Last Change: 2005 Mar 28 6 | 7 | " Only do this when not done yet for this buffer 8 | if exists("b:did_indent") 9 | finish 10 | endif 11 | let b:did_indent = 1 12 | 13 | setlocal cindent 14 | 15 | let b:undo_indent = "setl cin<" 16 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/c.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: C 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2005 Mar 27 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | let b:did_indent = 1 11 | 12 | " C indenting is built-in, thus this is very simple 13 | setlocal cindent 14 | 15 | let b:undo_indent = "setl cin<" 16 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/ch.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Ch 3 | " Maintainer: SoftIntegration, Inc. 4 | " URL: http://www.softintegration.com/download/vim/indent/ch.vim 5 | " Last change: 2006 Apr 30 6 | " Created based on cpp.vim 7 | " 8 | " Ch is a C/C++ interpreter with many high level extensions 9 | 10 | 11 | " Only load this indent file when no other was loaded. 12 | if exists("b:did_indent") 13 | finish 14 | endif 15 | let b:did_indent = 1 16 | 17 | " Ch indenting is built-in, thus this is very simple 18 | setlocal cindent 19 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/changelog.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: generic Changelog file 3 | " Maintainer: noone 4 | " Last Change: 2005 Mar 29 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | let b:did_indent = 1 11 | 12 | setlocal ai 13 | 14 | let b:undo_indent = "setl ai<" 15 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/cpp.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: C++ 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2001 Jun 12 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | let b:did_indent = 1 11 | 12 | " C++ indenting is built-in, thus this is very simple 13 | setlocal cindent 14 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/cs.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: C# 3 | " Maintainer: Johannes Zellner 4 | " Last Change: Fri, 15 Mar 2002 07:53:54 CET 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | let b:did_indent = 1 11 | 12 | " C# is like indenting C 13 | setlocal cindent 14 | 15 | let b:undo_indent = "setl cin<" 16 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/d.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file for the D programming language (version 0.137). 2 | " 3 | " Language: D 4 | " Maintainer: Jason Mills 5 | " Last Change: 2005 Nov 22 6 | " Version: 0.1 7 | " 8 | " Please email me with bugs, comments, and suggestion. Put vim in the subject 9 | " to ensure the email will not be marked has spam. 10 | " 11 | 12 | " Only load this indent file when no other was loaded. 13 | if exists("b:did_indent") 14 | finish 15 | endif 16 | 17 | let b:did_indent = 1 18 | 19 | " D indenting is a lot like the built-in C indenting. 20 | setlocal cindent 21 | 22 | " vim: ts=8 noet 23 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/dictconf.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: dict(1) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-12-20 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | let b:did_indent = 1 10 | 11 | setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent 12 | setlocal nosmartindent 13 | inoremap # X# 14 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/dictdconf.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: dictd(8) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-12-20 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | let b:did_indent = 1 10 | 11 | setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent 12 | setlocal nosmartindent 13 | inoremap # X# 14 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/docbk.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: DocBook Documentation Format 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | 10 | " Same as XML indenting for now. 11 | runtime! indent/xml.vim 12 | 13 | if exists('*XmlIndentGet') 14 | setlocal indentexpr=XmlIndentGet(v:lnum,0) 15 | endif 16 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/eterm.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Eterm configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-12-20 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | let b:did_indent = 1 10 | 11 | setlocal indentexpr=GetEtermIndent() 12 | setlocal indentkeys=!^F,o,O,=end 13 | setlocal nosmartindent 14 | 15 | if exists("*GetEtermIndent") 16 | finish 17 | endif 18 | 19 | function GetEtermIndent() 20 | let lnum = prevnonblank(v:lnum - 1) 21 | if lnum == 0 22 | return 0 23 | endif 24 | 25 | let ind = indent(lnum) 26 | 27 | if getline(lnum) =~ '^\s*begin\>' 28 | let ind = ind + &sw 29 | endif 30 | 31 | if getline(v:lnum) =~ '^\s*end\>' 32 | let ind = ind - &sw 33 | endif 34 | 35 | return ind 36 | endfunction 37 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/htmldjango.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Django HTML template 3 | " Maintainer: Dave Hodder 4 | " Last Change: 2007 Jan 25 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | 11 | " Use HTML formatting rules. 12 | runtime! indent/html.vim 13 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/javascript.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Javascript 3 | " Maintainer: None! Wanna improve this? 4 | " Last Change: 2007 Jan 22 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | let b:did_indent = 1 11 | 12 | " C indenting is not too bad. 13 | setlocal cindent 14 | 15 | let b:undo_indent = "setl cin<" 16 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/jsp.vim: -------------------------------------------------------------------------------- 1 | " Vim filetype indent file 2 | " Language: JSP files 3 | " Maintainer: David Fishburn 4 | " Version: 1.0 5 | " Last Change: Wed Nov 08 2006 11:08:05 AM 6 | 7 | " Only load this indent file when no other was loaded. 8 | if exists("b:did_indent") 9 | finish 10 | endif 11 | 12 | " If there has been no specific JSP indent script created, 13 | " use the default html indent script which will handle 14 | " html, javascript and most of the JSP constructs. 15 | runtime! indent/html.vim 16 | 17 | 18 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/lisp.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Lisp 3 | " Maintainer: Sergey Khorev 4 | " URL: http://iamphet.nm.ru/vim 5 | " Last Change: 2005 May 19 6 | 7 | " Only load this indent file when no other was loaded. 8 | if exists("b:did_indent") 9 | finish 10 | endif 11 | let b:did_indent = 1 12 | 13 | setlocal ai nosi 14 | 15 | let b:undo_indent = "setl ai< si<" 16 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/pyrex.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Pyrex 3 | " Maintainer: Marco Barisione 4 | " URL: http://marcobari.altervista.org/pyrex_vim.html 5 | " Last Change: 2005 Jun 24 6 | 7 | " Only load this indent file when no other was loaded. 8 | if exists("b:did_indent") 9 | finish 10 | endif 11 | 12 | " Use Python formatting rules 13 | runtime! indent/python.vim 14 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/readline.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: readline configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-12-20 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | let b:did_indent = 1 10 | 11 | setlocal indentexpr=GetReadlineIndent() 12 | setlocal indentkeys=!^F,o,O,=$else,=$endif 13 | setlocal nosmartindent 14 | 15 | if exists("*GetReadlineIndent") 16 | finish 17 | endif 18 | 19 | function GetReadlineIndent() 20 | let lnum = prevnonblank(v:lnum - 1) 21 | if lnum == 0 22 | return 0 23 | endif 24 | 25 | let ind = indent(lnum) 26 | 27 | if getline(lnum) =~ '^\s*$\(if\|else\)\>' 28 | let ind = ind + &sw 29 | endif 30 | 31 | if getline(v:lnum) =~ '^\s*$\(else\|endif\)\>' 32 | let ind = ind - &sw 33 | endif 34 | 35 | return ind 36 | endfunction 37 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/rpl.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/indent/rpl.vim -------------------------------------------------------------------------------- /lib/vimfiles/indent/scheme.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Scheme 3 | " Maintainer: Sergey Khorev 4 | " Last Change: 2005 Jun 24 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | 11 | runtime! indent/lisp.vim 12 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/tilde.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/indent/tilde.vim -------------------------------------------------------------------------------- /lib/vimfiles/indent/xf86conf.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: XFree86 Configuration File 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-12-20 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | let b:did_indent = 1 10 | 11 | setlocal indentexpr=GetXF86ConfIndent() 12 | setlocal indentkeys=!^F,o,O,=End 13 | setlocal nosmartindent 14 | 15 | if exists("*GetXF86ConfIndent") 16 | finish 17 | endif 18 | 19 | function GetXF86ConfIndent() 20 | let lnum = prevnonblank(v:lnum - 1) 21 | 22 | if lnum == 0 23 | return 0 24 | endif 25 | 26 | let ind = indent(lnum) 27 | 28 | if getline(lnum) =~? '^\s*\(Sub\)\=Section\>' 29 | let ind = ind + &sw 30 | endif 31 | 32 | if getline(v:lnum) =~? '^\s*End\(Sub\)\=Section\>' 33 | let ind = ind - &sw 34 | endif 35 | 36 | return ind 37 | endfunction 38 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/xhtml.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: XHTML 3 | " Maintainer: Bram Moolenaar (for now) 4 | " Last Change: 2005 Jun 24 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | 11 | " Handled like HTML for now. 12 | runtime! indent/html.vim 13 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/xsd.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: .xsd files (XML Schema) 3 | " Maintainer: Nobody 4 | " Last Change: 2005 Jun 09 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | 11 | " Use XML formatting rules 12 | runtime! indent/xml.vim 13 | 14 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/xslt.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: XSLT .xslt files 3 | " Maintainer: David Fishburn 4 | " Last Change: Wed May 14 2003 8:48:41 PM 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | 11 | " Use XML formatting rules 12 | runtime! indent/xml.vim 13 | 14 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/yacc.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: YACC input file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-12-20 5 | 6 | " Only load this indent file when no other was loaded. 7 | if exists("b:did_indent") 8 | finish 9 | endif 10 | 11 | let b:did_indent = 1 12 | 13 | setlocal indentexpr=GetYaccIndent() 14 | setlocal indentkeys=!^F,o,O 15 | setlocal nosmartindent 16 | 17 | " Only define the function once. 18 | if exists("*GetYaccIndent") 19 | finish 20 | endif 21 | 22 | function GetYaccIndent() 23 | if v:lnum == 1 24 | return 0 25 | endif 26 | 27 | let ind = indent(v:lnum - 1) 28 | let line = getline(v:lnum - 1) 29 | 30 | if line == '' 31 | let ind = 0 32 | elseif line =~ '^\w\+\s*:' 33 | let ind = ind + matchend(line, '^\w\+\s*') 34 | elseif line =~ '^\s*;' 35 | let ind = 0 36 | else 37 | let ind = indent(v:lnum) 38 | endif 39 | 40 | return ind 41 | endfunction 42 | -------------------------------------------------------------------------------- /lib/vimfiles/indent/zsh.vim: -------------------------------------------------------------------------------- 1 | " Vim indent file 2 | " Language: Zsh Shell Script 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:did_indent") 7 | finish 8 | endif 9 | 10 | " Same as sh indenting for now. 11 | runtime! indent/sh.vim 12 | -------------------------------------------------------------------------------- /lib/vimfiles/indoff.vim: -------------------------------------------------------------------------------- 1 | " Vim support file to switch off loading indent files for file types 2 | " 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2001 Jun 11 5 | 6 | if exists("did_indent_on") 7 | unlet did_indent_on 8 | endif 9 | 10 | " Remove all autocommands in the filetypeindent group 11 | silent! au! filetypeindent * 12 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/hanoi/click.me: -------------------------------------------------------------------------------- 1 | 2 | 3 | See Vim solve the towers of Hanoi! 4 | 5 | Instructions: 6 | type ":so hanoi.vim" to load the macros 7 | type "g" to start it 8 | 9 | and watch it go. 10 | 11 | to quit type ":q!" 12 | to interrupt type CTRL-C 13 | 14 | (This text will disappear as soon as you type "g") 15 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/less.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Shell script to start Vim with less.vim. 3 | # Read stdin if no arguments were given. 4 | 5 | if test $# = 0; then 6 | vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' - 7 | else 8 | vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' "$@" 9 | fi 10 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/life/click.me: -------------------------------------------------------------------------------- 1 | 2 | To run the "Conway's game of life" macros: 3 | 4 | 1. Type ":so life.vim". This loads the macros. 5 | 2. Type "g" to run the macros. 6 | 3. Type CTRL-C to interrupt. 7 | 4. Type ":q!" to get out. 8 | 9 | See life.vim for more advanced usage. 10 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/maze/Makefile: -------------------------------------------------------------------------------- 1 | # It's simple... 2 | 3 | maze: mazeansi.c 4 | cc -o maze mazeansi.c 5 | 6 | mazeclean: mazeclean.c 7 | cc -o mazeclean mazeclean.c 8 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/maze/main.aap: -------------------------------------------------------------------------------- 1 | # Aap recipe to build the maze program 2 | :program maze : mazeansi.c 3 | 4 | :program mazeclean : mazeclean.c 5 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/maze/maze.c: -------------------------------------------------------------------------------- 1 | char*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C); 2 | -- E; J[ E] =T 3 | [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|" 4 | ) , A = 39 ,C -- 5 | ) ; Z || printf (M ))M[Z]=Z[A-(E =A[J-Z])&&!C 6 | & A == T[ A] 7 | |6<<27" to load the macros 11 | 12 | type "g" to start 13 | 14 | to interrupt type "" 15 | to quit type ":q!" 16 | 17 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/maze/mazeansi.c: -------------------------------------------------------------------------------- 1 | char*M,A,Z,E=40,J[80],T[3];main(C){for(M=J+E,*J=A=scanf("%d",& 2 | C) ;-- E;J [E ]=M 3 | [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|" 4 | ) , A = 39 ,C -- 5 | ) ; Z || printf (T ))T[Z]=Z[A-(E =A[J-Z])&&!C 6 | & A == M[ A] 7 | |6<<27 7 | #include 8 | 9 | char *M, A, Z, E = 40, line[80], T[3]; 10 | int 11 | main (C) 12 | { 13 | for (M = line + E, *line = A = scanf ("%d", &C); --E; line[E] = M[E] = E) 14 | printf ("._"); 15 | for (; (A -= Z = !Z) || (printf ("\n|"), A = 39, C--); Z || printf (T)) 16 | T[Z] = Z[A - (E = A[line - Z]) && !C 17 | & A == M[A] 18 | | RAND_MAX/3 < rand () 19 | || !C & !Z ? line[M[E] = M[A]] = E, line[M[A] = A - Z] = 20 | A, "_." : " |"]; 21 | return 0; 22 | } 23 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/swapmous.vim: -------------------------------------------------------------------------------- 1 | " These macros swap the left and right mouse buttons (for left handed) 2 | " Don't forget to do ":set mouse=a" or the mouse won't work at all 3 | noremap 4 | noremap <2-LeftMouse> <2-RightMouse> 5 | noremap <3-LeftMouse> <3-RightMouse> 6 | noremap <4-LeftMouse> <4-RightMouse> 7 | noremap 8 | noremap 9 | noremap 10 | noremap <2-RightMouse> <2-LeftMouse> 11 | noremap <3-RightMouse> <3-LeftMouse> 12 | noremap <4-RightMouse> <4-LeftMouse> 13 | noremap 14 | noremap 15 | noremap g 16 | noremap g 17 | noremap! 18 | noremap! 19 | noremap! 20 | noremap! 21 | noremap! 22 | noremap! 23 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/urm/urm: -------------------------------------------------------------------------------- 1 | >0 2 | >3 3 | >4 4 | >0 5 | >0 6 | >0 7 | (a4;a5;s2)2; ((a2;s4)4; s3; (a1;a4;s5)5; (a5;s1)1)3. 8 | _________ 9 | O ; =xp ( =x%hp ) @l a @db s @dt . =x0xkdd:ready _end_ 10 | o 0 1 2 3 4 5 6 7 8 9 0 11 | _________ 12 | INIT main(k), l, b, c, t, u, q, d 13 | "kT "lT "bT "cT "tT "uT "qT "dT 14 | =lF'wa/O fpaw"zdt hp@z0"xD@x@k 15 | =2ldwhp'wiGT'wp0P0"yD@ya =xlwP >0 =x%p I k/>0 ww"ydt 0D@y 16 | 'wa/o fwF'wpi`ar`aF'wffp0"vD@v0"vDp03x@v'wa @c 0 0 0I f0w"wdt 0D@w 17 | `ahmaF'wa 'aa1 > @b 0p0f>w"vdt 0D@v 18 | 'wa/o wfbF'wpi`ar`aF'wffp0"vD@v0"vDp03x@v'wa @u 9 0 0I f9w"wdt 0D@w 19 | `ahmaF'wa `alr0 > @q 0p0f>w"vdt 0D@v 20 | `ahy2l'wa `ax >1 @t 0p0/>1 ww"idt 0D@i 21 | =xwhpbldwhp'wpaG$ma0"yD@y@ 22 | 23 | -------------------------------------------------------------------------------- /lib/vimfiles/macros/urm/urm.vim: -------------------------------------------------------------------------------- 1 | map * 1G/INIT j"iT@i1G/INIT dG 2 | map g 1G/^[(as;.] i >,mkkmw@k 3 | map T y$ 4 | map F yl 5 | map = 'kf, 6 | -------------------------------------------------------------------------------- /lib/vimfiles/plugin/README.txt: -------------------------------------------------------------------------------- 1 | The plugin directory is for standard Vim plugin scripts. 2 | 3 | All files here ending in .vim will be sourced by Vim when it starts up. 4 | Look in the file for hints on how it can be disabled without deleting it. 5 | 6 | getscriptPlugin.vim get latest version of Vim scripts 7 | gzip.vim edit compressed files 8 | matchparen.vim highlight paren matching the one under the cursor 9 | netrwPlugin.vim edit files over a network and browse (remote) directories 10 | rrhelper.vim used for --remote-wait editing 11 | spellfile.vim download a spellfile when it's missing 12 | tarPlugin.vim edit (compressed) tar files 13 | tohtml.vim convert a file with syntax highlighting to HTML 14 | vimballPlugin.vim create and unpack .vba files 15 | zipPlugin.vim edit zip archives 16 | 17 | Note: the explorer.vim plugin is no longer here, the netrw.vim plugin has 18 | taken over browsing directories (also for remote directories). 19 | 20 | -------------------------------------------------------------------------------- /lib/vimfiles/plugin/spellfile.vim: -------------------------------------------------------------------------------- 1 | " Vim plugin for downloading spell files 2 | " Maintainer: Bram Moolenaar 3 | " Last Change: 2006 Feb 01 4 | 5 | " Exit quickly when: 6 | " - this plugin was already loaded 7 | " - when 'compatible' is set 8 | " - some autocommands are already taking care of spell files 9 | if exists("loaded_spellfile_plugin") || &cp || exists("#SpellFileMissing") 10 | finish 11 | endif 12 | let loaded_spellfile_plugin = 1 13 | 14 | " The function is in the autoload directory. 15 | autocmd SpellFileMissing * call spellfile#LoadFile(expand('')) 16 | -------------------------------------------------------------------------------- /lib/vimfiles/plugin/tohtml.vim: -------------------------------------------------------------------------------- 1 | " Vim plugin for converting a syntax highlighted file to HTML. 2 | " Maintainer: Bram Moolenaar 3 | " Last Change: 2003 Apr 06 4 | 5 | " Don't do this when: 6 | " - when 'compatible' is set 7 | " - this plugin was already loaded 8 | " - user commands are not available. 9 | if !&cp && !exists(":TOhtml") && has("user_commands") 10 | command -range=% TOhtml :call Convert2HTML(, ) 11 | 12 | func Convert2HTML(line1, line2) 13 | if a:line2 >= a:line1 14 | let g:html_start_line = a:line1 15 | let g:html_end_line = a:line2 16 | else 17 | let g:html_start_line = a:line2 18 | let g:html_end_line = a:line1 19 | endif 20 | 21 | runtime syntax/2html.vim 22 | 23 | unlet g:html_start_line 24 | unlet g:html_end_line 25 | endfunc 26 | 27 | endif 28 | -------------------------------------------------------------------------------- /lib/vimfiles/print/ascii.ps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 Resource-Encoding 2 | %%Title: VIM-ascii 3 | %%Version: 1.0 0 4 | %%EndComments 5 | /VIM-ascii[ 6 | 32{/.notdef}repeat 7 | /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle 8 | /parenleft /parenright /asterisk /plus /comma /minus /period /slash 9 | /zero /one /two /three /four /five /six /seven 10 | /eight /nine /colon /semicolon /less /equal /greater /question 11 | /at /A /B /C /D /E /F /G 12 | /H /I /J /K /L /M /N /O 13 | /P /Q /R /S /T /U /V /W 14 | /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore 15 | /grave /a /b /c /d /e /f /g 16 | /h /i /j /k /l /m /n /o 17 | /p /q /r /s /t /u /v /w 18 | /x /y /z /braceleft /bar /braceright /asciitilde /.notdef 19 | 128{/.notdef}repeat] 20 | /Encoding defineresource pop 21 | % vim:ff=unix: 22 | %%EOF 23 | -------------------------------------------------------------------------------- /lib/vimfiles/print/cns_roman.ps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 Resource-Encoding 2 | %%Title: VIM-cns_roman 3 | %%Version: 1.0 0 4 | %%EndComments 5 | % Different to ASCII at code point 126 6 | /VIM-cns_roman[ 7 | 32{/.notdef}repeat 8 | /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle 9 | /parenleft /parenright /asterisk /plus /comma /minus /period /slash 10 | /zero /one /two /three /four /five /six /seven 11 | /eight /nine /colon /semicolon /less /equal /greater /question 12 | /at /A /B /C /D /E /F /G 13 | /H /I /J /K /L /M /N /O 14 | /P /Q /R /S /T /U /V /W 15 | /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore 16 | /grave /a /b /c /d /e /f /g 17 | /h /i /j /k /l /m /n /o 18 | /p /q /r /s /t /u /v /w 19 | /x /y /z /braceleft /bar /braceright /overline /.notdef 20 | 128{/.notdef}repeat] 21 | /Encoding defineresource pop 22 | % vim:ff=unix: 23 | %%EOF 24 | -------------------------------------------------------------------------------- /lib/vimfiles/print/gb_roman.ps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 Resource-Encoding 2 | %%Title: VIM-gb_roman 3 | %%Version: 1.0 0 4 | %%EndComments 5 | % Different to ASCII at code points 36 and 126 6 | /VIM-gb_roman[ 7 | 32{/.notdef}repeat 8 | /space /exclam /quotedbl /numbersign /yuan /percent /ampersand /quotesingle 9 | /parenleft /parenright /asterisk /plus /comma /minus /period /slash 10 | /zero /one /two /three /four /five /six /seven 11 | /eight /nine /colon /semicolon /less /equal /greater /question 12 | /at /A /B /C /D /E /F /G 13 | /H /I /J /K /L /M /N /O 14 | /P /Q /R /S /T /U /V /W 15 | /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore 16 | /grave /a /b /c /d /e /f /g 17 | /h /i /j /k /l /m /n /o 18 | /p /q /r /s /t /u /v /w 19 | /x /y /z /braceleft /bar /braceright /overline /.notdef 20 | 128{/.notdef}repeat] 21 | /Encoding defineresource pop 22 | % vim:ff=unix: 23 | %%EOF 24 | -------------------------------------------------------------------------------- /lib/vimfiles/print/jis_roman.ps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 Resource-Encoding 2 | %%Title: VIM-jis_roman 3 | %%Version: 1.0 0 4 | %%EndComments 5 | % Different to ASCII at code points 92 and 126 6 | /VIM-jis_roman[ 7 | 32{/.notdef}repeat 8 | /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle 9 | /parenleft /parenright /asterisk /plus /comma /minus /period /slash 10 | /zero /one /two /three /four /five /six /seven 11 | /eight /nine /colon /semicolon /less /equal /greater /question 12 | /at /A /B /C /D /E /F /G 13 | /H /I /J /K /L /M /N /O 14 | /P /Q /R /S /T /U /V /W 15 | /X /Y /Z /bracketleft /yen /bracketright /asciicircum /underscore 16 | /grave /a /b /c /d /e /f /g 17 | /h /i /j /k /l /m /n /o 18 | /p /q /r /s /t /u /v /w 19 | /x /y /z /braceleft /bar /braceright /overline /.notdef 20 | 128{/.notdef}repeat] 21 | /Encoding defineresource pop 22 | % vim:ff=unix: 23 | %%EOF 24 | -------------------------------------------------------------------------------- /lib/vimfiles/print/ks_roman.ps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-3.0 Resource-Encoding 2 | %%Title: VIM-ks_roman 3 | %%Version: 1.0 0 4 | %%EndComments 5 | % Different to ASCII at code points 96 and 126 6 | /VIM-ks_roman[ 7 | 32{/.notdef}repeat 8 | /space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quotesingle 9 | /parenleft /parenright /asterisk /plus /comma /minus /period /slash 10 | /zero /one /two /three /four /five /six /seven 11 | /eight /nine /colon /semicolon /less /equal /greater /question 12 | /at /A /B /C /D /E /F /G 13 | /H /I /J /K /L /M /N /O 14 | /P /Q /R /S /T /U /V /W 15 | /X /Y /Z /bracketleft /won /bracketright /asciicircum /underscore 16 | /grave /a /b /c /d /e /f /g 17 | /h /i /j /k /l /m /n /o 18 | /p /q /r /s /t /u /v /w 19 | /x /y /z /braceleft /bar /braceright /overline /.notdef 20 | 128{/.notdef}repeat] 21 | /Encoding defineresource pop 22 | % vim:ff=unix: 23 | %%EOF 24 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/catalog.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: sgml catalog file 3 | " Maintainer: Johannes Zellner 4 | " Last Change: Fr, 04 Nov 2005 12:46:45 CET 5 | " Filenames: /etc/sgml.catalog 6 | " $Id: catalog.vim,v 1.2 2005/11/23 21:11:10 vimboss Exp $ 7 | 8 | " Quit when a syntax file was already loaded 9 | if exists("b:current_syntax") 10 | finish 11 | endif 12 | 13 | syn case ignore 14 | 15 | " strings 16 | syn region catalogString start=+"+ skip=+\\\\\|\\"+ end=+"+ keepend 17 | syn region catalogString start=+'+ skip=+\\\\\|\\'+ end=+'+ keepend 18 | 19 | syn region catalogComment start=+--+ end=+--+ contains=catalogTodo 20 | syn keyword catalogTodo TODO FIXME XXX NOTE contained 21 | syn keyword catalogKeyword DOCTYPE OVERRIDE PUBLIC DTDDECL ENTITY CATALOG 22 | 23 | 24 | " The default highlighting. 25 | hi def link catalogString String 26 | hi def link catalogComment Comment 27 | hi def link catalogTodo Todo 28 | hi def link catalogKeyword Statement 29 | 30 | let b:current_syntax = "catalog" 31 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/chaskell.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: Haskell supporting c2hs binding hooks 3 | " Maintainer: Armin Sander 4 | " Last Change: 2001 November 1 5 | " 6 | " 2001 November 1: Changed commands for sourcing haskell.vim 7 | 8 | " Enable binding hooks 9 | let b:hs_chs=1 10 | 11 | " Include standard Haskell highlighting 12 | if version < 600 13 | source :p:h/haskell.vim 14 | else 15 | runtime! syntax/haskell.vim 16 | endif 17 | 18 | " vim: ts=8 19 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/conf.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: generic configure file 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2005 Jun 20 5 | 6 | " Quit when a (custom) syntax file was already loaded 7 | if exists("b:current_syntax") 8 | finish 9 | endif 10 | 11 | syn keyword confTodo contained TODO FIXME XXX 12 | " Avoid matching "text#text", used in /etc/disktab and /etc/gettytab 13 | syn match confComment "^#.*" contains=confTodo 14 | syn match confComment "\s#.*"ms=s+1 contains=confTodo 15 | syn region confString start=+"+ skip=+\\\\\|\\"+ end=+"+ oneline 16 | syn region confString start=+'+ skip=+\\\\\|\\'+ end=+'+ oneline 17 | 18 | " Define the default highlighting. 19 | " Only used when an item doesn't have highlighting yet 20 | hi def link confComment Comment 21 | hi def link confTodo Todo 22 | hi def link confString String 23 | 24 | let b:current_syntax = "conf" 25 | 26 | " vim: ts=8 sw=2 27 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/css.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/css.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/ctrlh.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: CTRL-H (e.g., ASCII manpages) 3 | " Maintainer: Bram Moolenaar 4 | " Last Change: 2005 Jun 20 5 | 6 | " Existing syntax is kept, this file can be used as an addition 7 | 8 | " Recognize underlined text: _^Hx 9 | syntax match CtrlHUnderline /_\b./ contains=CtrlHHide 10 | 11 | " Recognize bold text: x^Hx 12 | syntax match CtrlHBold /\(.\)\b\1/ contains=CtrlHHide 13 | 14 | " Hide the CTRL-H (backspace) 15 | syntax match CtrlHHide /.\b/ contained 16 | 17 | " Define the default highlighting. 18 | " Only used when an item doesn't have highlighting yet 19 | hi def link CtrlHHide Ignore 20 | hi def CtrlHUnderline term=underline cterm=underline gui=underline 21 | hi def CtrlHBold term=bold cterm=bold gui=bold 22 | 23 | " vim: ts=8 24 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/dns.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: DNS/BIND Zone File 3 | 4 | " This has been replaced by the bindzone syntax 5 | :runtime! syntax/bindzone.vim 6 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/docbksgml.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: DocBook SGML 3 | " Maintainer: Johannes Zellner 4 | " Last Change: Sam, 07 Sep 2002 17:20:46 CEST 5 | 6 | let b:docbk_type="sgml" 7 | runtime syntax/docbk.vim 8 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/docbkxml.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: DocBook XML 3 | " Maintainer: Johannes Zellner 4 | " Last Change: Sam, 07 Sep 2002 17:20:12 CEST 5 | 6 | let b:docbk_type="xml" 7 | runtime syntax/docbk.vim 8 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/elf.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/elf.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/erlang.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/erlang.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/forth.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/forth.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/fortran.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/fortran.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/fvwm2m4.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: FvwmM4 preprocessed Fvwm2 configuration files 3 | " Maintainer: David Ne\v{c}as (Yeti) 4 | " Last Change: 2002-06-02 5 | " URI: http://physics.muni.cz/~yeti/download/syntax/fvwmm4.vim 6 | 7 | " Setup 8 | if version >= 600 9 | if exists('b:current_syntax') 10 | finish 11 | endif 12 | else 13 | syntax clear 14 | endif 15 | 16 | " Let included files know they are included 17 | if !exists('main_syntax') 18 | let main_syntax = 'fvwm2m4' 19 | endif 20 | 21 | " Include M4 syntax 22 | if version >= 600 23 | runtime! syntax/m4.vim 24 | else 25 | so :p:h/m4.vim 26 | endif 27 | unlet b:current_syntax 28 | 29 | " Include Fvwm2 syntax (Fvwm1 doesn't have M4 preprocessor) 30 | if version >= 600 31 | runtime! syntax/fvwm.vim 32 | else 33 | so :p:h/fvwm.vim 34 | endif 35 | unlet b:current_syntax 36 | 37 | " That's all! 38 | let b:current_syntax = 'fvwm2m4' 39 | 40 | if main_syntax == 'fvwm2m4' 41 | unlet main_syntax 42 | endif 43 | 44 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/groff.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/groff.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/htmlcheetah.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: HTML with Cheetah tags 3 | " Maintainer: Max Ischenko 4 | " Last Change: 2003-05-11 5 | 6 | " For version 5.x: Clear all syntax items 7 | " For version 6.x: Quit when a syntax file was already loaded 8 | if version < 600 9 | syntax clear 10 | elseif exists("b:current_syntax") 11 | finish 12 | endif 13 | 14 | if !exists("main_syntax") 15 | let main_syntax = 'html' 16 | endif 17 | 18 | if version < 600 19 | so :p:h/cheetah.vim 20 | so :p:h/html.vim 21 | else 22 | runtime! syntax/cheetah.vim 23 | runtime! syntax/html.vim 24 | unlet b:current_syntax 25 | endif 26 | 27 | syntax cluster htmlPreproc add=cheetahPlaceHolder 28 | syntax cluster htmlString add=cheetahPlaceHolder 29 | 30 | let b:current_syntax = "htmlcheetah" 31 | 32 | 33 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/htmlm4.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: HTML and M4 3 | " Maintainer: Claudio Fleiner 4 | " URL: http://www.fleiner.com/vim/syntax/htmlm4.vim 5 | " Last Change: 2001 Apr 30 6 | 7 | " For version 5.x: Clear all syntax items 8 | " For version 6.x: Quit when a syntax file was already loaded 9 | if version < 600 10 | syntax clear 11 | elseif exists("b:current_syntax") 12 | finish 13 | endif 14 | 15 | " we define it here so that included files can test for it 16 | if !exists("main_syntax") 17 | let main_syntax='htmlm4' 18 | endif 19 | 20 | if version < 600 21 | so :p:h/html.vim 22 | else 23 | runtime! syntax/html.vim 24 | endif 25 | unlet b:current_syntax 26 | syn case match 27 | 28 | if version < 600 29 | so :p:h/m4.vim 30 | else 31 | runtime! syntax/m4.vim 32 | endif 33 | unlet b:current_syntax 34 | syn cluster htmlPreproc add=@m4Top 35 | syn cluster m4StringContents add=htmlTag,htmlEndTag 36 | 37 | let b:current_syntax = "htmlm4" 38 | 39 | if main_syntax == 'htmlm4' 40 | unlet main_syntax 41 | endif 42 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/icemenu.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: Icewm Menu 3 | " Maintainer: James Mahler 4 | " Last Change: Fri Apr 1 15:13:48 EST 2005 5 | " Extensions: ~/.icewm/menu 6 | " Comment: Icewm is a lightweight window manager. This adds syntax 7 | " highlighting when editing your user's menu file (~/.icewm/menu). 8 | 9 | " clear existing syntax 10 | if version < 600 11 | syntax clear 12 | elseif exists("b:current_syntax") 13 | finish 14 | endif 15 | 16 | " not case sensitive 17 | syntax case ignore 18 | 19 | " icons .xpm .png and .gif 20 | syntax match _icon /"\=\/.*\.xpm"\=/ 21 | syntax match _icon /"\=\/.*\.png"\=/ 22 | syntax match _icon /"\=\/.*\.gif"\=/ 23 | syntax match _icon /"\-"/ 24 | 25 | " separator 26 | syntax keyword _rules separator 27 | 28 | " prog and menu 29 | syntax keyword _ids menu prog 30 | 31 | " highlights 32 | highlight link _rules Underlined 33 | highlight link _ids Type 34 | highlight link _icon Special 35 | 36 | let b:current_syntax = "IceMenu" 37 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/initng.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/initng.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/iss.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/iss.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/libao.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: libao.conf(5) configuration file 3 | " Maintainer: Nikolai Weibull 4 | " Latest Revision: 2006-04-19 5 | 6 | if exists("b:current_syntax") 7 | finish 8 | endif 9 | 10 | let s:cpo_save = &cpo 11 | set cpo&vim 12 | 13 | syn keyword libaoTodo contained TODO FIXME XXX NOTE 14 | 15 | syn region libaoComment display oneline start='^\s*#' end='$' 16 | \ contains=libaoTodo,@Spell 17 | 18 | syn keyword libaoKeyword default_driver 19 | 20 | hi def link libaoTodo Todo 21 | hi def link libaoComment Comment 22 | hi def link libaoKeyword Keyword 23 | 24 | let b:current_syntax = "libao" 25 | 26 | let &cpo = s:cpo_save 27 | unlet s:cpo_save 28 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/lout.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/lout.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/manual.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax support file 2 | " Maintainer: Bram Moolenaar 3 | " Last Change: 2001 Jun 04 4 | 5 | " This file is used for ":syntax manual". 6 | " It installs the Syntax autocommands, but no the FileType autocommands. 7 | 8 | if !has("syntax") 9 | finish 10 | endif 11 | 12 | " Load the Syntax autocommands and set the default methods for highlighting. 13 | if !exists("syntax_on") 14 | so :p:h/synload.vim 15 | endif 16 | 17 | let syntax_manual = 1 18 | 19 | " Remove the connection between FileType and Syntax autocommands. 20 | silent! au! syntaxset FileType 21 | 22 | " If the GUI is already running, may still need to install the FileType menu. 23 | if has("gui_running") && !exists("did_install_syntax_menu") 24 | source $VIMRUNTIME/menu.vim 25 | endif 26 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/mmix.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/mmix.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/moo.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/moo.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/nosyntax.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax support file 2 | " Maintainer: Bram Moolenaar 3 | " Last Change: 2006 Apr 16 4 | 5 | " This file is used for ":syntax off". 6 | " It removes the autocommands and stops highlighting for all buffers. 7 | 8 | if !has("syntax") 9 | finish 10 | endif 11 | 12 | " Remove all autocommands for the Syntax event. This also avoids that 13 | " "syntax=foo" in a modeline triggers the SynSet() function of synload.vim. 14 | au! Syntax 15 | 16 | " remove all syntax autocommands and remove the syntax for each buffer 17 | augroup syntaxset 18 | au! 19 | au BufEnter * syn clear 20 | au BufEnter * if exists("b:current_syntax") | unlet b:current_syntax | endif 21 | doautoall syntaxset BufEnter * 22 | au! 23 | augroup END 24 | 25 | if exists("syntax_on") 26 | unlet syntax_on 27 | endif 28 | if exists("syntax_manual") 29 | unlet syntax_manual 30 | endif 31 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/nroff.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/nroff.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/objcpp.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: ObjC++ 3 | " Maintainer: Anthony Hodsdon 4 | " Last change: 2003 Apr 25 5 | 6 | " For version 5.x: Clear all syntax items 7 | " For version 6.x: Quit when a syntax file was already loaded 8 | if version < 600 9 | syntax clear 10 | elseif exists("b:current_syntax") 11 | finish 12 | endif 13 | 14 | " Read in C++ and ObjC syntax files 15 | if version < 600 16 | so :p:h/cpp.vim 17 | so :p:h/objc.vim 18 | else 19 | runtime! syntax/cpp.vim 20 | unlet b:current_syntax 21 | runtime! syntax/objc.vim 22 | endif 23 | 24 | " Note that we already have a region for method calls ( [objc_class method] ) 25 | " by way of cBracket. 26 | syn region objCFunc start="^\s*[-+]" end="$" contains=ALLBUT,cErrInParen,cErrInBracket 27 | 28 | syn keyword objCppNonStructure class template namespace transparent contained 29 | syn keyword objCppNonStatement new delete friend using transparent contained 30 | 31 | let b:current_syntax = "objcpp" 32 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/pascal.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/pascal.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/qf.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: Quickfix window 3 | " Maintainer: Bram Moolenaar 4 | " Last change: 2001 Jan 15 5 | 6 | " Quit when a syntax file was already loaded 7 | if exists("b:current_syntax") 8 | finish 9 | endif 10 | 11 | " A bunch of useful C keywords 12 | syn match qfFileName "^[^|]*" nextgroup=qfSeparator 13 | syn match qfSeparator "|" nextgroup=qfLineNr contained 14 | syn match qfLineNr "[^|]*" contained contains=qfError 15 | syn match qfError "error" contained 16 | 17 | " The default highlighting. 18 | hi def link qfFileName Directory 19 | hi def link qfLineNr LineNr 20 | hi def link qfError Error 21 | 22 | let b:current_syntax = "qf" 23 | 24 | " vim: ts=8 25 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/registry.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/registry.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/rnoweb.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/rnoweb.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/robots.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/robots.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/rpl.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/rpl.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/rtf.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/rtf.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/sas.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/sas.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/sendpr.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: FreeBSD send-pr file 3 | " Maintainer: Hendrik Scholz 4 | " Last Change: 2002 Mar 21 5 | " 6 | " http://raisdorf.net/files/misc/send-pr.vim 7 | 8 | " For version 5.x: Clear all syntax items 9 | " For version 6.x: Quit when a syntax file was already loaded 10 | if version < 600 11 | syntax clear 12 | elseif exists("b:current_syntax") 13 | finish 14 | endif 15 | 16 | syn match sendprComment /^SEND-PR:/ 17 | " email address 18 | syn match sendprType /<[a-zA-Z0-9\-\_\.]*@[a-zA-Z0-9\-\_\.]*>/ 19 | " ^> lines 20 | syn match sendprString /^>[a-zA-Z\-]*:/ 21 | syn region sendprLabel start="\[" end="\]" 22 | syn match sendprString /^To:/ 23 | syn match sendprString /^From:/ 24 | syn match sendprString /^Reply-To:/ 25 | syn match sendprString /^Cc:/ 26 | syn match sendprString /^X-send-pr-version:/ 27 | syn match sendprString /^X-GNATS-Notify:/ 28 | 29 | hi def link sendprComment Comment 30 | hi def link sendprType Type 31 | hi def link sendprString String 32 | hi def link sendprLabel Label 33 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/sh.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/sh.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/tar.vim: -------------------------------------------------------------------------------- 1 | " Language : Tar Listing Syntax 2 | " Maintainer : Bram Moolenaar 3 | " Last change: Sep 08, 2004 4 | 5 | if exists("b:current_syntax") 6 | finish 7 | endif 8 | 9 | syn match tarComment '^".*' contains=tarFilename 10 | syn match tarFilename 'tarfile \zs.*' contained 11 | syn match tarDirectory '.*/$' 12 | 13 | hi def link tarComment Comment 14 | hi def link tarFilename Constant 15 | hi def link tarDirectory Type 16 | 17 | " vim: ts=8 18 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/tilde.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/syntax/tilde.vim -------------------------------------------------------------------------------- /lib/vimfiles/syntax/whitespace.vim: -------------------------------------------------------------------------------- 1 | " Simplistic way to make spaces and Tabs visible 2 | 3 | " This can be added to an already active syntax. 4 | 5 | syn match Space " " 6 | syn match Tab "\t" 7 | if &background == "dark" 8 | hi def Space ctermbg=darkred guibg=#500000 9 | hi def Tab ctermbg=darkgreen guibg=#003000 10 | else 11 | hi def Space ctermbg=lightred guibg=#ffd0d0 12 | hi def Tab ctermbg=lightgreen guibg=#d0ffd0 13 | endif 14 | -------------------------------------------------------------------------------- /lib/vimfiles/syntax/xhtml.vim: -------------------------------------------------------------------------------- 1 | " Vim syntax file 2 | " Language: XHTML 3 | " Maintainer: noone 4 | " Last Change: 2003 Feb 04 5 | 6 | " Load the HTML syntax for now. 7 | runtime! syntax/html.vim 8 | 9 | let b:current_syntax = "xhtml" 10 | 11 | " vim: ts=8 12 | -------------------------------------------------------------------------------- /lib/vimfiles/tools/blink.c: -------------------------------------------------------------------------------- 1 | /* 2 | * An extremely simple program to make the cursor blink in an xterm. 3 | * This is useful when the cursor is hard to spot in a highlighted file. 4 | * Start in the background: "blink&" Stop by killing it. 5 | * Bram Moolenaar 980109 (based on an idea from John Lange). 6 | */ 7 | 8 | #include 9 | 10 | main() 11 | { 12 | while (1) 13 | { 14 | printf("\e[?25h"); 15 | fflush(stdout); 16 | usleep(400000); /* on time */ 17 | printf("\e[?25l"); 18 | fflush(stdout); 19 | usleep(250000); /* off time */ 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /lib/vimfiles/tools/efm_perl.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/tools/efm_perl.pl -------------------------------------------------------------------------------- /lib/vimfiles/tools/mve.awk: -------------------------------------------------------------------------------- 1 | #!/usr/bin/nawk -f 2 | # 3 | # Change "nawk" to "awk" or "gawk" if you get errors. 4 | # 5 | # Make Vim Errors 6 | # Processes errors from cc for use by Vim's quick fix tools 7 | # specifically it translates the ---------^ notation to a 8 | # column number 9 | # 10 | BEGIN { FS="[:,]" } 11 | 12 | /^cfe/ { file=$3 13 | msg=$5 14 | split($4,s," ") 15 | line=s[2] 16 | } 17 | 18 | # You may have to substitute a tab character for the \t here: 19 | /^[\t-]*\^/ { 20 | p=match($0, ".*\\^" ) 21 | col=RLENGTH-2 22 | printf("%s, line %d, col %d : %s\n", file,line,col,msg) 23 | } 24 | -------------------------------------------------------------------------------- /lib/vimfiles/tools/mve.txt: -------------------------------------------------------------------------------- 1 | [ The mve awk script was posted on the vimdev mailing list ] 2 | 3 | From: jimmer@barney.mdhc.mdc.com (J. McGlasson) 4 | Date: Mon, 31 Mar 1997 13:16:49 -0700 (Mar) 5 | 6 | My compiler (SGI MIPSpro C compiler - IRIX 6.4) works like this. 7 | I have written a script mve (make vim errors), through which I pipe my make 8 | output, which translates output of the following form: 9 | 10 | cfe: Error: syntax.c, line 4: Syntax Error 11 | int i[12; 12 | ------------^ 13 | 14 | into: 15 | 16 | cl.c, line 4, col 12 : Syntax Error 17 | 18 | (in vim notation: %f, line %l, col %c : %m) 19 | 20 | You might be able to tailor this for your compiler's output. 21 | -------------------------------------------------------------------------------- /lib/vimfiles/tools/ref: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # ref - Check spelling of the arguments 4 | # 5 | # Usage: ref word .. 6 | # 7 | # can be used for the K command of Vim 8 | # 9 | spell <External Tools... 4 | @rem Add 5 | @rem Title - Vim 6 | @rem Command - d:\files\util\vim_vs_net.cmd 7 | @rem Arguments - +$(CurLine) $(ItemPath) 8 | @rem Init Dir - Empty 9 | @rem 10 | @rem Coutesy of Brian Sturk 11 | @rem 12 | @rem --remote-silent +%1 is a command +954, move ahead 954 lines 13 | @rem --remote-silent %2 full path to file 14 | @rem In Vim 15 | @rem :h --remote-silent for mor details 16 | @rem 17 | @rem --servername VS_NET 18 | @rem This will create a new instance of vim called VS_NET. So if you 19 | open 20 | @rem multiple files from VS, they will use the same instance of Vim. 21 | @rem This allows you to have multiple copies of Vim running, but you can 22 | @rem control which one has VS files in it. 23 | @rem 24 | start /b gvim.exe --servername VS_NET --remote-silent "%1" "%2" 25 | -------------------------------------------------------------------------------- /lib/vimfiles/tools/vimm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # enable DEC locator input model on remote terminal 3 | echo "\033[1;2'z\033[1;3'{\c" 4 | vim "$@" 5 | # disable DEC locator input model on remote terminal 6 | echo "\033[2;4'{\033[0'z\c" 7 | -------------------------------------------------------------------------------- /lib/vimfiles/tools/vimspell.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/lib/vimfiles/tools/vimspell.sh -------------------------------------------------------------------------------- /lib/vimfiles/tools/vimspell.txt: -------------------------------------------------------------------------------- 1 | vimspell.sh 2 | =========== 3 | 4 | This is a simple script to spell check a file and generate the syntax 5 | statements necessary to highlight the errors in vim. It is based on a 6 | similar program by Krishna Gadepalli . 7 | 8 | To use this script, first place it in a directory in your path. Next, 9 | you should add some convenient key mappings. I use the following (in 10 | .vimrc): 11 | 12 | noremap :so `vimspell.sh %` 13 | noremap :syntax clear SpellErrors 14 | 15 | This program requires the old Unix "spell" command. On my Debian 16 | system, "spell" is a wrapper around "ispell". For better security, 17 | you should uncomment the line in the script that uses "tempfile" to 18 | create a temporary file. As all systems don't have "tempfile" the 19 | insecure "pid method" is used. 20 | 21 | 22 | Neil Schemenauer 23 | -------------------------------------------------------------------------------- /lib/vimfiles/tutor/README.txt: -------------------------------------------------------------------------------- 1 | Tutor is a "hands on" tutorial for new users of the Vim editor. 2 | 3 | Most new users can get through it in less than one hour. The result 4 | is that you can do a simple editing task using the Vim editor. 5 | 6 | Tutor is a file that contains the tutorial lessons. You can simply 7 | execute "vim tutor" and then follow the instructions in the lessons. 8 | The lessons tell you to modify the file, so DON'T DO THIS ON YOUR 9 | ORIGINAL COPY. 10 | 11 | On Unix you can also use the "vimtutor" program. It will make a 12 | scratch copy of the tutor first. 13 | 14 | I have considered adding more advanced lessons but have not found the 15 | time. Please let me know how you like it and send any improvements you 16 | make. 17 | 18 | Bob Ware, Colorado School of Mines, Golden, Co 80401, USA 19 | (303) 273-3987 20 | bware@mines.colorado.edu bware@slate.mines.colorado.edu bware@mines.bitnet 21 | 22 | [This file was modified for Vim by Bram Moolenaar] 23 | -------------------------------------------------------------------------------- /mysign: -------------------------------------------------------------------------------- 1 | =auto/configure-lastupdate=1178970549.78-@buildcheck=dfc15c059b7ce88a951584995c49a201=configure.in@md5=e0d6e9a7d7b986d63ce4e8e7362fd0b9 2 | -------------------------------------------------------------------------------- /pathdef.c: -------------------------------------------------------------------------------- 1 | /* pathdef.c */ 2 | #include "vim.h" 3 | char_u *default_vim_dir = (char_u *)"./lib"; 4 | char_u *default_vimruntime_dir = (char_u *)"./lib/vimfiles"; 5 | char_u *all_cflags = (char_u *)"pcc -c -D_POSIX_SOURCE -DPLAN9 -D_PLAN9_SOURCE -Iproto"; 6 | char_u *all_lflags = (char_u *)"pcc -o 6.vim"; 7 | char_u *compiled_user = (char_u *)"glenda"; 8 | char_u *compiled_sys = (char_u *)"tenshi"; 9 | -------------------------------------------------------------------------------- /proto/digraph.pro: -------------------------------------------------------------------------------- 1 | /* digraph.c */ 2 | int do_digraph __ARGS((int c)); 3 | int get_digraph __ARGS((int cmdline)); 4 | int getdigraph __ARGS((int char1, int char2, int meta)); 5 | void putdigraph __ARGS((char_u *str)); 6 | void listdigraphs __ARGS((void)); 7 | char_u *keymap_init __ARGS((void)); 8 | void ex_loadkeymap __ARGS((exarg_T *eap)); 9 | /* vim: set ft=c : */ 10 | -------------------------------------------------------------------------------- /proto/gui_beval.pro: -------------------------------------------------------------------------------- 1 | /* gui_beval.c */ 2 | void general_beval_cb __ARGS((BalloonEval *beval, int state)); 3 | BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData)); 4 | void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval)); 5 | void gui_mch_enable_beval_area __ARGS((BalloonEval *beval)); 6 | void gui_mch_disable_beval_area __ARGS((BalloonEval *beval)); 7 | BalloonEval *gui_mch_currently_showing_beval __ARGS((void)); 8 | int get_beval_info __ARGS((BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp)); 9 | void gui_mch_post_balloon __ARGS((BalloonEval *beval, char_u *mesg)); 10 | void gui_mch_unpost_balloon __ARGS((BalloonEval *beval)); 11 | /* vim: set ft=c : */ 12 | -------------------------------------------------------------------------------- /proto/hardcopy.pro: -------------------------------------------------------------------------------- 1 | /* hardcopy.c */ 2 | char_u *parse_printoptions __ARGS((void)); 3 | char_u *parse_printmbfont __ARGS((void)); 4 | int prt_header_height __ARGS((void)); 5 | int prt_use_number __ARGS((void)); 6 | int prt_get_unit __ARGS((int idx)); 7 | void ex_hardcopy __ARGS((exarg_T *eap)); 8 | void mch_print_cleanup __ARGS((void)); 9 | int mch_print_init __ARGS((prt_settings_T *psettings, char_u *jobname, int forceit)); 10 | int mch_print_begin __ARGS((prt_settings_T *psettings)); 11 | void mch_print_end __ARGS((prt_settings_T *psettings)); 12 | int mch_print_end_page __ARGS((void)); 13 | int mch_print_begin_page __ARGS((char_u *str)); 14 | int mch_print_blank_page __ARGS((void)); 15 | void mch_print_start_line __ARGS((int margin, int page_line)); 16 | int mch_print_text_out __ARGS((char_u *p, int len)); 17 | void mch_print_set_font __ARGS((int iBold, int iItalic, int iUnderline)); 18 | void mch_print_set_bg __ARGS((long_u bgcol)); 19 | void mch_print_set_fg __ARGS((long_u fgcol)); 20 | /* vim: set ft=c : */ 21 | -------------------------------------------------------------------------------- /proto/hashtab.pro: -------------------------------------------------------------------------------- 1 | /* hashtab.c */ 2 | void hash_init __ARGS((hashtab_T *ht)); 3 | void hash_clear __ARGS((hashtab_T *ht)); 4 | void hash_clear_all __ARGS((hashtab_T *ht, int off)); 5 | hashitem_T *hash_find __ARGS((hashtab_T *ht, char_u *key)); 6 | hashitem_T *hash_lookup __ARGS((hashtab_T *ht, char_u *key, hash_T hash)); 7 | void hash_debug_results __ARGS((void)); 8 | int hash_add __ARGS((hashtab_T *ht, char_u *key)); 9 | int hash_add_item __ARGS((hashtab_T *ht, hashitem_T *hi, char_u *key, hash_T hash)); 10 | void hash_remove __ARGS((hashtab_T *ht, hashitem_T *hi)); 11 | void hash_lock __ARGS((hashtab_T *ht)); 12 | void hash_unlock __ARGS((hashtab_T *ht)); 13 | hash_T hash_hash __ARGS((char_u *key)); 14 | /* vim: set ft=c : */ 15 | -------------------------------------------------------------------------------- /proto/memfile.pro: -------------------------------------------------------------------------------- 1 | /* memfile.c */ 2 | memfile_T *mf_open __ARGS((char_u *fname, int flags)); 3 | int mf_open_file __ARGS((memfile_T *mfp, char_u *fname)); 4 | void mf_close __ARGS((memfile_T *mfp, int del_file)); 5 | void mf_close_file __ARGS((buf_T *buf, int getlines)); 6 | void mf_new_page_size __ARGS((memfile_T *mfp, unsigned new_size)); 7 | bhdr_T *mf_new __ARGS((memfile_T *mfp, int negative, int page_count)); 8 | bhdr_T *mf_get __ARGS((memfile_T *mfp, blocknr_T nr, int page_count)); 9 | void mf_put __ARGS((memfile_T *mfp, bhdr_T *hp, int dirty, int infile)); 10 | void mf_free __ARGS((memfile_T *mfp, bhdr_T *hp)); 11 | int mf_sync __ARGS((memfile_T *mfp, int flags)); 12 | void mf_set_dirty __ARGS((memfile_T *mfp)); 13 | int mf_release_all __ARGS((void)); 14 | blocknr_T mf_trans_del __ARGS((memfile_T *mfp, blocknr_T old_nr)); 15 | void mf_set_ffname __ARGS((memfile_T *mfp)); 16 | void mf_fullname __ARGS((memfile_T *mfp)); 17 | int mf_need_trans __ARGS((memfile_T *mfp)); 18 | /* vim: set ft=c : */ 19 | -------------------------------------------------------------------------------- /proto/menu.pro: -------------------------------------------------------------------------------- 1 | /* menu.c */ 2 | void ex_menu __ARGS((exarg_T *eap)); 3 | char_u *set_context_in_menu_cmd __ARGS((expand_T *xp, char_u *cmd, char_u *arg, int forceit)); 4 | char_u *get_menu_name __ARGS((expand_T *xp, int idx)); 5 | char_u *get_menu_names __ARGS((expand_T *xp, int idx)); 6 | char_u *menu_name_skip __ARGS((char_u *name)); 7 | int get_menu_index __ARGS((vimmenu_T *menu, int state)); 8 | int menu_is_menubar __ARGS((char_u *name)); 9 | int menu_is_popup __ARGS((char_u *name)); 10 | int menu_is_child_of_popup __ARGS((vimmenu_T *menu)); 11 | int menu_is_toolbar __ARGS((char_u *name)); 12 | int menu_is_separator __ARGS((char_u *name)); 13 | int check_menu_pointer __ARGS((vimmenu_T *root, vimmenu_T *menu_to_check)); 14 | void gui_create_initial_menus __ARGS((vimmenu_T *menu)); 15 | void gui_update_menus __ARGS((int modes)); 16 | int gui_is_menu_shortcut __ARGS((int key)); 17 | void gui_show_popupmenu __ARGS((void)); 18 | void gui_mch_toggle_tearoffs __ARGS((int enable)); 19 | void ex_emenu __ARGS((exarg_T *eap)); 20 | vimmenu_T *gui_find_menu __ARGS((char_u *path_name)); 21 | void ex_menutranslate __ARGS((exarg_T *eap)); 22 | /* vim: set ft=c : */ 23 | -------------------------------------------------------------------------------- /proto/popupmnu.pro: -------------------------------------------------------------------------------- 1 | /* popupmnu.c */ 2 | void pum_display __ARGS((pumitem_T *array, int size, int selected)); 3 | void pum_redraw __ARGS((void)); 4 | void pum_undisplay __ARGS((void)); 5 | void pum_clear __ARGS((void)); 6 | int pum_visible __ARGS((void)); 7 | int pum_get_height __ARGS((void)); 8 | /* vim: set ft=c : */ 9 | -------------------------------------------------------------------------------- /proto/regexp.pro: -------------------------------------------------------------------------------- 1 | /* regexp.c */ 2 | void free_regexp_stuff __ARGS((void)); 3 | int re_multiline __ARGS((regprog_T *prog)); 4 | int re_lookbehind __ARGS((regprog_T *prog)); 5 | char_u *skip_regexp __ARGS((char_u *startp, int dirc, int magic, char_u **newp)); 6 | regprog_T *vim_regcomp __ARGS((char_u *expr, int re_flags)); 7 | int vim_regcomp_had_eol __ARGS((void)); 8 | int vim_regexec __ARGS((regmatch_T *rmp, char_u *line, colnr_T col)); 9 | int vim_regexec_nl __ARGS((regmatch_T *rmp, char_u *line, colnr_T col)); 10 | long vim_regexec_multi __ARGS((regmmatch_T *rmp, win_T *win, buf_T *buf, linenr_T lnum, colnr_T col)); 11 | reg_extmatch_T *ref_extmatch __ARGS((reg_extmatch_T *em)); 12 | void unref_extmatch __ARGS((reg_extmatch_T *em)); 13 | char_u *regtilde __ARGS((char_u *source, int magic)); 14 | int vim_regsub __ARGS((regmatch_T *rmp, char_u *source, char_u *dest, int copy, int magic, int backslash)); 15 | int vim_regsub_multi __ARGS((regmmatch_T *rmp, linenr_T lnum, char_u *source, char_u *dest, int copy, int magic, int backslash)); 16 | char_u *reg_submatch __ARGS((int no)); 17 | /* vim: set ft=c : */ 18 | -------------------------------------------------------------------------------- /proto/tag.pro: -------------------------------------------------------------------------------- 1 | /* tag.c */ 2 | int do_tag __ARGS((char_u *tag, int type, int count, int forceit, int verbose)); 3 | void tag_freematch __ARGS((void)); 4 | void do_tags __ARGS((exarg_T *eap)); 5 | int find_tags __ARGS((char_u *pat, int *num_matches, char_u ***matchesp, int flags, int mincount, char_u *buf_ffname)); 6 | void free_tag_stuff __ARGS((void)); 7 | int get_tagfname __ARGS((tagname_T *tnp, int first, char_u *buf)); 8 | void tagname_free __ARGS((tagname_T *tnp)); 9 | void simplify_filename __ARGS((char_u *filename)); 10 | int expand_tags __ARGS((int tagnames, char_u *pat, int *num_file, char_u ***file)); 11 | int get_tags __ARGS((list_T *list, char_u *pat)); 12 | /* vim: set ft=c : */ 13 | -------------------------------------------------------------------------------- /proto/termlib.pro: -------------------------------------------------------------------------------- 1 | /* termlib.c */ 2 | int tgetent __ARGS((char *tbuf, char *term)); 3 | int tgetflag __ARGS((char *id)); 4 | int tgetnum __ARGS((char *id)); 5 | char *tgetstr __ARGS((char *id, char **buf)); 6 | char *tgoto __ARGS((char *cm, int col, int line)); 7 | int tputs __ARGS((char *cp, int affcnt, void (*outc)(unsigned int))); 8 | /* vim: set ft=c : */ 9 | -------------------------------------------------------------------------------- /proto/undo.pro: -------------------------------------------------------------------------------- 1 | /* undo.c */ 2 | int u_save_cursor __ARGS((void)); 3 | int u_save __ARGS((linenr_T top, linenr_T bot)); 4 | int u_savesub __ARGS((linenr_T lnum)); 5 | int u_inssub __ARGS((linenr_T lnum)); 6 | int u_savedel __ARGS((linenr_T lnum, long nlines)); 7 | int undo_allowed __ARGS((void)); 8 | void u_undo __ARGS((int count)); 9 | void u_redo __ARGS((int count)); 10 | void undo_time __ARGS((long step, int sec, int absolute)); 11 | void u_sync __ARGS((int force)); 12 | void ex_undolist __ARGS((exarg_T *eap)); 13 | void ex_undojoin __ARGS((exarg_T *eap)); 14 | void u_unchanged __ARGS((buf_T *buf)); 15 | void u_clearall __ARGS((buf_T *buf)); 16 | void u_saveline __ARGS((linenr_T lnum)); 17 | void u_clearline __ARGS((void)); 18 | void u_undoline __ARGS((void)); 19 | void u_blockfree __ARGS((buf_T *buf)); 20 | int bufIsChanged __ARGS((buf_T *buf)); 21 | int curbufIsChanged __ARGS((void)); 22 | /* vim: set ft=c : */ 23 | -------------------------------------------------------------------------------- /proto/version.pro: -------------------------------------------------------------------------------- 1 | /* version.c */ 2 | void make_version __ARGS((void)); 3 | int highest_patch __ARGS((void)); 4 | int has_patch __ARGS((int n)); 5 | void ex_version __ARGS((exarg_T *eap)); 6 | void list_version __ARGS((void)); 7 | void intro_message __ARGS((int colon)); 8 | void ex_intro __ARGS((exarg_T *eap)); 9 | /* vim: set ft=c : */ 10 | -------------------------------------------------------------------------------- /spell.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/spell.c -------------------------------------------------------------------------------- /term.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/term.c -------------------------------------------------------------------------------- /testdir/dotest.in: -------------------------------------------------------------------------------- 1 | :set cp 2 | :map dotest /^STARTTEST j:set ff=unix cpo-=A :.,/ENDTEST/-1w! Xdotest :set ff& cpo+=A nj0:so! Xdotest dotest 3 | dotest 4 | -------------------------------------------------------------------------------- /testdir/test1.ok: -------------------------------------------------------------------------------- 1 | this is a test 2 | -------------------------------------------------------------------------------- /testdir/test10.ok: -------------------------------------------------------------------------------- 1 | start of testfile 2 | line 2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 3 | line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 4 | line 4 xxxAxxxxxxxxxxxxxxxxxxxxxxxxxx 5 | line 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 6 | line 6 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 7 | line 7 xxxxxxxxxxBxxxxxxxxxxxxxxxxxxx 8 | line 8 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 9 | line 9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 10 | line 10 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 11 | line 11 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 12 | line 12 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 13 | Cine 13 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 14 | line 14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 15 | line 15 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 16 | Dine 16 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 17 | line 17 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 18 | line 18 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 19 | Eine 19 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 20 | line 20 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 21 | line 21 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 22 | line 22 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 23 | end of testfile 24 | -------------------------------------------------------------------------------- /testdir/test10a.ok: -------------------------------------------------------------------------------- 1 | start of testfile 2 | 01234567890123456789012345678901234567 3 | line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 4 | line 4 xxxxxxxxxxAxxxxxxxxxxxxxxxxxxx 5 | line 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 6 | line 6 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 7 | line 7 xxxxxBxxxxxxxxxxxxxxxxxxxxxxxx 8 | line 8 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 9 | line 9 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 10 | line 10 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 11 | line 11 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 12 | line 12 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 13 | line 13 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 14 | line 14 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 15 | line 15 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 16 | line 16 xxxxxxxxxxCxxxxxxxxxxxxxxxxxxx 17 | line 17 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 18 | line 18 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 19 | line 19 xxxxxxxxxxxxxxxxxxxDxxxxxxxxxx 20 | line 20 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxE 21 | line 21 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 22 | line 22 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 23 | end of testfile 24 | -------------------------------------------------------------------------------- /testdir/test12.ok: -------------------------------------------------------------------------------- 1 | first line 2 | Xtest1.swp 3 | under Xtest1.swp 4 | under under 5 | Xtest1.swp 6 | under Xtest1.swp 7 | Xtest3 8 | under Xtest3 9 | Xtest3.swp 10 | under Xtest3.swp 11 | -------------------------------------------------------------------------------- /testdir/test13.ok: -------------------------------------------------------------------------------- 1 | start of testfile 2 | testje1 3 | contents 4 | contents 5 | contents 6 | end of testfile 7 | start of testfile 8 | testje1 9 | contents 10 | contents 11 | contents 12 | end of testfile 13 | start of testfile 14 | testje3 15 | contents 16 | contents 17 | contents 18 | end of testfile 19 | start of testfile 20 | testje2 21 | contents 22 | contents 23 | contents 24 | end of testfile 25 | start of testfile 26 | testje1 27 | contents 28 | contents 29 | contents 30 | end of testfile 31 | -------------------------------------------------------------------------------- /testdir/test14.ok: -------------------------------------------------------------------------------- 1 | - Bug in "vPPPP" on this text (Webb): 2 | { 3 | } 4 | - Bug uuun "vPPPP" uuuuuuuuun this text (Webb): 5 | ABC !ag8 6 | tt m1 {A 7 | tt m2 {B 8 | tt m3 {C 9 | tt m3 {DC 10 | tt m1 {EA 11 | {F 12 | }G e1 13 | }H e3 14 | }I 15 | }JH e3 16 | }K e2 17 | {LF 18 | -------------------------------------------------------------------------------- /testdir/test16.in: -------------------------------------------------------------------------------- 1 | Tests for resetting "secure" flag after GUI has started. 2 | For KDE set a font, empty 'guifont' may cause a hang. 3 | 4 | STARTTEST 5 | :set exrc secure 6 | :if has("gui_kde") 7 | : set guifont=Courier\ 10\ Pitch/8/-1/5/50/0/0/0/0/0 8 | :endif 9 | :gui -f 10 | :.,$w! test.out 11 | :qa! 12 | ENDTEST 13 | 14 | just some text 15 | -------------------------------------------------------------------------------- /testdir/test16.ok: -------------------------------------------------------------------------------- 1 | 2 | just some text 3 | -------------------------------------------------------------------------------- /testdir/test17.in: -------------------------------------------------------------------------------- 1 | Tests for "gf" on ${VAR} 2 | 3 | STARTTEST 4 | :so small.vim 5 | :if has("ebcdic") 6 | : set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,} 7 | :else 8 | : set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,} 9 | :endif 10 | :if has("unix") 11 | :let $CDIR = "." 12 | /CDIR 13 | :else 14 | :if has("amiga") 15 | :let $TDIR = "/testdir" 16 | :else 17 | :let $TDIR = "." 18 | :endif 19 | /TDIR 20 | :endif 21 | gf 22 | :w! test.out 23 | :qa! 24 | ENDTEST 25 | 26 | ${CDIR}/test17a.in 27 | $TDIR/test17a.in 28 | -------------------------------------------------------------------------------- /testdir/test17.ok: -------------------------------------------------------------------------------- 1 | This file is just to test "gf" in test 17. 2 | The contents is not importent. 3 | Just testing! 4 | -------------------------------------------------------------------------------- /testdir/test17a.in: -------------------------------------------------------------------------------- 1 | This file is just to test "gf" in test 17. 2 | The contents is not importent. 3 | Just testing! 4 | -------------------------------------------------------------------------------- /testdir/test18.in: -------------------------------------------------------------------------------- 1 | Tests for not doing smart indenting when it isn't set. 2 | 3 | STARTTEST 4 | :so small.vim 5 | :set nocin nosi ai 6 | /some 7 | 2cc#test 8 | :?start?,$w! test.out 9 | :qa! 10 | ENDTEST 11 | 12 | start text 13 | some test text 14 | test text 15 | test text 16 | test text 17 | -------------------------------------------------------------------------------- /testdir/test18.ok: -------------------------------------------------------------------------------- 1 | start text 2 | #test 3 | test text 4 | test text 5 | -------------------------------------------------------------------------------- /testdir/test19.in: -------------------------------------------------------------------------------- 1 | Tests for "r" with 'smarttab' and 'expandtab' set/not set. 2 | 3 | STARTTEST 4 | :set smarttab expandtab ts=8 sw=4 5 | /some 6 | r :set noexpandtab 7 | /other 8 | r 9 | :" Test replacing with Tabs and then backspacing to undo it 10 | 0wR  11 | :" Test replacing with Tabs 12 | 0wR  13 | :?^start?,$w! test.out 14 | :qa! 15 | ENDTEST 16 | 17 | start text 18 | some test text 19 | test text 20 | other test text 21 | a cde 22 | f ghi 23 | test text 24 | -------------------------------------------------------------------------------- /testdir/test19.ok: -------------------------------------------------------------------------------- 1 | start text 2 | ome test text 3 | test text 4 | ther test text 5 | a cde 6 | hi 7 | test text 8 | -------------------------------------------------------------------------------- /testdir/test2.in: -------------------------------------------------------------------------------- 1 | 2 | This is a test if a URL is recognized by "gf", with the cursor before and 3 | after the "://". Also test ":\\". 4 | 5 | STARTTEST 6 | :so small.vim 7 | /^first 8 | /tmp 9 | :call append(0, expand("")) 10 | /^second 11 | /URL 12 | :call append(1, expand("")) 13 | :if has("ebcdic") 14 | : set isf=@,240-249,/,.,-,_,+,,,$,:,~,\ 15 | :else 16 | : set isf=@,48-57,/,.,-,_,+,,,$,:,~,\ 17 | :endif 18 | /^third 19 | /name 20 | :call append(2, expand("")) 21 | /^fourth 22 | /URL 23 | :call append(3, expand("")) 24 | 5GdG:wq! test.out 25 | ENDTEST 26 | first test for URL://machine.name/tmp/vimtest2a and other text 27 | second test for URL://machine.name/tmp/vimtest2b. And other text 28 | third test for URL:\\machine.name\vimtest2c and other text 29 | fourth test for URL:\\machine.name\tmp\vimtest2d, and other text 30 | -------------------------------------------------------------------------------- /testdir/test2.ok: -------------------------------------------------------------------------------- 1 | URL://machine.name/tmp/vimtest2a 2 | URL://machine.name/tmp/vimtest2b 3 | URL:\\machine.name\vimtest2c 4 | URL:\\machine.name\tmp\vimtest2d 5 | -------------------------------------------------------------------------------- /testdir/test20.in: -------------------------------------------------------------------------------- 1 | Tests Blockwise Visual when there are TABs before the text. 2 | First test for undo working properly when executing commands from a register. 3 | Also test this in an empty buffer. 4 | 5 | STARTTEST 6 | :so tiny.vim 7 | G0"ay$k@au 8 | :new 9 | @auY:quit! 10 | GP 11 | /start here$ 12 | jjlld 13 | :/here$/,$-1w! test.out 14 | :qa! 15 | ENDTEST 16 | 17 | test text test tex start here 18 | some text 19 | test text 20 | test text 21 | 22 | OxjAykdd 23 | -------------------------------------------------------------------------------- /testdir/test20.ok: -------------------------------------------------------------------------------- 1 | test text test tex rt here 2 | somext 3 | tesext 4 | test text 5 | 6 | 7 | -------------------------------------------------------------------------------- /testdir/test21.in: -------------------------------------------------------------------------------- 1 | Tests for [ CTRL-I with a count and CTRL-W CTRL-I with a count 2 | 3 | STARTTEST 4 | :so small.vim 5 | /start 6 | 6[ :.w! test.out 7 | ?start here 8 | 6 :.w >>test.out 9 | :qa! 10 | ENDTEST 11 | 12 | #include test21.in 13 | 14 | /* test text test tex start here 15 | some text 16 | test text 17 | start OK if found this line 18 | start found wrong line 19 | test text 20 | -------------------------------------------------------------------------------- /testdir/test21.ok: -------------------------------------------------------------------------------- 1 | start OK if found this line 2 | start OK if found this line 3 | -------------------------------------------------------------------------------- /testdir/test22.in: -------------------------------------------------------------------------------- 1 | Tests for file with some lines ending in CTRL-M, some not 2 | 3 | STARTTEST 4 | :set ta tx 5 | :e! 6 | :$-3,$w! test.out 7 | :qa! 8 | ENDTEST 9 | 10 | this lines ends in a 11 | this one doesn't 12 | this one does 13 | and the last one doesn't 14 | -------------------------------------------------------------------------------- /testdir/test22.ok: -------------------------------------------------------------------------------- 1 | this lines ends in a 2 | this one doesn't 3 | this one does 4 | and the last one doesn't 5 | -------------------------------------------------------------------------------- /testdir/test23.in: -------------------------------------------------------------------------------- 1 | Tests for complicated + argument to :edit command 2 | 3 | STARTTEST 4 | :$-1w! Xfile1 5 | :$w! Xfile2 6 | :edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w 7 | :w! test.out 8 | :e Xfile1 9 | :w >> test.out 10 | :qa! 11 | ENDTEST 12 | 13 | The result should be in Xfile1: "fooPIPEbar", in Xfile2: "fooSLASHbar" 14 | foo|bar 15 | foo/bar 16 | -------------------------------------------------------------------------------- /testdir/test23.ok: -------------------------------------------------------------------------------- 1 | fooSLASHbar 2 | fooPIPEbar 3 | -------------------------------------------------------------------------------- /testdir/test24.ok: -------------------------------------------------------------------------------- 1 | start 2 | test text test text 3 | test text test text 4 | test text test text 5 | test text test text 6 | test text test text 7 | test text test text 8 | test text test text x61 9 | test text test text x60-x64 10 | test text test text x78 5 11 | test text test text o143 12 | test text test text o140-o144 13 | test text test text o41 7 14 | test text test text \%x42 15 | test text test text \%o103 16 | test text test text [\x00] 17 | test text test text [\x00-\x10] 18 | test text test text [\x-z] 19 | test text test text [\u-z] 20 | xx xx a 21 | xx aaaaa xx a 22 | xx aaaaa xx a 23 | xx Aaa xx 24 | xx Aaaa xx 25 | xx Aaa xx 26 | xx foobar xA xx 27 | xx an A xx 28 | XX 9; 29 | YY 77; 30 | -------------------------------------------------------------------------------- /testdir/test25.in: -------------------------------------------------------------------------------- 1 | Test for jumping to a tag with 'hidden' set, with symbolic link in path of tag. 2 | This only works for Unix, because of the symbolic link. 3 | 4 | STARTTEST 5 | :so small.vim 6 | :set hidden 7 | :" Create a link from test25.dir to the current directory. 8 | :!rm -f test25.dir 9 | :!ln -s . test25.dir 10 | :" Create tags.text, with the current directory name inserted. 11 | /tags line 12 | :r !pwd 13 | d$/test 14 | hP:.w! tags.test 15 | :" Try jumping to a tag in the current file, but with a path that contains a 16 | :" symbolic link. When wrong, this will give the ATTENTION message. The next 17 | :" space will then be eaten by hit-return, instead of moving the cursor to 'd'. 18 | :set tags=tags.test 19 | G x:.w! test.out 20 | :!rm -f test25.dir tags.test 21 | :qa! 22 | ENDTEST 23 | 24 | tags line: 25 | SECTION_OFF /test25.dir/test25.in /^#define SECTION_OFF 3$/ 26 | 27 | /*tx.c*/ 28 | #define SECTION_OFF 3 29 | #define NUM_SECTIONS 3 30 | 31 | SECTION_OFF 32 | -------------------------------------------------------------------------------- /testdir/test25.ok: -------------------------------------------------------------------------------- 1 | #efine SECTION_OFF 3 2 | -------------------------------------------------------------------------------- /testdir/test26.in: -------------------------------------------------------------------------------- 1 | Test for :execute, :while and :if 2 | 3 | STARTTEST 4 | :so small.vim 5 | mt:let i = 0 6 | :while i < 12 7 | : let i = i + 1 8 | : if has("ebcdic") 9 | : execute "normal o" . i . "\047" 10 | : else 11 | : execute "normal o" . i . "\033" 12 | : endif 13 | : if i % 2 14 | : normal Ax 15 | : if i == 9 16 | : break 17 | : endif 18 | : if i == 5 19 | : continue 20 | : else 21 | : let j = 9 22 | : while j > 0 23 | : if has("ebcdic") 24 | : execute "normal" j . "a" . j . "\x27" 25 | : else 26 | : execute "normal" j . "a" . j . "\x1b" 27 | : endif 28 | : let j = j - 1 29 | : endwhile 30 | : endif 31 | : endif 32 | : if i == 9 33 | : if has("ebcdic") 34 | : execute "normal Az\047" 35 | : else 36 | : execute "normal Az\033" 37 | : endif 38 | : endif 39 | :endwhile 40 | :'t,$w! test.out 41 | :qa! 42 | ENDTEST 43 | 44 | -------------------------------------------------------------------------------- /testdir/test26.ok: -------------------------------------------------------------------------------- 1 | 2 | 1x999999999888888887777777666666555554444333221 3 | 2 4 | 3x999999999888888887777777666666555554444333221 5 | 4 6 | 5x 7 | 6 8 | 7x999999999888888887777777666666555554444333221 9 | 8 10 | 9x 11 | -------------------------------------------------------------------------------- /testdir/test27.in: -------------------------------------------------------------------------------- 1 | Test for expanding file names 2 | 3 | STARTTEST 4 | :!mkdir Xdir1 5 | :!mkdir Xdir2 6 | :!mkdir Xdir3 7 | :cd Xdir3 8 | :!mkdir Xdir4 9 | :cd .. 10 | :w Xdir1/file 11 | :w Xdir3/Xdir4/file 12 | :n Xdir?/*/file 13 | Go%:.w! test.out 14 | :n! Xdir?/*/nofile 15 | Go%:.w >>test.out 16 | :e! xx 17 | :!rm -rf Xdir1 Xdir2 Xdir3 18 | :qa! 19 | ENDTEST 20 | 21 | -------------------------------------------------------------------------------- /testdir/test27.ok: -------------------------------------------------------------------------------- 1 | Xdir3/Xdir4/file 2 | Xdir?/*/nofile 3 | -------------------------------------------------------------------------------- /testdir/test28.in: -------------------------------------------------------------------------------- 1 | Test for sourcing a file with CTRL-V's at the end of the line 2 | 3 | STARTTEST 4 | :/firstline/+1,/lastline/-1w! Xtestfile 5 | :so Xtestfile 6 | Gmm__1__2__3__4__5:'m,$s//0/g 7 | :'m,$w! test.out 8 | :qa! 9 | ENDTEST 10 | 11 | firstline 12 | map __1 afirst 13 | map __2 asecond 14 | map __3 athird 15 | map __4 afourth 16 | map __5 afifth 17 | map __1 asd 18 | map __2 asd 19 | map __3 asd 20 | map __4 asd 21 | map __5 asd 22 | lastline 23 | 24 | -------------------------------------------------------------------------------- /testdir/test28.ok: -------------------------------------------------------------------------------- 1 | sd 2 | map __2 asdsecondsdsd0map __5 asd0fifth 3 | -------------------------------------------------------------------------------- /testdir/test29.in: -------------------------------------------------------------------------------- 1 | Test for joining lines with 'joinspaces' set or not 2 | 3 | STARTTEST 4 | :set nojoinspaces 5 | /firstline/ 6 | jJjJjJjJjJjJjJjJjJjJjJjJjJjJ:set joinspaces 7 | jJjJjJjJjJjJjJjJjJjJjJjJjJjJ:?firstline?+1,$w! test.out 8 | :qa! 9 | ENDTEST 10 | 11 | firstline 12 | asdfasdf. 13 | asdf 14 | asdfasdf. 15 | asdf 16 | asdfasdf. 17 | asdf 18 | asdfasdf. 19 | asdf 20 | asdfasdf. 21 | asdf 22 | asdfasdf. 23 | asdf 24 | asdfasdf. 25 | asdf 26 | asdfasdf 27 | asdf 28 | asdfasdf 29 | asdf 30 | asdfasdf 31 | asdf 32 | asdfasdf 33 | asdf 34 | asdfasdf 35 | asdf 36 | asdfasdf 37 | asdf 38 | asdfasdf 39 | asdf 40 | asdfasdf. 41 | asdf 42 | asdfasdf. 43 | asdf 44 | asdfasdf. 45 | asdf 46 | asdfasdf. 47 | asdf 48 | asdfasdf. 49 | asdf 50 | asdfasdf. 51 | asdf 52 | asdfasdf. 53 | asdf 54 | asdfasdf 55 | asdf 56 | asdfasdf 57 | asdf 58 | asdfasdf 59 | asdf 60 | asdfasdf 61 | asdf 62 | asdfasdf 63 | asdf 64 | asdfasdf 65 | asdf 66 | asdfasdf 67 | asdf 68 | -------------------------------------------------------------------------------- /testdir/test29.ok: -------------------------------------------------------------------------------- 1 | asdfasdf. asdf 2 | asdfasdf. asdf 3 | asdfasdf. asdf 4 | asdfasdf. asdf 5 | asdfasdf. asdf 6 | asdfasdf. asdf 7 | asdfasdf. asdf 8 | asdfasdf asdf 9 | asdfasdf asdf 10 | asdfasdf asdf 11 | asdfasdf asdf 12 | asdfasdf asdf 13 | asdfasdf asdf 14 | asdfasdf asdf 15 | asdfasdf. asdf 16 | asdfasdf. asdf 17 | asdfasdf. asdf 18 | asdfasdf. asdf 19 | asdfasdf. asdf 20 | asdfasdf. asdf 21 | asdfasdf. asdf 22 | asdfasdf asdf 23 | asdfasdf asdf 24 | asdfasdf asdf 25 | asdfasdf asdf 26 | asdfasdf asdf 27 | asdfasdf asdf 28 | asdfasdf asdf 29 | -------------------------------------------------------------------------------- /testdir/test31.ok: -------------------------------------------------------------------------------- 1 | testtext 2 2 | testtext 2 2 3 | testtext 1 1 4 | testtext 1 1 1 5 | testtext 2 2 6 | testtext 2 2 7 | testtext 3 8 | testtext 3 3 9 | testtext 1 10 | testtext 3 3 3 11 | testtext 1 12 | -------------------------------------------------------------------------------- /testdir/test32.ok: -------------------------------------------------------------------------------- 1 | #include "Xtestfile" 2 | run1 run3 3 | run3 run3 4 | 5 | Makefile to run3 6 | Makefile to run3 7 | Makefile to run3 8 | Xtest11.two 9 | STARTTEST 10 | ENDTEST 11 | unless 12 | test11file 36Gepeto /Tag/ asd 13 | asd 14 | run1 run2 15 | 16 | -------------------------------------------------------------------------------- /testdir/test33.in: -------------------------------------------------------------------------------- 1 | Test for 'lisp' 2 | If the lisp feature is not enabled, this will fail! 3 | 4 | STARTTEST 5 | :so small.vim 6 | :set lisp 7 | /^(defun 8 | =G:/^(defun/,$w! test.out 9 | :q! 10 | ENDTEST 11 | 12 | (defun html-file (base) 13 | (format nil "~(~A~).html" base)) 14 | 15 | (defmacro page (name title &rest body) 16 | (let ((ti (gensym))) 17 | `(with-open-file (*standard-output* 18 | (html-file ,name) 19 | :direction :output 20 | :if-exists :supersede) 21 | (let ((,ti ,title)) 22 | (as title ,ti) 23 | (with center 24 | (as h2 (string-upcase ,ti))) 25 | (brs 3) 26 | ,@body)))) 27 | 28 | ;;; Utilities for generating links 29 | 30 | (defmacro with-link (dest &rest body) 31 | `(progn 32 | (format t "" (html-file ,dest)) 33 | ,@body 34 | (princ ""))) 35 | -------------------------------------------------------------------------------- /testdir/test33.ok: -------------------------------------------------------------------------------- 1 | (defun html-file (base) 2 | (format nil "~(~A~).html" base)) 3 | 4 | (defmacro page (name title &rest body) 5 | (let ((ti (gensym))) 6 | `(with-open-file (*standard-output* 7 | (html-file ,name) 8 | :direction :output 9 | :if-exists :supersede) 10 | (let ((,ti ,title)) 11 | (as title ,ti) 12 | (with center 13 | (as h2 (string-upcase ,ti))) 14 | (brs 3) 15 | ,@body)))) 16 | 17 | ;;; Utilities for generating links 18 | 19 | (defmacro with-link (dest &rest body) 20 | `(progn 21 | (format t "" (html-file ,dest)) 22 | ,@body 23 | (princ ""))) 24 | -------------------------------------------------------------------------------- /testdir/test34.ok: -------------------------------------------------------------------------------- 1 | xxx4asdf fail nop ok 9 2 | XX111XX 3 | ---222--- 4 | 1. one 5 | 2. two 6 | 1. one again 7 | -------------------------------------------------------------------------------- /testdir/test35.in: -------------------------------------------------------------------------------- 1 | Test Ctrl-A and Ctrl-X, which increment and decrement decimal, hexadecimal, 2 | and octal numbers. 3 | 4 | STARTTEST 5 | /^start-here 6 | :set nrformats=octal,hex 7 | j102ll64128$ 8 | :set nrformats=octal 9 | 0102l2w65129blx6lD 10 | :set nrformats=hex 11 | 0101l257Txldt    12 | :set nrformats= 13 | 0200l100w78k 14 | :$-3,$wq! test.out 15 | ENDTEST 16 | 17 | start-here 18 | 100 0x100 077 0 19 | 100 0x100 077 20 | 100 0x100 077 0xfF 0xFf 21 | 100 0x100 077 22 | -------------------------------------------------------------------------------- /testdir/test35.ok: -------------------------------------------------------------------------------- 1 | 0 0x0ff 0000 -1 2 | 0 1x100 0777777 3 | -1 0x0 078 0xFE 0xfe 4 | -100 -100x100 000 5 | -------------------------------------------------------------------------------- /testdir/test36.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test36.in -------------------------------------------------------------------------------- /testdir/test36.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test36.ok -------------------------------------------------------------------------------- /testdir/test38.in: -------------------------------------------------------------------------------- 1 | 2 | Test Virtual replace mode. 3 | 4 | STARTTEST 5 | :so small.vim 6 | ggdGa 7 | abcdefghi 8 | jk lmn 9 | opq rst 10 | uvwxyz 11 | gg:set ai 12 | :set bs=2 13 | gR0 1 14 | A 15 | BCDEFGHIJ 16 | KL 17 | MNO 18 | PQRG:ka 19 | o0 20 | abcdefghi 21 | jk lmn 22 | opq rst 23 | uvwxyz 24 | 'ajgR0 1 25 | A 26 | BCDEFGHIJ 27 | KL 28 | MNO 29 | PQR:$ 30 | iab cdefghi jkl0gRAB......CDEFGHI.Jo: 31 | iabcdefghijklmnopqrst0gRAB IJKLMNO QR:wq! test.out 32 | ENDTEST 33 | 34 | -------------------------------------------------------------------------------- /testdir/test38.ok: -------------------------------------------------------------------------------- 1 | 1 2 | A 3 | BCDEFGHIJ 4 | KL 5 | MNO 6 | PQR 7 | 1 8 | abcdefghi 9 | jk lmn 10 | opq rst 11 | uvwxyz 12 | AB......CDEFGHI.Jkl 13 | AB IJKLMNO QRst 14 | -------------------------------------------------------------------------------- /testdir/test39.in: -------------------------------------------------------------------------------- 1 | 2 | Test Visual block mode commands 3 | 4 | STARTTEST 5 | :so small.vim 6 | /^abcde 7 | :" Test shift-right of a block 8 | jlllljj>wlljlll> 9 | :" Test shift-left of a block 10 | G$hhhhkk< 11 | :" Test block-insert 12 | GklkkkIxyz 13 | :" Test block-replace 14 | Gllllkkklllrq 15 | :" Test block-change 16 | G$khhhhhkkcmno 17 | :$-4,$wq! test.out 18 | ENDTEST 19 | 20 | abcdefghijklm 21 | abcdefghijklm 22 | abcdefghijklm 23 | abcdefghijklm 24 | abcdefghijklm 25 | -------------------------------------------------------------------------------- /testdir/test39.ok: -------------------------------------------------------------------------------- 1 | axyzbcdefghijklm 2 | axyzqqqq mno ghijklm 3 | axyzqqqqef mno ghijklm 4 | axyzqqqqefgmnoklm 5 | abcdqqqqijklm 6 | -------------------------------------------------------------------------------- /testdir/test4.in: -------------------------------------------------------------------------------- 1 | Test for autocommand that changes current buffer on BufEnter event. 2 | Check if modelines are interpreted for the correct buffer. 3 | 4 | STARTTEST 5 | :so small.vim 6 | :set nocompatible viminfo+=nviminfo 7 | :au BufEnter Xxx brew 8 | /start of 9 | :.,/end of/w! Xxx " write test file Xxx 10 | :set ai modeline modelines=3 11 | :sp Xxx " split to Xxx, autocmd will do :brew 12 | G?this is a 13 | othis should be auto-indented 14 | : " Append text with autoindent to this file 15 | :au! BufEnter Xxx 16 | :buf Xxx " go to Xxx, no autocmd anymore 17 | G?this is a 18 | othis should be in column 1:wq " append text without autoindent to Xxx 19 | G:r Xxx " include Xxx in the current file 20 | :?startstart?,$w! test.out 21 | :qa! 22 | ENDTEST 23 | 24 | startstart 25 | start of test file Xxx 26 | vim: set noai : 27 | this is a test 28 | this is a test 29 | this is a test 30 | this is a test 31 | end of test file Xxx 32 | -------------------------------------------------------------------------------- /testdir/test4.ok: -------------------------------------------------------------------------------- 1 | startstart 2 | start of test file Xxx 3 | vim: set noai : 4 | this is a test 5 | this is a test 6 | this is a test 7 | this is a test 8 | this should be auto-indented 9 | end of test file Xxx 10 | start of test file Xxx 11 | vim: set noai : 12 | this is a test 13 | this is a test 14 | this is a test 15 | this is a test 16 | this should be in column 1 17 | end of test file Xxx 18 | -------------------------------------------------------------------------------- /testdir/test40.ok: -------------------------------------------------------------------------------- 1 | start of Xxx 2 | test40 3 | start of Xxx 4 | test401 5 | end of Xxx 6 | asdf 7 | end of Xxx 8 | write 9 | test401 10 | end of Xxx 11 | end of Xxx 12 | -------------------------------------------------------------------------------- /testdir/test41.in: -------------------------------------------------------------------------------- 1 | Test for writing and reading a file of over 100 Kbyte 2 | 3 | 1 line: "This is the start" 4 | 3001 lines: "This is the leader" 5 | 1 line: "This is the middle" 6 | 3001 lines: "This is the trailer" 7 | 1 line: "This is the end" 8 | 9 | STARTTEST 10 | :%d 11 | aThis is the start 12 | This is the leader 13 | This is the middle 14 | This is the trailer 15 | This is the endkY3000p2GY3000p 16 | :w! Xtest 17 | :%d 18 | :e! Xtest 19 | :.w! test.out 20 | 3003G:.w >>test.out 21 | 6005G:.w >>test.out 22 | :qa! 23 | ENDTEST 24 | 25 | -------------------------------------------------------------------------------- /testdir/test41.ok: -------------------------------------------------------------------------------- 1 | This is the start 2 | This is the middle 3 | This is the end 4 | -------------------------------------------------------------------------------- /testdir/test42.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test42.in -------------------------------------------------------------------------------- /testdir/test42.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test42.ok -------------------------------------------------------------------------------- /testdir/test43.in: -------------------------------------------------------------------------------- 1 | Tests for regexp with various magic settings. 2 | 3 | STARTTEST 4 | :set nocompatible viminfo+=nviminfo 5 | /^1 6 | /a*b\{2}c\+/e 7 | x/\Md\*e\{2}f\+/e 8 | x:set nomagic 9 | /g\*h\{2}i\+/e 10 | x/\mj*k\{2}l\+/e 11 | x/\vm*n{2}o+/e 12 | x/\V^aa$ 13 | x:set magic 14 | /\v(a)(b)\2\1\1/e 15 | x/\V[ab]\(\[xy]\)\1 16 | x:?^1?,$w! test.out 17 | :qa! 18 | ENDTEST 19 | 20 | 1 a aa abb abbccc 21 | 2 d dd dee deefff 22 | 3 g gg ghh ghhiii 23 | 4 j jj jkk jkklll 24 | 5 m mm mnn mnnooo 25 | 6 x ^aa$ x 26 | 7 (a)(b) abbaa 27 | 8 axx [ab]xx 28 | -------------------------------------------------------------------------------- /testdir/test43.ok: -------------------------------------------------------------------------------- 1 | 1 a aa abb abbcc 2 | 2 d dd dee deeff 3 | 3 g gg ghh ghhii 4 | 4 j jj jkk jkkll 5 | 5 m mm mnn mnnoo 6 | 6 x aa$ x 7 | 7 (a)(b) abba 8 | 8 axx ab]xx 9 | -------------------------------------------------------------------------------- /testdir/test44.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test44.in -------------------------------------------------------------------------------- /testdir/test44.ok: -------------------------------------------------------------------------------- 1 | 1 a aa abb abbcc 2 | 2 d dd dee deeff 3 | 3 g gg ghh ghhii 4 | 4 j jj jkk jkkll 5 | 5 m mm mnn mnnoo 6 | 6 x aa$ x 7 | 7 (a)(b) abba 8 | 8 axx ab]xx 9 | 9 หม่x อx 10 | a อมx หx 11 | b カヨは 12 | c x ¬x 13 | d 使x 14 | e y 15 | f z 16 | g abb 17 | ב 18 | בג 19 | א 20 | ג 21 | -------------------------------------------------------------------------------- /testdir/test45.ok: -------------------------------------------------------------------------------- 1 | manual 1 aa 2 | -1 3 | 3 cc 4 | 1 aa 5 | marker 2 6 | 1 7 | 1 8 | 0 9 | indent 2 10 | 1 11 | folding 8 hh 12 | 3 cc 13 | expr 2 14 | 1 15 | 2 16 | 0 17 | -------------------------------------------------------------------------------- /testdir/test46.in: -------------------------------------------------------------------------------- 1 | Tests for multi-line regexps with ":s". vim: set ft=vim : 2 | 3 | STARTTEST 4 | :" test if replacing a line break works with a back reference 5 | :/^1/,/^2/s/\n\(.\)/ \1/ 6 | :" test if inserting a line break works with a back reference 7 | :/^3/,/^4/s/\(.\)$/\r\1/ 8 | :" test if replacing a line break with another line break works 9 | :/^5/,/^6/s/\(\_d\{3}\)/x\1x/ 10 | :/^1/,$w! test.out 11 | :qa! 12 | ENDTEST 13 | 14 | 1 aa 15 | bb 16 | cc 17 | 2 dd 18 | ee 19 | 3 ef 20 | gh 21 | 4 ij 22 | 5 a8 23 | 8b c9 24 | 9d 25 | 6 e7 26 | 77f 27 | xxxxx 28 | -------------------------------------------------------------------------------- /testdir/test46.ok: -------------------------------------------------------------------------------- 1 | 1 aa bb cc 2 dd ee 2 | 3 e 3 | f 4 | g 5 | h 6 | 4 i 7 | j 8 | 5 ax8 9 | 8xb cx9 10 | 9xd 11 | 6 ex7 12 | 7x7f 13 | xxxxx 14 | -------------------------------------------------------------------------------- /testdir/test47.ok: -------------------------------------------------------------------------------- 1 | 2-4-5-6-8-9 2 | 1-2-4-5-8 3 | 2-3-4-5-6-7-8 4 | -------------------------------------------------------------------------------- /testdir/test48.ok: -------------------------------------------------------------------------------- 1 | keyword keyword 2 | all your base 3 | are belong to vim 4 | 1 2 3 4 5 7 5 | 'i' <-- should be 3 ' ' 6 | 'C' <-- should be 3 ' ' 7 | 'a' <-- should be 4 ' ' 8 | 'A'<-- should be 0 ' ' 9 | 'D' <-- 'D' should be intact 10 | this is a test 11 | this is a test 12 | this is a test 13 | "r" x<-- should be 'x' 14 | [This line should contain only the text between the brackets.] 15 | v i m <-- should show the name of a noted text editor 16 | 6 . 0 <-- and its version number 17 | 18 | a 19 | a 20 | a 21 | 22 | -------------------------------------------------------------------------------- /testdir/test49.in: -------------------------------------------------------------------------------- 1 | This is a test of the script language. 2 | 3 | If after adding a new test, the test output doesn't appear properly in 4 | test49.failed, try to add one ore more "G"s at the line before ENDTEST. 5 | 6 | STARTTEST 7 | :so small.vim 8 | :se nocp nomore viminfo+=nviminfo 9 | :so test49.vim 10 | GGGGGGGGGG"rp:.-,$wq! test.out 11 | ENDTEST 12 | 13 | Results of test49.vim: 14 | -------------------------------------------------------------------------------- /testdir/test5.in: -------------------------------------------------------------------------------- 1 | Test for autocommand that deletes the current buffer on BufLeave event. 2 | Also test deleting the last buffer, should give a new, empty buffer. 3 | 4 | STARTTEST 5 | :so small.vim 6 | :au BufLeave Xxx bwipe 7 | /start of 8 | :.,/end of/w! Xxx " write test file Xxx 9 | :sp Xxx " split to Xxx 10 | :bwipe " delete buffer Xxx, now we're back here 11 | G?this is a 12 | othis is some more text 13 | : " Append some text to this file 14 | :?start?,$w! test.out " Write current file contents 15 | :bwipe test.out " delete alternate buffer 16 | :au bufleave test5.in bwipe 17 | :bwipe! " delete current buffer, get an empty one 18 | ithis is another test line:w >>test.out 19 | : " append an extra line to the output file 20 | :qa! 21 | ENDTEST 22 | 23 | start of test file Xxx 24 | vim: set noai : 25 | this is a test 26 | this is a test 27 | this is a test 28 | this is a test 29 | end of test file Xxx 30 | -------------------------------------------------------------------------------- /testdir/test5.ok: -------------------------------------------------------------------------------- 1 | start of test file Xxx 2 | vim: set noai : 3 | this is a test 4 | this is a test 5 | this is a test 6 | this is a test 7 | this is some more text 8 | end of test file Xxx 9 | this is another test line 10 | -------------------------------------------------------------------------------- /testdir/test50.ok: -------------------------------------------------------------------------------- 1 | 2 | OK 3 | OK 4 | OK 5 | OK 6 | OK 7 | OK 8 | OK 9 | OK 10 | OK 11 | OK 12 | OK 13 | OK 14 | OK 15 | -------------------------------------------------------------------------------- /testdir/test51.in: -------------------------------------------------------------------------------- 1 | Tests for ":highlight". vim: set ft=vim : 2 | 3 | STARTTEST 4 | :so small.vim 5 | :" basic test if ":highlight" doesn't crash 6 | :highlight 7 | :hi Search 8 | :" test setting colors. 9 | :" test clearing one color and all doesn't generate error or warning 10 | :hi NewGroup term=bold cterm=italic ctermfg=DarkBlue ctermbg=Grey gui= guifg=#00ff00 guibg=Cyan 11 | :hi Group2 term= cterm= 12 | :hi Group3 term=underline cterm=bold 13 | :redir! >test.out 14 | :hi NewGroup 15 | :hi Group2 16 | :hi Group3 17 | :hi clear NewGroup 18 | :hi NewGroup 19 | :hi Group2 20 | :hi Group2 NONE 21 | :hi Group2 22 | :hi clear 23 | :hi Group3 24 | :hi Crash term='asdf 25 | :redir END 26 | :" filter ctermfg and ctermbg, the numbers depend on the terminal 27 | :e test.out 28 | :%s/ctermfg=\d*/ctermfg=2/ 29 | :%s/ctermbg=\d*/ctermbg=3/ 30 | :" filter out possibly translated error message 31 | :%s/E475: [^:]*:/E475:/ 32 | :" fix the fileformat 33 | :set ff& 34 | :wq! 35 | ENDTEST 36 | 37 | -------------------------------------------------------------------------------- /testdir/test51.ok: -------------------------------------------------------------------------------- 1 | 2 | 3 | NewGroup xxx term=bold cterm=italic ctermfg=2 ctermbg=3 4 | 5 | Group2 xxx cleared 6 | 7 | Group3 xxx term=underline cterm=bold 8 | 9 | 10 | NewGroup xxx cleared 11 | 12 | Group2 xxx cleared 13 | 14 | 15 | Group2 xxx cleared 16 | 17 | 18 | Group3 xxx cleared 19 | 20 | E475: term='asdf 21 | -------------------------------------------------------------------------------- /testdir/test52.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test52.in -------------------------------------------------------------------------------- /testdir/test52.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test52.ok -------------------------------------------------------------------------------- /testdir/test53.ok: -------------------------------------------------------------------------------- 1 | start: foo 2 | xxxxxxxxxxxx'piep' 3 | bla bla blah 4 | out " in "" 5 | "'" 'blah'yyyyy'buh' 6 | bla `` b`la 7 | voo "zzzzzzzzzzzzzzzzzzzzzzzzzzzzsd 8 | 9 | 10 | -asdfasdf- 11 | -- 12 | -asdfasdf- 13 | -- 14 | 15 | b 16 | bc 17 | c 18 | a 19 | -1 20 | 0 21 | end: 22 | -------------------------------------------------------------------------------- /testdir/test54.in: -------------------------------------------------------------------------------- 1 | Some tests for buffer-local autocommands 2 | 3 | STARTTEST 4 | :so small.vim 5 | :e xx 6 | :!rm -f test.out 7 | :au BufLeave :!echo buffer-local autommand in %>> test.out 8 | :e somefile " here, autocommand for xx shall write test.out 9 | : " but autocommand shall not apply to buffer named 10 | :bwipe xx " here, autocommand shall be auto-deleted 11 | :e xx " nothing shall be written 12 | :e somefile " nothing shall be written 13 | :qa! 14 | ENDTEST 15 | 16 | start of test file xx 17 | end of test file xx 18 | -------------------------------------------------------------------------------- /testdir/test54.ok: -------------------------------------------------------------------------------- 1 | buffer-local autommand in xx 2 | -------------------------------------------------------------------------------- /testdir/test56.in: -------------------------------------------------------------------------------- 1 | Test for script-local function. vim: set ft=vim : 2 | 3 | STARTTEST 4 | :so small.vim 5 | :" 6 | :set nocp viminfo+=nviminfo 7 | :/^start:/+1,/^end:/-1w! Xtest.vim 8 | :source Xtest.vim 9 | _x 10 | :$-1,$wq! test.out 11 | ENDTEST 12 | 13 | start: 14 | fun DoLast() 15 | call append(line('$'), "last line") 16 | endfun 17 | fun s:DoNothing() 18 | call append(line('$'), "nothing line") 19 | endfun 20 | nnoremap _x :call DoNothing()call DoLast() 21 | end: 22 | -------------------------------------------------------------------------------- /testdir/test56.ok: -------------------------------------------------------------------------------- 1 | nothing line 2 | last line 3 | -------------------------------------------------------------------------------- /testdir/test58.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test58.in -------------------------------------------------------------------------------- /testdir/test58.ok: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test58.ok -------------------------------------------------------------------------------- /testdir/test59.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/testdir/test59.in -------------------------------------------------------------------------------- /testdir/test6.in: -------------------------------------------------------------------------------- 1 | Test for autocommand that redefines the argument list, when doing ":all". 2 | 3 | STARTTEST 4 | :so small.vim 5 | :au BufReadPost Xxx2 next Xxx2 Xxx1 6 | /^start of 7 | A1:.,/end of/w! Xxx1 " write test file Xxx1 8 | $r2:.,/end of/w! Xxx2 " write test file Xxx2 9 | $r3:.,/end of/w! Xxx3 " write test file Xxx3 10 | :next! Xxx1 Xxx2 Xxx3 " redefine arglist; go to Xxx1 11 | :all " open window for all args 12 | :w! test.out " Write contents of Xxx1 13 | :w >>test.out " Append contents of last window (Xxx1) 14 | :rew " should now be in Xxx2 15 | :w >>test.out " Append contents of Xxx2 16 | :qa! 17 | ENDTEST 18 | 19 | start of test file Xxx 20 | this is a test 21 | this is a test 22 | this is a test 23 | this is a test 24 | end of test file Xxx 25 | -------------------------------------------------------------------------------- /testdir/test6.ok: -------------------------------------------------------------------------------- 1 | start of test file Xxx1 2 | this is a test 3 | this is a test 4 | this is a test 5 | this is a test 6 | end of test file Xxx 7 | start of test file Xxx1 8 | this is a test 9 | this is a test 10 | this is a test 11 | this is a test 12 | end of test file Xxx 13 | start of test file Xxx2 14 | this is a test 15 | this is a test 16 | this is a test 17 | this is a test 18 | end of test file Xxx 19 | -------------------------------------------------------------------------------- /testdir/test61.ok: -------------------------------------------------------------------------------- 1 | 456789 2 | 3456789 3 | 23456789 4 | 123456789 5 | 123456789 6 | 1111 ----- 7 | 123456 8 | 1234567 9 | 12345678 10 | 456789 11 | 3456789 12 | 23456789 13 | 123456789 14 | 123456789 15 | 123456789 16 | 123456 17 | 2222 ----- 18 | 123456abc 19 | 123456 20 | 123456789 21 | 123456 22 | 123456abc 23 | aaaa 24 | aaaa 25 | -------------------------------------------------------------------------------- /testdir/test62.in: -------------------------------------------------------------------------------- 1 | Tests for tab pages 2 | 3 | STARTTEST 4 | :so small.vim 5 | :" Simple test for opening and closing a tab page 6 | :tabnew 7 | :let nr = tabpagenr() 8 | :q 9 | :call append(line('$'), 'tab page ' . nr) 10 | :" 11 | :" Open three tab pages and use ":tabdo" 12 | :0tabnew 13 | :1tabnew 14 | :888tabnew 15 | :tabdo call append(line('$'), 'this is tab page ' . tabpagenr()) 16 | :tabclose! 2 17 | :tabrewind 18 | :let line1 = getline('$') 19 | :undo 20 | :q 21 | :tablast 22 | :let line2 = getline('$') 23 | :q! 24 | :call append(line('$'), line1) 25 | :call append(line('$'), line2) 26 | :" 27 | :" 28 | :/^Results/,$w! test.out 29 | :qa! 30 | ENDTEST 31 | 32 | Results: 33 | -------------------------------------------------------------------------------- /testdir/test62.ok: -------------------------------------------------------------------------------- 1 | Results: 2 | tab page 2 3 | this is tab page 3 4 | this is tab page 1 5 | this is tab page 4 6 | -------------------------------------------------------------------------------- /testdir/test7.in: -------------------------------------------------------------------------------- 1 | Test for autocommand that changes the buffer list, when doing ":ball". 2 | 3 | STARTTEST 4 | :so small.vim 5 | /^start of 6 | A1:.,/end of/w! Xxx1 " write test file Xxx1 7 | :sp Xxx1 8 | :close 9 | $r2:.,/end of/w! Xxx2 " write test file Xxx2 10 | :sp Xxx2 11 | :close 12 | $r3:.,/end of/w! Xxx3 " write test file Xxx3 13 | :sp Xxx3 14 | :close 15 | :au BufReadPost Xxx2 bwipe 16 | $r4:ball " open window for all args, close Xxx2 17 | :.,$w! test.out " Write contents of this file 18 | :w >>test.out " Append contents of second window (Xxx1) 19 | :/^start of/,$w >>test.out " Append contents of last window (this file) 20 | :qa! 21 | ENDTEST 22 | 23 | start of test file Xxx 24 | this is a test 25 | this is a test 26 | end of test file Xxx 27 | -------------------------------------------------------------------------------- /testdir/test7.ok: -------------------------------------------------------------------------------- 1 | start of test file Xxx4 2 | this is a test 3 | this is a test 4 | end of test file Xxx 5 | start of test file Xxx1 6 | this is a test 7 | this is a test 8 | end of test file Xxx 9 | start of test file Xxx4 10 | this is a test 11 | this is a test 12 | end of test file Xxx 13 | -------------------------------------------------------------------------------- /testdir/test8.in: -------------------------------------------------------------------------------- 1 | Test for BufWritePre autocommand that deletes or unloads the buffer. 2 | 3 | STARTTEST 4 | :so small.vim 5 | :au BufWritePre Xxx1 bunload 6 | :au BufWritePre Xxx2 bwipe 7 | /^start of 8 | A1:.,/end of/w! Xxx1 " write test file Xxx1 9 | $r2:.,/end of/w! Xxx2 " write test file Xxx2 10 | :e! Xxx2 " edit Xxx2 11 | :bdel test8.in " delete this file from the buffer list 12 | :e Xxx1 " edit Xxx1 13 | :w " write it, will unload it and give an error msg 14 | :w! test.out " Write contents of this file 15 | :e! Xxx2 " start editing Xxx2 16 | :bwipe test.out " remove test.out from the buffer list 17 | :w " write it, will delete the buffer and give an error msg 18 | :w >>test.out " Append contents of this file 19 | :qa! 20 | ENDTEST 21 | 22 | start of Xxx 23 | test 24 | end of Xxx 25 | -------------------------------------------------------------------------------- /testdir/test8.ok: -------------------------------------------------------------------------------- 1 | start of Xxx2 2 | test 3 | end of Xxx 4 | start of Xxx1 5 | test 6 | end of Xxx 7 | -------------------------------------------------------------------------------- /testdir/test9.in: -------------------------------------------------------------------------------- 1 | Test for Bufleave autocommand that deletes the buffer we are about to edit. 2 | 3 | STARTTEST 4 | :so small.vim 5 | :au BufLeave test9.in bwipe yy 6 | :e yy 7 | :/^start of/,$w! test.out " Write contents of this file 8 | :qa! 9 | ENDTEST 10 | 11 | start of test file xx 12 | end of test file xx 13 | -------------------------------------------------------------------------------- /testdir/test9.ok: -------------------------------------------------------------------------------- 1 | start of test file xx 2 | end of test file xx 3 | -------------------------------------------------------------------------------- /vim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/telephil9/vim/aca5dbbb60071a002ccca83b9a02e65b660b8c3e/vim.png -------------------------------------------------------------------------------- /vim.proto: -------------------------------------------------------------------------------- 1 | # Vim: enhanced vi editor 2 | 386 - sys sys 3 | bin - sys sys 4 | vim - sys sys 5 | xxd - sys sys 6 | sys - sys sys 7 | lib - sys sys 8 | vim - sys sys 9 | + - sys sys 10 | src - sys sys 11 | cmd - sys sys 12 | vim - sys sys 13 | + - sys sys 14 | --------------------------------------------------------------------------------