-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On August 26, 2014 9:56:17 PM GMT+03:00, Daniel Kho <[email protected]> 
wrote:
>Hi,
>I'm requesting to add *.bsd,*.bsdl as additional filetypes that use the
>VHDL syntax, since BSDL (boundary scan description language) is a
>subset of VHDL.
>
>" VHDL
>au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst,*.bsd,*.bsdl  setf
>vhdl
>
>What do you guys think? I think it's probably easier to have BSDL use
>VHDL's syntax file, rather than create a separate syntax file that is a
>subset of vhdl.vim.
>
>regards, daniel
>
>--
>--
>You received this message from the "vim_dev" maillist.
>Do not top-post! Type your reply below the text you are replying to.
>For more information, visit http://www.vim.org/maillist.php
>
>---
>You received this message because you are subscribed to the Google
>Groups "vim_dev" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to [email protected].
>For more options, visit https://groups.google.com/d/optout.

In such cases it is possible to set some b: variable prior to loading syntax 
that will make some lines guarded by the appropriate :if not executed. Or move 
vhdl.vim to bsdl.vim and create vhdl.vim that will source vhdl.vim and then add 
more syntax definitions that are vhdl-specific.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQI1BAEBCgAfBQJT/MuwGBxaeVggPHp5eC52aW1AZ21haWwuY29tPgAKCRCf3UKj
HhHSvi7cD/0YDOWx2Ozh92jge58zwUbdyJTcDWxF92FwFbdJl8MxBM9V6V2t/aka
ZWtZc1xlFvMl61qcFKKxevlPnLi25ddfqzzjvj84Ev25TjegmiZm9Xkd2saOgt5S
anSOhTb5VH/UBmVrL8NOAs1UiMXuTrzFDDP5vN2jTCUTQsqcsct2IEKkGLMzyX6E
RhX+ZCh5A4LSF7D0mjQZOpEl2u0PWfmchiZQHYjTQ9z5AmcEDp3qw9fYV9mi7E+Q
+rEtUMOk3GO26tTuKb7TQDKcc+m7zTTbQWFg7sIZEWA1GopIjh0xInkCRv2blgw/
kzzxLc3qQXkpQwxEndKjHsKSqoZaRt3BbrVSgVGQkaG+mLp97WZTEV35KKyi7rXo
8Yq3e3jTRGp73y/bX8X/yMPQ/uk+Ocjo+Quh687OyaAw1CsIjyulJ0NSCf8l7clb
pf04lHC43ULWzr6R7ItjnlS0GvZc9kXjA+MPotfqrZmh1CcHTIAAHQOc3MeShgCB
d+GASAya8LDma+KM8Q+WMGGAkWlarN3aELK/lb62YyyR5RVuS2qtrF3Nl7qwrQgP
wCfR43y6ONgjm7cWX9xoGFUocTjwUftVVwasPJ+j+4PjMTyElBJDWzhW04r4XG3N
WCrUucRD1DMYzTWbLtgy9U3dymyUnXhzQZsouz/WqTh8OPVu3XrVdA==
=6aPY
-----END PGP SIGNATURE-----

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui