Updated runtime files. Remove version checks for Vim older than 6.0.
This commit is contained in:
@ -4,10 +4,8 @@
|
||||
" Last Change: Tue, 04 Sep 2001 16:20:33 CDT
|
||||
" $Id: ncf.vim,v 1.1 2004/06/13 16:31:58 vimboss Exp $
|
||||
|
||||
" Remove any old syntax stuff hanging around
|
||||
if version < 600
|
||||
syn clear
|
||||
elseif exists("b:current_syntax")
|
||||
" quit when a syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
@ -217,42 +215,35 @@ if exists("ncf_highlight_unknowns")
|
||||
syn match Error "[^ \t]*" contains=ALL
|
||||
endif
|
||||
|
||||
if version >= 508 || !exists("did_ncf_syntax_inits")
|
||||
if version < 508
|
||||
let did_ncf_syntax_inits = 1
|
||||
command -nargs=+ HiLink hi link <args>
|
||||
else
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
endif
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
|
||||
" The default methods for highlighting. Can be overridden later
|
||||
HiLink ncfCommands Statement
|
||||
HiLink ncfSetCommands ncfCommands
|
||||
HiLink ncfLogins ncfCommands
|
||||
HiLink ncfString String
|
||||
HiLink ncfContString ncfString
|
||||
HiLink ncfComment Comment
|
||||
HiLink ncfImplicit Type
|
||||
HiLink ncfBoolean Boolean
|
||||
HiLink ncfScript Identifier
|
||||
HiLink ncfNumber Number
|
||||
HiLink ncfIPAddr ncfNumber
|
||||
HiLink ncfHexNumber ncfNumber
|
||||
HiLink ncfTime ncfNumber
|
||||
HiLink ncfDSTTime ncfNumber
|
||||
HiLink ncfPath Constant
|
||||
HiLink ncfServerName Special
|
||||
HiLink ncfIPXNet ncfServerName
|
||||
HiLink ncfTimeTypes Constant
|
||||
HiLink ncfSetCommandsNum ncfSetCommands
|
||||
HiLink ncfSetCommandsBool ncfSetCommands
|
||||
HiLink ncfSetCommandsStr ncfSetCommands
|
||||
HiLink ncfSetCommandsTime ncfSetCommands
|
||||
HiLink ncfSetCommandsTimeDate ncfSetCommands
|
||||
HiLink ncfSetCommandsBindCon ncfSetCommands
|
||||
" The default methods for highlighting. Can be overridden later
|
||||
HiLink ncfCommands Statement
|
||||
HiLink ncfSetCommands ncfCommands
|
||||
HiLink ncfLogins ncfCommands
|
||||
HiLink ncfString String
|
||||
HiLink ncfContString ncfString
|
||||
HiLink ncfComment Comment
|
||||
HiLink ncfImplicit Type
|
||||
HiLink ncfBoolean Boolean
|
||||
HiLink ncfScript Identifier
|
||||
HiLink ncfNumber Number
|
||||
HiLink ncfIPAddr ncfNumber
|
||||
HiLink ncfHexNumber ncfNumber
|
||||
HiLink ncfTime ncfNumber
|
||||
HiLink ncfDSTTime ncfNumber
|
||||
HiLink ncfPath Constant
|
||||
HiLink ncfServerName Special
|
||||
HiLink ncfIPXNet ncfServerName
|
||||
HiLink ncfTimeTypes Constant
|
||||
HiLink ncfSetCommandsNum ncfSetCommands
|
||||
HiLink ncfSetCommandsBool ncfSetCommands
|
||||
HiLink ncfSetCommandsStr ncfSetCommands
|
||||
HiLink ncfSetCommandsTime ncfSetCommands
|
||||
HiLink ncfSetCommandsTimeDate ncfSetCommands
|
||||
HiLink ncfSetCommandsBindCon ncfSetCommands
|
||||
|
||||
delcommand HiLink
|
||||
delcommand HiLink
|
||||
|
||||
endif
|
||||
|
||||
let b:current_syntax = "ncf"
|
||||
|
||||
Reference in New Issue
Block a user