Mercurial > vim
view runtime/syntax/bzl.vim @ 31551:67d9fbe516a3 v9.0.1108
patch 9.0.1108: type error when using "any" type and adding to float
Commit: https://github.com/vim/vim/commit/c6951a76a58663ef8a773d340f2260da7455643c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 29 20:56:24 2022 +0000
patch 9.0.1108: type error when using "any" type and adding to float
Problem: Type error when using "any" type and adding a number to a float.
Solution: Accept both a number and a float. (closes https://github.com/vim/vim/issues/11753)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 29 Dec 2022 22:00: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