Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
squirrel.vim52 linesDownload Raw Back to syntax
1" Vim syntax file2" Language: squirrel3" Current Maintainer: Matt Dunford (zenmatic@gmail.com)4" URL: https://github.com/zenmatic/vim-syntax-squirrel5" Last Change:	2023 Dec 086 7" http://squirrel-lang.org/8 9" quit when a syntax file was already loaded10if exists("b:current_syntax")11  finish12endif13 14" inform C syntax that the file was included from cpp.vim15let b:filetype_in_cpp_family = 116 17" Read the C syntax to start with18runtime! syntax/c.vim19unlet b:current_syntax20unlet b:filetype_in_cpp_family21 22" squirrel extensions23syn keyword squirrelStatement	delete this in yield resume base clone24syn keyword squirrelAccess	local25syn keyword cConstant           null26syn keyword squirrelModifier	static27syn keyword squirrelType	bool instanceof typeof28syn keyword squirrelExceptions	throw try catch29syn keyword squirrelStructure	class function extends constructor30syn keyword squirrelBoolean	true false31syn keyword squirrelRepeat	foreach32 33syn region squirrelMultiString start='@"' end='"$' end='";$'me=e-134 35syn match squirrelShComment "^\s*#.*$"36 37" Default highlighting38hi def link squirrelAccess		squirrelStatement39hi def link squirrelExceptions		Exception40hi def link squirrelStatement		Statement41hi def link squirrelModifier		Type42hi def link squirrelType		Type43hi def link squirrelStructure		Structure44hi def link squirrelBoolean		Boolean45hi def link squirrelMultiString		String46hi def link squirrelRepeat		cRepeat47hi def link squirrelShComment		Comment48 49let b:current_syntax = "squirrel"50 51" vim: ts=852 
codekingpro/portable-devtools · Team Ai