0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.0589: .bsd file type not recognized

Problem:    .bsd file type not recognized.
Solution:   Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
This commit is contained in:
Bram Moolenaar 2020-04-17 19:23:06 +02:00
parent 314ca7cbb4
commit 0fc1288aef
3 changed files with 5 additions and 3 deletions

View File

@ -234,13 +234,13 @@ au BufNewFile,BufRead *.bl setf blank
au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
" BSDL " BSDL
au BufNewFile,BufRead *.bsdl setf bsdl au BufNewFile,BufRead *bsd,*.bsdl setf bsdl
" Bazel (http://bazel.io) " Bazel (http://bazel.io)
autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel setf bzl autocmd BufRead,BufNewFile *.bzl,WORKSPACE,BUILD.bazel setf bzl
if has("fname_case") if has("fname_case")
" There is another check for BUILD further below. " There is another check for BUILD further below.
autocmd BufRead,BufNewFile BUILD setf bzl autocmd BufRead,BufNewFile BUILD setf bzl
endif endif
" C or lpc " C or lpc

View File

@ -79,7 +79,7 @@ let s:filename_checks = {
\ 'bib': ['file.bib'], \ 'bib': ['file.bib'],
\ 'bindzone': ['named.root'], \ 'bindzone': ['named.root'],
\ 'blank': ['file.bl'], \ 'blank': ['file.bl'],
\ 'bsdl': ['file.bsdl'], \ 'bsdl': ['file.bsd', 'file.bsdl'],
\ 'bst': ['file.bst'], \ 'bst': ['file.bst'],
\ 'bzr': ['bzr_log.any'], \ 'bzr': ['bzr_log.any'],
\ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c'], \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c'],

View File

@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
589,
/**/ /**/
588, 588,
/**/ /**/