annotate runtime/syntax/bsdl.vim @ 27392:ec2ba9acec1b
v8.2.4224
patch 8.2.4224: Vim9: no error when using a number for map() second argument
Commit: https://github.com/vim/vim/commit/1080c48ec8d672d7e9fbefb5a1255c9df09a2884
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 26 18:26:21 2022 +0000
patch 8.2.4224: Vim9: no error when using a number for map() second argument
Problem: Vim9: no error when using a number for map() second argument
Solution: Disallow number to string conversion. (closes https://github.com/vim/vim/issues/9630)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 26 Jan 2022 19:30:03 +0100 |
parents |
bceeded72898 |
children |
|
rev |
line source |
19721
|
1 " Vim syntax file
|
|
2 " Language: Boundary Scan Description Language (BSDL)
|
|
3 " Maintainer: Daniel Kho <daniel.kho@logik.haus>
|
|
4 " Last Changed: 2020 Mar 19 by Daniel Kho
|
|
5
|
|
6 " quit when a syntax file was already loaded
|
|
7 if exists("b:current_syntax")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " Read in VHDL syntax files
|
|
12 runtime! syntax/vhdl.vim
|
|
13 unlet b:current_syntax
|
|
14
|
|
15 let b:current_syntax = "bsdl"
|
|
16
|
|
17 " vim: ts=8
|