Mercurial > vim
comparison runtime/filetype.vim @ 31718:bcedaa2fcb7b v9.0.1191
patch 9.0.1191: some Bazel files are not recognized
Commit: https://github.com/vim/vim/commit/3213952966896ffb1d8fa186bcf8c43359fca0f0
Author: Keith Smiley <keithbsmiley@gmail.com>
Date: Fri Jan 13 15:35:17 2023 +0000
patch 9.0.1191: some Bazel files are not recognized
Problem: Some Bazel files are not recognized.
Solution: Add an extra Bazel pattern. (Keith Smily, closes https://github.com/vim/vim/issues/11807)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 13 Jan 2023 16:45:02 +0100 |
parents | 9c496513d57c |
children | 745772308c81 |
comparison
equal
deleted
inserted
replaced
31717:7d8eb76b1f59 | 31718:bcedaa2fcb7b |
---|---|
262 | 262 |
263 " BSDL | 263 " BSDL |
264 au BufNewFile,BufRead *.bsd,*.bsdl setf bsdl | 264 au BufNewFile,BufRead *.bsd,*.bsdl setf bsdl |
265 | 265 |
266 " Bazel (http://bazel.io) | 266 " Bazel (http://bazel.io) |
267 autocmd BufRead,BufNewFile *.bzl,*.bazel,WORKSPACE setf bzl | 267 autocmd BufRead,BufNewFile *.bzl,*.bazel,WORKSPACE,WORKSPACE.bzlmod setf bzl |
268 if has("fname_case") | 268 if has("fname_case") |
269 " There is another check for BUILD further below. | 269 " There is another check for BUILD further below. |
270 autocmd BufRead,BufNewFile *.BUILD,BUILD setf bzl | 270 autocmd BufRead,BufNewFile *.BUILD,BUILD setf bzl |
271 endif | 271 endif |
272 | 272 |