⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mel.vim

📁 MSYS在windows下模拟了一个类unix的终端
💻 VIM
字号:
" Vim syntax file" Language:	MEL (Maya Extension Language)" Maintainer:	Robert Minsk <egbert@centropolisfx.com>" Last Change:	May 27 1999" Based on:	Bram Moolenaar <Bram@vim.org> C syntax file" For version 5.x: Clear all syntax items" For version 6.x: Quit when a syntax file was already loadedif version < 600  syntax clearelseif exists("b:current_syntax")  finishendif" when wanted, highlight trailing white space and spaces before tabsif exists("mel_space_errors")  sy match	melSpaceError	"\s\+$"  sy match	melSpaceError	" \+\t"me=e-1endif" A bunch of usefull MEL keyworkssy keyword	melBoolean	true false yes no on offsy keyword	melFunction	procsy match	melIdentifier	"\$\(\a\|_\)\w*"sy keyword	melStatement	break continue returnsy keyword	melConditional	if else switchsy keyword	melRepeat	while for do insy keyword	melLabel	case defaultsy keyword	melOperator	size eval env exists whatIssy keyword	melKeyword	aliassy keyword	melException	catch error warningsy keyword	melInclude	sourcesy keyword	melType		int float string vector matrixsy keyword	melStorageClass	globalsy keyword	melDebug	tracesy keyword	melTodo		contained TODO FIXME XXX" MEL data typessy match	melCharSpecial	contained "\\[ntr\\"]"sy match	melCharError	contained "\\[^ntr\\"]"sy region	melString	start=+"+ skip=+\\"+ end=+"+ contains=melCharSpecial,melCharErrorsy case ignoresy match	melInteger	"\<\d\+\(e[-+]\=\d\+\)\=\>"sy match	melFloat	"\<\d\+\(e[-+]\=\d\+\)\=f\>"sy match	melFloat	"\<\d\+\.\d*\(e[-+]\=\d\+\)\=f\=\>"sy match	melFloat	"\.\d\+\(e[-+]\=\d\+\)\=f\=\>"sy case matchsy match	melCommaSemi	contained "[,;]"sy region	melMatrixVector	start=/<</ end=/>>/ contains=melInteger,melFloat,melIdentifier,melCommaSemisy cluster	melGroup	contains=melFunction,melStatement,melConditional,melLabel,melKeyword,melStorageClass,melTODO,melCharSpecial,melCharError,melCommaSemi" catch errors caused by wrong parenthesissy region	melParen	transparent start='(' end=')' contains=ALLBUT,@melGroup,melParenError,melInParensy match	melParenError	")"sy match	melInParen	contained "[{}]"" commentssy region	melComment	start="/\*" end="\*/" contains=melTodo,melSpaceErrorsy match	melComment	"//.*" contains=melTodo,melSpaceErrorsy match	melCommentError "\*/"sy region	melQuestionColon matchgroup=melConditional transparent start='?' end=':' contains=ALLBUT,@melGroupif !exists("mel_minlines")  let mel_minlines=15endifexec "sy sync ccomment melComment minlines=" . mel_minlines" Define the default highlighting." For version 5.7 and earlier: only when not done already" For version 5.8 and later: only when an item doesn't have highlighting yetif version >= 508 || !exists("did_mel_syntax_inits")  if version < 508    let did_mel_syntax_inits = 1    command -nargs=+ HiLink hi link <args>  else    command -nargs=+ HiLink hi def link <args>  endif  HiLink melBoolean	Boolean  HiLink melFunction	Function  HiLink melIdentifier	Identifier  HiLink melStatement	Statement  HiLink melConditional Conditional  HiLink melRepeat	Repeat  HiLink melLabel	Label  HiLink melOperator	Operator  HiLink melKeyword	Keyword  HiLink melException	Exception  HiLink melInclude	Include  HiLink melType	Type  HiLink melStorageClass StorageClass  HiLink melDebug	Debug  HiLink melTodo	Todo  HiLink melCharSpecial SpecialChar  HiLink melString	String  HiLink melInteger	Number  HiLink melFloat	Float  HiLink melMatrixVector Float  HiLink melComment	Comment  HiLink melError	Error  HiLink melSpaceError	melError  HiLink melCharError	melError  HiLink melParenError	melError  HiLink melInParen	melError  HiLink melCommentError melError  delcommand HiLinkendiflet b:current_syntax = "mel"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -