robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

zeertzjqvim-patch:62d8f3d: runtime: Revert several "mark invalid contact addresses" commits (#37192)ab20681c52

master
793 B39 linesraw
1" Vim syntax file
2" Language:	SMITH
3" Maintainer:	Rafal M. Sulejman <rms@poczta.onet.pl>
4" Last Change:	21.07.2000
5
6" quit when a syntax file was already loaded
7if exists("b:current_syntax")
8  finish
9endif
10
11syn case ignore
12
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 match
26
27" Define the default highlighting.
28" Only when an item doesn't have highlighting yet
29
30hi def link smithRegister	Identifier
31hi def link smithKeyword	Keyword
32hi def link smithComment Comment
33hi def link smithString String
34hi def link smithNumber	Number
35
36
37let b:current_syntax = "smith"
38
39" vim: ts=2