view runtime/syntax/bzl.vim @ 11123:9bfc9d7b07a7 v8.0.0449

patch 8.0.0449: part of fold patch accidentally included commit https://github.com/vim/vim/commit/abb4d5f73fd97d8f3c3e32311959929820e74b54 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 12 18:32:32 2017 +0100 patch 8.0.0449: part of fold patch accidentally included Problem: Part of fold patch accidentally included. Solution: Revert that part of the patch.
author Christian Brabandt <cb@256bit.org>
date Sun, 12 Mar 2017 18:45:04 +0100
parents 30042ddff503
children
line wrap: on
line source

" 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