view runtime/syntax/bzl.vim @ 25467:6f627d12e81b v8.2.3270

patch 8.2.3270: prop_find() finds property with ID -2 Commit: https://github.com/vim/vim/commit/0d4d9ee9bb18f89d76c67f037baebe2c2db545f0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 1 19:28:15 2021 +0200 patch 8.2.3270: prop_find() finds property with ID -2 Problem: prop_find() finds property with ID -2. Solution: Use a separate flag to indicate an ID was specified. (issue https://github.com/vim/vim/issues/8674)
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Aug 2021 19:30: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