view runtime/syntax/bzl.vim @ 18201:2ec4ed3f5e12 v8.1.2095

patch 8.1.2095: leaking memory when getting item from dict Commit: https://github.com/vim/vim/commit/a893194d91a2942d4d54085d746ed137a9251b69 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 28 17:25:10 2019 +0200 patch 8.1.2095: leaking memory when getting item from dict Problem: Leaking memory when getting item from dict. Solution: Also free the key when not evaluating.
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Sep 2019 17: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