annotate runtime/syntax/bsdl.vim @ 24760:ca0f983f08cf
v8.2.2918
patch 8.2.2918: builtin function can be shadowed by global variable
Commit: https://github.com/vim/vim/commit/3d9c4eefe656ee8bf58c0496a48bd56bac180056
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 31 22:15:26 2021 +0200
patch 8.2.2918: builtin function can be shadowed by global variable
Problem: Builtin function can be shadowed by global variable.
Solution: Check for builtin function before variable. (Yasuhiro Matsumoto,
closes #8302)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 31 May 2021 22:30:02 +0200 |
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
|