mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 03:23:51 -05:00
24 lines
539 B
VimL
24 lines
539 B
VimL
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"
|