blob: f89c5b2f1c4ea88c7c519cc003627d1200409968 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim syntax file
2" Language: Focus Master File
3" Maintainer: Rob Brady <robb@datatone.com>
Bram Moolenaar5c736222010-01-06 20:54:52 +01004" Last Change: $Date: 2004/06/13 15:54:03 $
Bram Moolenaar071d4272004-06-13 20:20:40 +00005" URL: http://www.datatone.com/~robb/vim/syntax/master.vim
Bram Moolenaar5c736222010-01-06 20:54:52 +01006" $Revision: 1.1 $
Bram Moolenaar071d4272004-06-13 20:20:40 +00007
8" this is a very simple syntax file - I will be improving it
9" add entire DEFINE syntax
10
Bram Moolenaar89bcfda2016-08-30 23:26:57 +020011" quit when a syntax file was already loaded
12if exists("b:current_syntax")
Bram Moolenaar071d4272004-06-13 20:20:40 +000013 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.
Bram Moolenaar89bcfda2016-08-30 23:26:57 +020028" Only when an item doesn't have highlighting yet
Bram Moolenaar071d4272004-06-13 20:20:40 +000029
Bram Moolenaarf37506f2016-08-31 22:22:10 +020030hi def link masterKeyword Keyword
31hi def link masterComment Comment
32hi def link masterString String
Bram Moolenaar071d4272004-06-13 20:20:40 +000033
Bram Moolenaar071d4272004-06-13 20:20:40 +000034
35let b:current_syntax = "master"
36
37" vim: ts=8