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

📄 st.vim

📁 MSYS在windows下模拟了一个类unix的终端
💻 VIM
字号:
" Vim syntax file" Language:	Smalltalk" Maintainer:	Arndt Hesse <hesse@self.de>" Last Change:	2001 May 09" 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" some Smalltalk keywords and standard methodssyn keyword	stKeyword	super self class true false new notsyn keyword	stKeyword	notNil isNil inspect out nilsyn match	stMethod	"\<do\>:"syn match	stMethod	"\<whileTrue\>:"syn match	stMethod	"\<whileFalse\>:"syn match	stMethod	"\<ifTrue\>:"syn match	stMethod	"\<ifFalse\>:"syn match	stMethod	"\<put\>:"syn match	stMethod	"\<to\>:"syn match	stMethod	"\<at\>:"syn match	stMethod	"\<add\>:"syn match	stMethod	"\<new\>:"syn match	stMethod	"\<for\>:"syn match	stMethod	"\<methods\>:"syn match	stMethod	"\<methodsFor\>:"syn match	stMethod	"\<instanceVariableNames\>:"syn match	stMethod	"\<classVariableNames\>:"syn match	stMethod	"\<poolDictionaries\>:"syn match	stMethod	"\<subclass\>:"" the block of local variables of a methodsyn region stLocalVariables	start="^[ \t]*|" end="|"" the Smalltalk commentsyn region stComment	start="\"" end="\""" the Smalltalk strings and single characterssyn region stString	start='\'' skip="''" end='\''syn match  stCharacter	"$."syn case ignore" the symols prefixed by a '#'syn match  stSymbol	"\(#\<[a-z_][a-z0-9_]*\>\)"syn match  stSymbol	"\(#'[^']*'\)"" the variables in a statement block for loopssyn match  stBlockVariable "\(:[ \t]*\<[a-z_][a-z0-9_]*\>[ \t]*\)\+|" contained" some representations of numberssyn match  stNumber	"\<\d\+\(u\=l\=\|lu\|f\)\>"syn match  stFloat	"\<\d\+\.\d*\(e[-+]\=\d\+\)\=[fl]\=\>"syn match  stFloat	"\<\d\+e[-+]\=\d\+[fl]\=\>"syn case match" a try to higlight paren mismatchessyn region stParen	transparent start='(' end=')' contains=ALLBUT,stParenErrorsyn match  stParenError	")"syn region stBlock	transparent start='\[' end='\]' contains=ALLBUT,stBlockErrorsyn match  stBlockError	"\]"syn region stSet	transparent start='{' end='}' contains=ALLBUT,stSetErrorsyn match  stSetError	"}"hi link stParenError stErrorhi link stSetError stErrorhi link stBlockError stError" synchronization for syntax analysissyn sync minlines=50" 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_st_syntax_inits")  if version < 508    let did_st_syntax_inits = 1    command -nargs=+ HiLink hi link <args>  else    command -nargs=+ HiLink hi def link <args>  endif  HiLink stKeyword		Statement  HiLink stMethod		Statement  HiLink stComment		Comment  HiLink stCharacter		Constant  HiLink stString		Constant  HiLink stSymbol		Special  HiLink stNumber		Type  HiLink stFloat		Type  HiLink stError		Error  HiLink stLocalVariables	Identifier  HiLink stBlockVariable	Identifier  delcommand HiLinkendiflet b:current_syntax = "st"

⌨️ 快捷键说明

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