annotate runtime/syntax/bsdl.vim @ 33525:09dac7f0916b v9.0.2011

patch 9.0.2011: INI files not detected Commit: https://github.com/vim/vim/commit/4a82bdfaa8022402b1ca0f0000c94c47a13f1014 Author: Martin Tournoij <martin@arp242.net> Date: Wed Oct 11 21:20:06 2023 +0200 patch 9.0.2011: INI files not detected Problem: INI files not detected Solution: detect uppercase .INI as dosini files It previo~1 only worked for lower-case .ini files, but upperc~1 .INI is also somewhat common on account of DOS' old 8.3 upperc~2 only filena~1. closes: #13316 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Martin Tournoij <martin@arp242.net>
author Christian Brabandt <cb@256bit.org>
date Wed, 11 Oct 2023 21:30:07 +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