mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-12 13:33:49 -05:00
Add brewfile support, closes #469
This commit is contained in:
23
syntax/brewfile.vim
Normal file
23
syntax/brewfile.vim
Normal file
@@ -0,0 +1,23 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'brewfile') == -1
|
||||
|
||||
" 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"
|
||||
|
||||
endif
|
||||
Reference in New Issue
Block a user