diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-05-01 12:31:10 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-05-01 13:13:51 +0200 |
commit | 44ea50cee45d7c1fc464b77f45ef480916dba19a (patch) | |
tree | 6950db2c08dfd47a3283c9b9429e61d6472d91e6 /runtime/filetype.vim | |
parent | 4fbcfab1276dd9d827ccf58954e0dc5bdbd4cf53 (diff) | |
download | rneovim-44ea50cee45d7c1fc464b77f45ef480916dba19a.tar.gz rneovim-44ea50cee45d7c1fc464b77f45ef480916dba19a.tar.bz2 rneovim-44ea50cee45d7c1fc464b77f45ef480916dba19a.zip |
vim-patch:68563937f58e
Updated runtime files.
https://github.com/vim/vim/commit/68563937f58ea2dc31b58739336c383d2fd7e6cf
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 3e502ca362..039e7b3d05 100644 --- 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") @@ -305,7 +305,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() |