Mercurial > vim
diff runtime/filetype.vim @ 19717:de7c724bf803 v8.2.0415
patch 8.2.0415: bsdl filetype is not detected
Commit: https://github.com/vim/vim/commit/40d235e7305ce6ff696e8301c62a41f1f07f8aca
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 19 20:32:01 2020 +0100
patch 8.2.0415: bsdl filetype is not detected
Problem: Bsdl filetype is not detected.
Solution: Add an entry in the filetype list. (Daniel Kho, closes https://github.com/vim/vim/issues/5810)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Mar 2020 20:45:04 +0100 |
parents | 7be3663e2f2b |
children | bceeded72898 |
line wrap: on
line diff
--- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -233,6 +233,9 @@ au BufNewFile,BufRead *.bl setf blank " Blkid cache file au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml +" BSDL +au BufNewFile,BufRead *.bsdl setf bsdl + " Bazel (http://bazel.io) autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel setf bzl if has("fname_case") @@ -1773,7 +1776,7 @@ au BufNewFile,BufRead *.va,*.vams setf au BufNewFile,BufRead *.sv,*.svh setf systemverilog " VHDL -au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst setf vhdl +au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst,*.vho setf vhdl " Vim script au BufNewFile,BufRead *.vim,*.vba,.exrc,_exrc setf vim