summaryrefslogtreecommitdiff
path: root/runtime/syntax/bzl.vim
blob: b0ee9454ffbbf0fe61a4666019c134c6b44ca2fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" Vim syntax file
" Language:	Bazel (http://bazel.io)
" Maintainer:	David Barnett (https://github.com/google/vim-ft-bzl)
" Last Change:	2015 Aug 11

if exists('b:current_syntax')
  finish
endif


runtime! syntax/python.vim

let b:current_syntax = 'bzl'

syn region bzlRule start='^\w\+($' end='^)\n*' transparent fold
syn region bzlList start='\[' end='\]' transparent fold