From b3d669b40bd4736d42c52430ec84d76c2f5151eb Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 17 Apr 2020 21:14:03 -0400 Subject: vim-patch:8.2.0589: .bsd file type not recognized Problem: .bsd file type not recognized. Solution: Recognize .bsd as BSDL. (Daniel Kho, closes vim/vim#5945) https://github.com/vim/vim/commit/0fc1288aefce25da0a2fb2a0aab75b0bd314403f --- runtime/filetype.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index dbdd90041c..5068f9be76 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -230,13 +230,13 @@ au BufNewFile,BufRead *.bl setf blank au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml " BSDL -au BufNewFile,BufRead *.bsdl setf bsdl +au BufNewFile,BufRead *bsd,*.bsdl setf bsdl " Bazel (http://bazel.io) autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel setf bzl if has("fname_case") " There is another check for BUILD further below. - autocmd BufRead,BufNewFile BUILD setf bzl + autocmd BufRead,BufNewFile BUILD setf bzl endif " C or lpc -- cgit