Patch 8.0.0564 Problem: Cannot detect Bazel BUILD files on some systems. Solution: Check for BUILD after script checks. (Issue #1340) Files: runtime/filetype.vim
*** ../vim-8.0.0563/runtime/filetype.vim 2016-08-26 19:25:07.000000000 +0200 --- runtime/filetype.vim 2017-04-15 14:14:22.922164313 +0200 *************** *** 309,315 **** au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml " Bazel (http://bazel.io) ! autocmd BufRead,BufNewFile *.bzl,BUILD,WORKSPACE setfiletype bzl " C or lpc au BufNewFile,BufRead *.c call s:FTlpc() --- 310,320 ---- au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml " Bazel (http://bazel.io) ! autocmd BufRead,BufNewFile *.bzl,WORKSPACE setf bzl ! if has("fname_case") ! " There is another check for BUILD further below. ! autocmd BufRead,BufNewFile BUILD setf bzl ! endif " C or lpc au BufNewFile,BufRead *.c call s:FTlpc() *************** *** 2576,2581 **** --- 2603,2613 ---- " Bazaar version control au BufNewFile,BufRead bzr_log.* setf bzr + " Bazel build file + if !has("fname_case") + au BufNewFile,BufRead BUILD setf bzl + endif + " BIND zone au BufNewFile,BufRead */named/db.*,*/bind/db.* call s:StarSetf('bindzone') *** ../vim-8.0.0563/src/version.c 2017-04-11 22:44:00.297521127 +0200 --- src/version.c 2017-04-15 14:24:09.158467724 +0200 *************** *** 766,767 **** --- 766,769 ---- { /* Add new patch number below this line */ + /**/ + 564, /**/ -- Computers are not intelligent. They only think they are. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
