Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
smith.vim40 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	SMITH3" Maintainer:	Rafal M. Sulejman <rms@poczta.onet.pl>4" Last Change:	21.07.20005 6" quit when a syntax file was already loaded7if exists("b:current_syntax")8  finish9endif10 11syn case ignore12 13 14syn match smithComment ";.*$"15 16syn match smithNumber		"\<[+-]*[0-9]\d*\>"17 18syn match smithRegister		"R[\[]*[0-9]*[\]]*"19 20syn match smithKeyword	"COR\|MOV\|MUL\|NOT\|STOP\|SUB\|NOP\|BLA\|REP"21 22syn region smithString		start=+"+  skip=+\\\\\|\\"+  end=+"+23 24 25syn case match26 27" Define the default highlighting.28" Only when an item doesn't have highlighting yet29 30hi def link smithRegister	Identifier31hi def link smithKeyword	Keyword32hi def link smithComment Comment33hi def link smithString String34hi def link smithNumber	Number35 36 37let b:current_syntax = "smith"38 39" vim: ts=240 
codekingpro/portable-devtools · Team Ai