view runtime/syntax/bzl.vim @ 20063:cc146cde0b4d v8.2.0587

patch 8.2.0587: compiler warning for unused variable Commit: https://github.com/vim/vim/commit/21cfe500f322a0bea3367c677943ea6c57c282b9 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 16 23:01:50 2020 +0200 patch 8.2.0587: compiler warning for unused variable Problem: Compiler warning for unused variable. Solution: Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Apr 2020 23:15:03 +0200
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