diff runtime/filetype.vim @ 10548:74effdaa369e

Updated runtime files. commit https://github.com/vim/vim/commit/68563937f58ea2dc31b58739336c383d2fd7e6cf Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 10 13:31:15 2017 +0100 Updated runtime files.
author Christian Brabandt <cb@256bit.org>
date Tue, 10 Jan 2017 13:45:05 +0100
parents c78513465e6e
children 9a75c8a1b8b1
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1,7 +1,7 @@
 " Vim support file to detect file types
 "
 " Maintainer:	Bram Moolenaar <Bram@vim.org>
-" Last Change:	2016 Oct 31
+" Last Change:	2017 Jan 06
 
 " Listen very carefully, I will say this only once
 if exists("did_load_filetypes")
@@ -309,7 +309,10 @@ au BufNewFile,BufRead *.bl			setf blank
 au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old   setf xml
 
 " Bazel (http://bazel.io)
-autocmd BufRead,BufNewFile *.bzl,BUILD,WORKSPACE setfiletype bzl
+autocmd BufRead,BufNewFile *.bzl,WORKSPACE setfiletype bzl
+if has("fname_case")
+  autocmd BufRead,BufNewFile BUILD setfiletype bzl
+endif
 
 " C or lpc
 au BufNewFile,BufRead *.c			call s:FTlpc()