mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-12 21:43:49 -05:00
27 lines
653 B
VimL
27 lines
653 B
VimL
let files = filter(globpath(&rtp, 'syntax/bsdl.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
|
|
if len(files) > 0
|
|
exec 'source ' . files[0]
|
|
finish
|
|
endif
|
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'bsdl') == -1
|
|
|
|
" Vim syntax file
|
|
" Language: Boundary Scan Description Language (BSDL)
|
|
" Maintainer: Daniel Kho <daniel.kho@logik.haus>
|
|
" Last Changed: 2020 Mar 19 by Daniel Kho
|
|
|
|
" quit when a syntax file was already loaded
|
|
if exists("b:current_syntax")
|
|
finish
|
|
endif
|
|
|
|
" Read in VHDL syntax files
|
|
runtime! syntax/vhdl.vim
|
|
unlet b:current_syntax
|
|
|
|
let b:current_syntax = "bsdl"
|
|
|
|
" vim: ts=8
|
|
|
|
endif
|