Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
plaintex.vim38 linesDownload Raw Back to ftplugin
1" plain TeX filetype plugin2" Language:     plain TeX (ft=plaintex)3" Maintainer:   Benji Fisher, Ph.D. <benji@member.AMS.org>4" Version:	1.15" Last Change:	Wed 19 Apr 20066 7" Only do this when not done yet for this buffer.8if exists("b:did_ftplugin")9  finish10endif11 12" Start with initex.  This will also define b:did_ftplugin and b:undo_ftplugin .13source $VIMRUNTIME/ftplugin/initex.vim14 15" Avoid problems if running in 'compatible' mode.16let s:save_cpo = &cpo17set cpo&vim18 19let b:undo_ftplugin .= "| unlet! b:match_ignorecase b:match_skip b:match_words"20 21" Allow "[d" to be used to find a macro definition:22let &l:define .= '\|\\new\(count\|dimen\|skip\|muskip\|box\|toks\|read\|write'23	\ .	'\|fam\|insert\)'24 25" The following lines enable the macros/matchit.vim plugin for26" extended matching with the % key.27" There is no default meaning for \(...\) etc., but many users define one.28if exists("loaded_matchit")29  let b:match_ignorecase = 030    \ | let b:match_skip = 'r:\\\@<!\%(\\\\\)*%'31    \ | let b:match_words = '(:),\[:],{:},\\(:\\),\\\[:\\],\\{:\\}'32endif " exists("loaded_matchit")33 34let &cpo = s:save_cpo35unlet s:save_cpo36 37" vim:sts=2:sw=2:38 
codekingpro/portable-devtools · Team Ai