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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Boundary Scan Description Language (BSDL)
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Daniel Kho <daniel.kho@logik.haus>
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Changed: 2020 Mar 19 by Daniel Kho
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " quit when a syntax file was already loaded
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 if exists("b:current_syntax")
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 finish
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 endif
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 " Read in VHDL syntax files
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 runtime! syntax/vhdl.vim
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 unlet b:current_syntax
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 let b:current_syntax = "bsdl"
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 " vim: ts=8