forked from aniani/vim
Update runtime files
This commit is contained in:
@@ -499,7 +499,7 @@ if s:settings.prevent_copy =~# 'n'
|
||||
endif
|
||||
elseif s:settings.line_ids
|
||||
" if lines are not being numbered the only reason this function gets called
|
||||
" is to put the line IDs on each line; "text" will be emtpy but lnr will
|
||||
" is to put the line IDs on each line; "text" will be empty but lnr will
|
||||
" always be non-zero, however we don't want to use the <input> because that
|
||||
" won't work as nice for empty text
|
||||
function! s:HtmlFormat_n(text, style_id, diff_style_id, lnr)
|
||||
@@ -1034,7 +1034,7 @@ if !s:settings.no_progress
|
||||
" ProgressBar Indicator
|
||||
let s:progressbar={}
|
||||
|
||||
" Progessbar specific functions
|
||||
" Progressbar specific functions
|
||||
|
||||
func! s:SetProgbarColor()
|
||||
if hlID("TOhtmlProgress") != 0
|
||||
|
||||
@@ -59,7 +59,7 @@ syn region abelSpecifier start='istype' end=';' contains=abelTypeIdChar,abelType
|
||||
syn match abelTypeIdChar "[,']" contained
|
||||
syn match abelTypeIdEnd ";" contained
|
||||
|
||||
" string contstants and special characters within them
|
||||
" string constants and special characters within them
|
||||
syn match abelSpecial contained "\\['\\]"
|
||||
syn region abelString start=+'+ skip=+\\"+ end=+'+ contains=abelSpecial
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ endif
|
||||
|
||||
" Section: end {{{1
|
||||
" Unless special ("end loop", "end if", etc.), "end" marks the end of a
|
||||
" begin, package, task etc. Assiging it to adaEnd.
|
||||
" begin, package, task etc. Assigning it to adaEnd.
|
||||
syntax match adaEnd /\<end\>/
|
||||
|
||||
syntax keyword adaPreproc pragma
|
||||
|
||||
@@ -38,7 +38,7 @@ syn keyword ahdlMegafunction lpm_rom lpm_dff lpm_tff clklock pll ntsc
|
||||
|
||||
syn keyword ahdlTodo contained TODO
|
||||
|
||||
" String contstants
|
||||
" String constants
|
||||
syn region ahdlString start=+"+ skip=+\\"+ end=+"+
|
||||
|
||||
" valid integer number formats (decimal, binary, octal, hex)
|
||||
|
||||
@@ -34,7 +34,7 @@ syn match AspVBSVariableComplex contained "\<\(arr\|ary\|obj\)\u\w*"
|
||||
|
||||
|
||||
" Functions and methods that are in VB but will cause errors in an ASP page
|
||||
" This is helpfull if your porting VB code to ASP
|
||||
" This is helpful if your porting VB code to ASP
|
||||
" I removed (Count, Item) because these are common variable names in AspVBScript
|
||||
syn keyword AspVBSError contained Val Str CVar CVDate DoEvents GoSub Return GoTo
|
||||
syn keyword AspVBSError contained Stop LinkExecute Add Type LinkPoke
|
||||
@@ -56,7 +56,7 @@ syn match AspVBSError contained "\<Option\s\+\(Base\|Compare\|Private\s\+Module\
|
||||
syn match AspVBSError contained "Respon\?ce\.\S*"
|
||||
syn match AspVBSError contained "Respose\.\S*"
|
||||
" When I looked up the VBScript syntax it mentioned that Property Get/Set/Let
|
||||
" statements are illegal, however, I have recived reports that they do work.
|
||||
" statements are illegal, however, I have received reports that they do work.
|
||||
" So I commented it out for now.
|
||||
" syn match AspVBSError contained "\<Property\s\+\(Get\|Let\|Set\)\>"
|
||||
|
||||
@@ -108,7 +108,7 @@ syn match AspVBSMethods contained "Response\.\w*"
|
||||
" Colorize boolean constants:
|
||||
syn keyword AspVBSMethods contained true false
|
||||
|
||||
" AspVBScript Number Contstants
|
||||
" AspVBScript Number Constants
|
||||
" Integer number, or floating point number without a dot.
|
||||
syn match AspVBSNumber contained "\<\d\+\>"
|
||||
" Floating point number, with dot
|
||||
@@ -116,7 +116,7 @@ syn match AspVBSNumber contained "\<\d\+\.\d*\>"
|
||||
" Floating point number, starting with a dot
|
||||
syn match AspVBSNumber contained "\.\d\+\>"
|
||||
|
||||
" String and Character Contstants
|
||||
" String and Character Constants
|
||||
" removed (skip=+\\\\\|\\"+) because VB doesn't have backslash escaping in
|
||||
" strings (or does it?)
|
||||
syn region AspVBSString contained start=+"+ end=+"+ keepend
|
||||
@@ -143,7 +143,7 @@ syn cluster AspVBScriptTop contains=AspVBSStatement,AspVBSFunction,AspVBSMethods
|
||||
syn region AspVBSFold start="^\s*\(class\)\s\+.*$" end="^\s*end\s\+\(class\)\>.*$" fold contained transparent keepend
|
||||
syn region AspVBSFold start="^\s*\(private\|public\)\=\(\s\+default\)\=\s\+\(sub\|function\)\s\+.*$" end="^\s*end\s\+\(function\|sub\)\>.*$" fold contained transparent keepend
|
||||
|
||||
" Define AspVBScript delimeters
|
||||
" Define AspVBScript delimiters
|
||||
" <%= func("string_with_%>_in_it") %> This is illegal in ASP syntax.
|
||||
syn region AspVBScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<%=\=+ end=+%>+ contains=@AspVBScriptTop, AspVBSFold
|
||||
syn region AspVBScriptInsideHtmlTags keepend matchgroup=Delimiter start=+<script\s\+language="\=vbscript"\=[^>]*\s\+runatserver[^>]*>+ end=+</script>+ contains=@AspVBScriptTop
|
||||
|
||||
@@ -32,7 +32,7 @@ syn match CfgComment "#.*"
|
||||
syn match CfgComment ";.*"
|
||||
syn match CfgComment "\/\/.*"
|
||||
|
||||
" Define the default hightlighting.
|
||||
" Define the default highlighting.
|
||||
" Only when an item doesn't have highlighting yet
|
||||
hi def link CfgOnOff Label
|
||||
hi def link CfgComment Comment
|
||||
|
||||
@@ -141,7 +141,7 @@ sy keyword cscBPMacro contained EndLoop AllMembers SelectedMembers If Else EndIf
|
||||
sy match cscBPMacro contained "!"
|
||||
sy match cscBPW "!\s*\a*" contains=cscBPmacro
|
||||
|
||||
" when wanted, highlighting lhs members or erros in asignments (may lag the editing)
|
||||
" when wanted, highlighting lhs members or errors in assignments (may lag the editing)
|
||||
if exists("csc_asignment")
|
||||
sy match cscEqError '\("[^"]*"\s*\|[^][\t !%()*+,--/:;<=>{}~]\+\s*\|->\s*\)*=\([^=]\@=\|$\)'
|
||||
sy region cscFormula transparent matchgroup=cscVarName start='\("[^"]*"\|[^][\t !%()*+,--/:;<=>{}~]\+\)\s*=\([^=]\@=\|\n\)' skip='"[^"]*"' end=';' contains=ALLBUT,cscFormula,cscFormulaIn,cscBPMacro,cscCondition
|
||||
|
||||
@@ -23,7 +23,7 @@ syn keyword cuplTodo contained TODO XXX FIXME
|
||||
" cuplHeaderContents uses default highlighting except for numbers
|
||||
syn match cuplHeaderContents ".\+;"me=e-1 contains=cuplNumber contained
|
||||
|
||||
" String contstants
|
||||
" String constants
|
||||
syn region cuplString start=+'+ end=+'+
|
||||
syn region cuplString start=+"+ end=+"+
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
" Vim syntax file
|
||||
" Language: MSDOS batch file (with NT command extensions)
|
||||
" Language: MS-DOS batch file (with NT command extensions)
|
||||
" Maintainer: Mike Williams <mrw@eandem.co.uk>
|
||||
" Filenames: *.bat
|
||||
" Last Change: 6th September 2009
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
" DoxyGen syntax hilighting extension for c/c++/idl/java
|
||||
" DoxyGen syntax highlighting extension for c/c++/idl/java
|
||||
" Language: doxygen on top of c, cpp, idl, java, php
|
||||
" Maintainer: Michael Geddes <vimmer@frog.wheelycreek.net>
|
||||
" Author: Michael Geddes
|
||||
@@ -54,7 +54,7 @@ let s:cpo_save = &cpo
|
||||
try
|
||||
set cpo&vim
|
||||
|
||||
" Start of Doxygen syntax hilighting:
|
||||
" Start of Doxygen syntax highlighting:
|
||||
"
|
||||
|
||||
" C/C++ Style line comments
|
||||
@@ -256,7 +256,7 @@ endif
|
||||
syn match doxygenLinkRest +[^*@\\]\|\*/\@!\|[@\\]\(endlink\>\)\@!+ contained skipnl nextgroup=doxygenLinkRest,doxygenContinueLinkComment
|
||||
syn match doxygenContinueLinkComment contained +^\s*\*\=[^/]+me=e-1 nextgroup=doxygenLinkRest
|
||||
syn match doxygenLinkError "\*/" contained
|
||||
" #Link hilighting.
|
||||
" #Link highlighting.
|
||||
syn match doxygenHashLink /\(\h\w*\)\?#\(\.\w\@=\|\w\+\|::\|()\)\+/ contained contains=doxygenHashSpecial
|
||||
syn match doxygenHashSpecial /#/ contained
|
||||
syn match doxygenHyperLink /\(\s\|^\s*\*\?\)\@<=\(http\|https\|ftp\):\/\/[-0-9a-zA-Z_?&=+#%/.!':;@~]\+/ contained
|
||||
@@ -306,7 +306,7 @@ endif
|
||||
syn region doxygenFormula contained matchgroup=doxygenFormulaEnds start=+f\[+ end=+[@\\]f]+ contains=doxygenFormulaSpecial,doxygenFormulaOperator,doxygenAtom
|
||||
syn region doxygenAtom contained transparent matchgroup=doxygenFormulaOperator start=+{+ end=+}+ contains=doxygenAtom,doxygenFormulaSpecial,doxygenFormulaOperator
|
||||
|
||||
" Add TODO hilighting.
|
||||
" Add TODO highlighting.
|
||||
syn keyword doxygenTODO contained TODO README XXX FIXME
|
||||
|
||||
" Supported HTML subset. Not perfect, but okay.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
" this is a very simple syntax file - I will be improving it
|
||||
" one thing is how to do computes
|
||||
" I don't like that &vars and FUSE() functions highlight to the same color
|
||||
" I think some of these things should get different hilights -
|
||||
" I think some of these things should get different highlights -
|
||||
" should MODIFY commands look different than TABLE?
|
||||
|
||||
" quit when a syntax file was already loaded
|
||||
|
||||
@@ -181,7 +181,7 @@ syn keyword forthMath DECIMAL HEX BASE
|
||||
syn match forthInteger '\<-\=[0-9]\+.\=\>'
|
||||
syn match forthInteger '\<&-\=[0-9]\+.\=\>'
|
||||
" recognize hex and binary numbers, the '$' and '%' notation is for gforth
|
||||
syn match forthInteger '\<\$\x*\x\+\>' " *1* --- dont't mess
|
||||
syn match forthInteger '\<\$\x*\x\+\>' " *1* --- don't mess
|
||||
syn match forthInteger '\<\x*\d\x*\>' " *2* --- this order!
|
||||
syn match forthInteger '\<%[0-1]*[0-1]\+\>'
|
||||
syn match forthFloat '\<-\=\d*[.]\=\d\+[DdEe]\d\+\>'
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
" It allows the use of multiple news- and mailserver and combines them to one
|
||||
" mail- and newsserver for the news/mail-client. It load faster than a normal
|
||||
" newsreader because many threads can run simultaneous. It contains scorefile
|
||||
" for news and mail, a build-in script language, the GUI allows translation to
|
||||
" for news and mail, a built-in script language, the GUI allows translation to
|
||||
" other languages, it can be used in a network and that's not all features...
|
||||
"
|
||||
" quit when a syntax file was already loaded
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
" This is an experiment. IDL's structure is simple enough to permit a full
|
||||
" grammar based approach to rather than using a few heuristics. The result
|
||||
" is large and somewhat repetative but seems to work.
|
||||
" is large and somewhat repetitive but seems to work.
|
||||
|
||||
" There are some Microsoft extensions to idl files that are here. Some of
|
||||
" them are disabled by defining idl_no_ms_extensions.
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
" Language: Inno Setup File (iss file) and My InnoSetup extension
|
||||
" Maintainer: Jason Mills (jmills@cs.mun.ca)
|
||||
" Previous Maintainer: Dominique Stéphan (dominique@mggen.com)
|
||||
" Last Change: 2019 Sep 27
|
||||
" Last Change: 2021 Aug 30
|
||||
"
|
||||
" Todo:
|
||||
" - The paramter String: is matched as flag string (because of case ignore).
|
||||
" - The parameter String: is matched as flag string (because of case ignore).
|
||||
" - Pascal scripting syntax is not recognized.
|
||||
" - Embedded double quotes confuse string matches. e.g. "asfd""asfa"
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"
|
||||
" let filetype_m="mma"
|
||||
"
|
||||
" I also recommend setting the default 'Comment' hilighting to something
|
||||
" I also recommend setting the default 'Comment' highlighting to something
|
||||
" other than the color used for 'Function', since both are plentiful in
|
||||
" most mathematica files, and they are often the same color (when using
|
||||
" background=dark).
|
||||
@@ -109,7 +109,7 @@ syntax match mmaemPHAsis "\%(^\|\s\)(\@<!\*[a-zA-Z0-9]\+\%([- \t':]\+[a-zA-Z0-9]
|
||||
syntax region mmaComment start=+(\*+ end=+\*)+ skipempty contains=@mmaNotes,mmaItem,@mmaCommentStrings,mmaemPHAsis,mmaComment
|
||||
|
||||
" Function Comments:
|
||||
" just like a normal comment except the first sentance is Special ala Java
|
||||
" just like a normal comment except the first sentence is Special ala Java
|
||||
" (** *)
|
||||
" TODO - fix this for nesting, or not...
|
||||
syntax region mmaFunctionComment start="(\*\*\+" end="\*\+)" contains=@mmaNotes,mmaItem,mmaFunctionTitle,@mmaCommentStrings,mmaemPHAsis,mmaComment
|
||||
|
||||
@@ -64,7 +64,7 @@ syn keyword objcStorageClass nullable nonnull null_unspecified
|
||||
" ObjC type specifier
|
||||
syn keyword objcTypeSpecifier __kindof __covariant
|
||||
|
||||
" ObjC Type Infomation Parameters
|
||||
" ObjC Type Information Parameters
|
||||
syn keyword objcTypeInfoParams ObjectType KeyType
|
||||
|
||||
" shorthand
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
" URL: http://www.eandem.co.uk/mrw/vim
|
||||
"
|
||||
" Options Flags:
|
||||
" postscr_level - language level to use for highligting (1, 2, or 3)
|
||||
" postscr_level - language level to use for highlighting (1, 2, or 3)
|
||||
" postscr_display - include display PS operators
|
||||
" postscr_ghostscript - include GS extensions
|
||||
" postscr_fonts - highlight standard font names (a lot for PS 3)
|
||||
@@ -469,12 +469,12 @@ if postscr_level == 2 || postscr_level == 3
|
||||
syn keyword postscrConstant contained SubsVector UnderlineThickness FamilyName FontBBox CurMID
|
||||
syn keyword postscrConstant contained Weight
|
||||
|
||||
" PS2 User paramters
|
||||
" PS2 User parameters
|
||||
syn keyword postscrConstant contained MaxFontItem MinFontCompress MaxUPathItem MaxFormItem MaxPatternItem
|
||||
syn keyword postscrConstant contained MaxScreenItem MaxOpStack MaxDictStack MaxExecStack MaxLocalVM
|
||||
syn keyword postscrConstant contained VMReclaim VMThreshold
|
||||
|
||||
" PS2 System paramters
|
||||
" PS2 System parameters
|
||||
syn keyword postscrConstant contained SystemParamsPassword StartJobPassword BuildTime ByteOrder RealFormat
|
||||
syn keyword postscrConstant contained MaxFontCache CurFontCache MaxOutlineCache CurOutlineCache
|
||||
syn keyword postscrConstant contained MaxUPathCache CurUPathCache MaxFormCache CurFormCache
|
||||
@@ -496,15 +496,15 @@ if postscr_level == 2 || postscr_level == 3
|
||||
" Page duplexing operators
|
||||
syn keyword postscrL2Operator duplexmode firstside newsheet setduplexmode settumble tumble
|
||||
|
||||
" Device compatability operators
|
||||
" Device compatibility operators
|
||||
syn keyword postscrL2Operator devdismount devformat devmount devstatus
|
||||
syn keyword postscrL2Repeat devforall
|
||||
|
||||
" Imagesetter compatability operators
|
||||
" Imagesetter compatibility operators
|
||||
syn keyword postscrL2Operator accuratescreens checkscreen pagemargin pageparams setaccuratescreens setpage
|
||||
syn keyword postscrL2Operator setpagemargin setpageparams
|
||||
|
||||
" Misc compatability operators
|
||||
" Misc compatibility operators
|
||||
syn keyword postscrL2Operator appletalktype buildtime byteorder checkpassword defaulttimeouts diskonline
|
||||
syn keyword postscrL2Operator diskstatus manualfeed manualfeedtimeout margins mirrorprint pagecount
|
||||
syn keyword postscrL2Operator pagestackorder printername processcolors sethardwareiomode setjobtimeout
|
||||
|
||||
@@ -174,7 +174,7 @@ syn match sgmlAbbrEndTag +/+
|
||||
" SGML specific
|
||||
" abbreviated regions
|
||||
"
|
||||
" No highlighing, highlighing is done by contained elements.
|
||||
" No highlighting, highlighting is done by contained elements.
|
||||
"
|
||||
" PROVIDES: @sgmlRegionHook
|
||||
"
|
||||
@@ -192,7 +192,7 @@ syn match sgmlAbbrRegion
|
||||
" real (non-empty) elements. We cannot do syntax folding
|
||||
" as in xml, because end tags may be optional in sgml depending
|
||||
" on the dtd.
|
||||
" No highlighing, highlighing is done by contained elements.
|
||||
" No highlighting, highlighting is done by contained elements.
|
||||
"
|
||||
" PROVIDES: @sgmlRegionHook
|
||||
"
|
||||
@@ -225,7 +225,7 @@ syn region sgmlRegion
|
||||
"
|
||||
" <tag id="lola"/>
|
||||
"
|
||||
" TODO use sgmlEmptyTag intead of sgmlTag
|
||||
" TODO use sgmlEmptyTag instead of sgmlTag
|
||||
syn match sgmlEmptyRegion
|
||||
\ +<[^ /!?>"']\(\_[^"'<>]\|"\_[^"]*"\|'\_[^']*'\)*/>+
|
||||
\ contains=sgmlEmptyTag
|
||||
|
||||
@@ -25,7 +25,7 @@ endif
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
" don't hightlight several keywords like subsections
|
||||
" don't highlight several keywords like subsections
|
||||
"let strict_subsections = 1
|
||||
|
||||
" highlight types usually found in DECLARE section
|
||||
@@ -35,7 +35,7 @@ endif
|
||||
|
||||
" one line comment syntax (# comments)
|
||||
" 1. allow appended code after comment, do not complain
|
||||
" 2. show code beginnig with the second # as an error
|
||||
" 2. show code beginning with the second # as an error
|
||||
" 3. show whole lines with more than one # as an error
|
||||
if !exists("oneline_comments")
|
||||
let oneline_comments = 2
|
||||
@@ -177,7 +177,7 @@ syn cluster spupOrdinary contains=spupNumber,spupIdentifier,spupSymbol
|
||||
syn cluster spupOrdinary add=spupError,spupString,spupComment
|
||||
syn cluster spupTextproc contains=spupTextprocGeneric,spupTextprocError
|
||||
|
||||
" define syncronizing; especially OPERATION sections can become very large
|
||||
" define synchronizing; especially OPERATION sections can become very large
|
||||
syn sync clear
|
||||
syn sync minlines=100
|
||||
syn sync maxlines=500
|
||||
|
||||
@@ -44,7 +44,7 @@ syn match stCharacter "$."
|
||||
|
||||
syn case ignore
|
||||
|
||||
" the symols prefixed by a '#'
|
||||
" the symbols prefixed by a '#'
|
||||
syn match stSymbol "\(#\<[a-z_][a-z0-9_]*\>\)"
|
||||
syn match stSymbol "\(#'[^']*'\)"
|
||||
|
||||
@@ -58,7 +58,7 @@ syn match stFloat "\<\d\+e[-+]\=\d\+[fl]\=\>"
|
||||
|
||||
syn case match
|
||||
|
||||
" a try to higlight paren mismatches
|
||||
" a try to highlight paren mismatches
|
||||
syn region stParen transparent start='(' end=')' contains=ALLBUT,stParenError
|
||||
syn match stParenError ")"
|
||||
syn region stBlock transparent start='\[' end='\]' contains=ALLBUT,stBlockError
|
||||
|
||||
@@ -168,7 +168,7 @@ syn region tcltkCommand matchgroup=tcltkCommandColor start="\<format\>" matchgro
|
||||
|
||||
" PACK
|
||||
" commands associated with pack
|
||||
syn keyword tcltkPackSwitch contained forget info propogate slaves
|
||||
syn keyword tcltkPackSwitch contained forget info propagate slaves
|
||||
syn keyword tcltkPackConfSwitch contained after anchor before expand fill in ipadx ipady padx pady side
|
||||
syn region tcltkCommand matchgroup=tcltkCommandColor start="\<pack\>" matchgroup=NONE skip="^\s*$" end="]\|[^\\]*\s*$"he=e-1 contains=tclLineContinue,tcltkPackSwitch,tcltkPackConf,tcltkPackConfSwitch,tclNumber,tclVarRef,tclString,tcltkCommand keepend
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Explicitly change compatiblity options to Vim's defaults because this file
|
||||
" Explicitly change compatibility options to Vim's defaults because this file
|
||||
" uses line continuations.
|
||||
let s:original_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
Reference in New Issue
Block a user