To: vim_dev@googlegroups.com Subject: Patch 9.0.1191 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1191 Problem: Some Bazel files are not recognized. Solution: Add an extra Bazel pattern. (Keith Smily, closes #11807) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1190/runtime/filetype.vim 2023-01-11 21:24:23.407844367 +0000 --- runtime/filetype.vim 2023-01-13 15:33:04.439549074 +0000 *************** *** 264,270 **** au BufNewFile,BufRead *.bsd,*.bsdl setf bsdl " Bazel (http://bazel.io) ! autocmd BufRead,BufNewFile *.bzl,*.bazel,WORKSPACE setf bzl if has("fname_case") " There is another check for BUILD further below. autocmd BufRead,BufNewFile *.BUILD,BUILD setf bzl --- 264,270 ---- au BufNewFile,BufRead *.bsd,*.bsdl setf bsdl " Bazel (http://bazel.io) ! autocmd BufRead,BufNewFile *.bzl,*.bazel,WORKSPACE,WORKSPACE.bzlmod setf bzl if has("fname_case") " There is another check for BUILD further below. autocmd BufRead,BufNewFile *.BUILD,BUILD setf bzl *** ../vim-9.0.1190/src/testdir/test_filetype.vim 2023-01-11 21:24:23.407844367 +0000 --- src/testdir/test_filetype.vim 2023-01-13 15:33:04.439549074 +0000 *************** *** 89,95 **** \ 'blueprint': ['file.blp'], \ 'bsdl': ['file.bsd', 'file.bsdl'], \ 'bst': ['file.bst'], ! \ 'bzl': ['file.bazel', 'file.bzl', 'WORKSPACE'], \ 'bzr': ['bzr_log.any', 'bzr_log.file'], \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c', 'some-enlightenment/file.cfg'], \ 'cabal': ['file.cabal'], --- 89,95 ---- \ 'blueprint': ['file.blp'], \ 'bsdl': ['file.bsd', 'file.bsdl'], \ 'bst': ['file.bst'], ! \ 'bzl': ['file.bazel', 'file.bzl', 'WORKSPACE', 'WORKSPACE.bzlmod'], \ 'bzr': ['bzr_log.any', 'bzr_log.file'], \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c', 'some-enlightenment/file.cfg'], \ 'cabal': ['file.cabal'], *** ../vim-9.0.1190/src/version.c 2023-01-13 15:28:07.667489184 +0000 --- src/version.c 2023-01-13 15:34:32.251566104 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1191, /**/ -- A)bort, R)etry, D)o it right this time /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///