summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorKeith Smiley <keithbsmiley@gmail.com>2023-01-13 15:35:17 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-13 15:35:17 +0000
commit3213952966896ffb1d8fa186bcf8c43359fca0f0 (patch)
treeb3c78e7ad5d37a9576e281b23f2908563ed7a4f3 /runtime
parent60908c492237edcfe6cde995171240c9bace05b6 (diff)
patch 9.0.1191: some Bazel files are not recognizedv9.0.1191
Problem: Some Bazel files are not recognized. Solution: Add an extra Bazel pattern. (Keith Smily, closes #11807)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index d19906327e..dcd83b4e1a 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -264,7 +264,7 @@ au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
au BufNewFile,BufRead *.bsd,*.bsdl setf bsdl
" Bazel (http://bazel.io)
-autocmd BufRead,BufNewFile *.bzl,*.bazel,WORKSPACE setf bzl
+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