Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
kscript.vim58 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	kscript3" Maintainer:	Thomas Capricelli <orzel@yalbi.com>4" URL:		http://aquila.rezel.enst.fr/thomas/vim/kscript.vim5" CVS:		$Id: kscript.vim,v 1.1 2004/06/13 17:40:02 vimboss Exp $6 7" quit when a syntax file was already loaded8if exists("b:current_syntax")9  finish10endif11 12syn keyword	kscriptPreCondit	import from13 14syn keyword	kscriptHardCoded	print println connect length arg mid upper lower isEmpty toInt toFloat findApplication15syn keyword	kscriptConditional	if else switch16syn keyword	kscriptRepeat		while for do foreach17syn keyword	kscriptExceptions	emit catch raise try signal18syn keyword	kscriptFunction		class struct enum19syn keyword	kscriptConst		FALSE TRUE false true20syn keyword	kscriptStatement	return delete21syn keyword	kscriptLabel		case default22syn keyword	kscriptStorageClass	const23syn keyword	kscriptType		in out inout var24 25syn keyword	kscriptTodo		contained TODO FIXME XXX26 27syn region	kscriptComment		start="/\*" end="\*/" contains=kscriptTodo28syn match	kscriptComment		"//.*" contains=kscriptTodo29syn match	kscriptComment		"#.*$" contains=kscriptTodo30 31syn region	kscriptString		start=+'+  end=+'+ skip=+\\\\\|\\'+32syn region	kscriptString		start=+"+  end=+"+ skip=+\\\\\|\\"+33syn region	kscriptString		start=+"""+  end=+"""+34syn region	kscriptString		start=+'''+  end=+'''+35 36" Define the default highlighting.37" Only when an item doesn't have highlighting yet38 39hi def link kscriptConditional		Conditional40hi def link kscriptRepeat			Repeat41hi def link kscriptExceptions		Statement42hi def link kscriptFunction		Function43hi def link kscriptConst			Constant44hi def link kscriptStatement		Statement45hi def link kscriptLabel			Label46hi def link kscriptStorageClass		StorageClass47hi def link kscriptType			Type48hi def link kscriptTodo			Todo49hi def link kscriptComment		Comment50hi def link kscriptString			String51hi def link kscriptPreCondit		PreCondit52hi def link kscriptHardCoded		Statement53 54 55let b:current_syntax = "kscript"56 57" vim: ts=858 
codekingpro/portable-devtools · Team Ai