summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-17 19:23:06 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-17 19:23:06 +0200
commit0fc1288aefce25da0a2fb2a0aab75b0bd314403f (patch)
treea7e9096205da45a025b9d2cd712f055a798a9580 /runtime/filetype.vim
parent314ca7cbb4b5a26959abb641a5aa265bee47abe5 (diff)
patch 8.2.0589: .bsd file type not recognizedv8.2.0589
Problem: .bsd file type not recognized. Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 0898a185ba..be29691532 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -234,13 +234,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