xref: /vim-8.2.3635/runtime/syntax/master.vim (revision 89bcfda6)
1" Vim syntax file
2" Language:	Focus Master File
3" Maintainer:	Rob Brady <[email protected]>
4" Last Change:	$Date: 2004/06/13 15:54:03 $
5" URL: http://www.datatone.com/~robb/vim/syntax/master.vim
6" $Revision: 1.1 $
7
8" this is a very simple syntax file - I will be improving it
9" add entire DEFINE syntax
10
11" quit when a syntax file was already loaded
12if exists("b:current_syntax")
13  finish
14endif
15
16syn case match
17
18" A bunch of useful keywords
19syn keyword masterKeyword	FILENAME SUFFIX SEGNAME SEGTYPE PARENT FIELDNAME
20syn keyword masterKeyword	FIELD ALIAS USAGE INDEX MISSING ON
21syn keyword masterKeyword	FORMAT CRFILE CRKEY
22syn keyword masterDefine	DEFINE DECODE EDIT
23syn region  masterString	start=+"+  end=+"+
24syn region  masterString	start=+'+  end=+'+
25syn match   masterComment	"\$.*"
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 masterKeyword Keyword
32HiLink masterComment Comment
33HiLink masterString  String
34
35delcommand HiLink
36
37let b:current_syntax = "master"
38
39" vim: ts=8
40