xref: /vim-8.2.3635/runtime/syntax/blank.vim (revision 89bcfda6)
1" Vim syntax file
2" Language:     Blank 1.4.1
3" Maintainer:   Rafal M. Sulejman <[email protected]>
4" Last change:  2011 Dec 28 by Thilo Six
5
6" quit when a syntax file was already loaded
7if exists("b:current_syntax")
8  finish
9endif
10
11let s:cpo_save = &cpo
12set cpo&vim
13
14syn case ignore
15
16" Blank instructions
17syn match blankInstruction "{[:;,\.+\-*$#@/\\`'"!\|><{}\[\]()?xspo\^&\~=_%]}"
18
19" Common strings
20syn match blankString "\~[^}]"
21
22" Numbers
23syn match blankNumber "\[[0-9]\+\]"
24
25syn case match
26
27" Define the default highlighting.
28" Only when an item doesn't have highlighting yet
29command -nargs=+ HiLink hi def link <args>
30
31HiLink blankInstruction      Statement
32HiLink blankNumber	       Number
33HiLink blankString	       String
34
35delcommand HiLink
36
37let b:current_syntax = "blank"
38
39let &cpo = s:cpo_save
40unlet s:cpo_save
41" vim: ts=8
42