blob: 14440ee13d67e9561b8a72c994b45e0bfa55cf49 [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
29command -nargs=+ HiLink hi def link <args>
Bram Moolenaar071d4272004-06-13 20:20:40 +000030
Bram Moolenaar89bcfda2016-08-30 23:26:57 +020031HiLink masterKeyword Keyword
32HiLink masterComment Comment
33HiLink masterString String
Bram Moolenaar071d4272004-06-13 20:20:40 +000034
Bram Moolenaar89bcfda2016-08-30 23:26:57 +020035delcommand HiLink
Bram Moolenaar071d4272004-06-13 20:20:40 +000036
37let b:current_syntax = "master"
38
39" vim: ts=8