summaryrefslogtreecommitdiffstats
path: root/syntax/brewfile.vim
blob: ad0fbf8dc4c280dbdbaddce63c1d281f1017b009 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if polyglot#init#is_disabled(expand('<sfile>:p'), 'brewfile', 'syntax/brewfile.vim')
  finish
endif

" Vim syntax file
" Language:    Brewfile
" Maintainer:  Baptiste Fontaine <b@ptistefontaine.fr>
" URL:         https://github.com/bfontaine/Brewfile.vim
" Last Change: 2015 Jun 18

if exists("b:current_syntax")
  finish
endif

" Load ruby syntax
source $VIMRUNTIME/syntax/ruby.vim
unlet b:current_syntax

syn keyword brewfileDirective brew cask tap mas cask_args

hi def link brewfileDirective Keyword

let b:current_syntax = "brewfile"